Text Mining con R - Don Quijote de la Mancha

  Рет қаралды 9,300

Data Scientist Journal

Data Scientist Journal

Күн бұрын

Bienvenidos al diario del data scientist
Vamos a realizar un análisis de la novela Don Quijote de la Mancha escrita por el español Miguel de Cervantes Saavedra utilizando técnicas de minería de textos con el sofware R.
Enlace Github:
github.com/ces...
Nuestra página de Linkedin: / data-scientist-journal
Nuestra página en Facebook: / data-scientists-journa...
Twitter: / dsjournal_

Пікірлер: 13
@GustavoDelaCruzTovar
@GustavoDelaCruzTovar 3 ай бұрын
--- # Minería de Texto con R - Análisis de Don Quijote **Intervalo de Tiempo**: 00:00:00 - 00:21:36 ## Resumen - 📖 **Introducción al Análisis de Texto**: Descripción del uso de herramientas de minería de texto en R para analizar literatura clásica, centrándose en *Don Quijote*. - 🧹 **Preparación de Datos**: Limpieza del texto de *Don Quijote* para su análisis, incluyendo la eliminación de elementos innecesarios como encabezados, pies de página y caracteres no esenciales. - 🔍 **Tokenización y Eliminación de Palabras Vacías**: Segmentación del texto en oraciones, frases y palabras, filtrando las palabras comunes. - 📊 **Frecuencia de Palabras y Patrones**: Uso de frecuencias de palabras para identificar temas prominentes y menciones de personajes (como "Don Quijote", "Sancho"). - 🌐 **Análisis de Bigramas para Contexto**: Agrupación de palabras en pares (bigramas) para entender relaciones y temas comunes en el texto. ## Perspectivas Basadas en Números - **452 vs. 524**: División entre las dos partes del texto de *Don Quijote*, crucial para organizar los datos de análisis. - **7,874 vs. 17,500**: Cuentas iniciales de palabras reducidas a palabras significativas y únicas después de eliminar duplicados. - **Conteo de Palabras Principales**: Las palabras más frecuentes incluyen "Don", "Sancho", "Quijote", mostrando el enfoque en el personaje principal y su compañero. ## Ejemplos de Preguntas Exploratorias 1. ¿Cómo maneja el análisis el extenso y repetitivo texto de *Don Quijote*? (*Escribe **E1** para preguntar*) 2. ¿Qué patrones emergen en las relaciones entre personajes a través del análisis de bigramas? (*Escribe **E2** para preguntar*) 3. ¿Cómo mejora la representación visual, como las nubes de palabras, la comprensión de los patrones del texto? (*Escribe **E3** para preguntar*) ## Comandos - [A] Escribir un artículo educativo - [D] Crear diagrama de conclusión - [T] Evaluar mi conocimiento del video a través de un cuestionario de opción múltiple - [I] Indicar marcas de tiempo
@florenciavasini974
@florenciavasini974 8 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 *📚 Introduction to text analysis of Don Quixote by Miguel de Cervantes* - Introduces the analysis of the book "Don Quixote de la Mancha" using data analytics and software - Mentions that the book has been downloaded in PDF format and will need cleaning 01:09 *📥 Loading the book text data* - Loads the required libraries for reading PDFs, text analysis, and graphics - Loads the two parts of the book's text using pdf_tools package 03:25 *🧹 Cleaning the text corpus* - Removes tabs, separators, and combines the two parts into a single text corpus - Considers the period as the minimum analysis structure, representing the end of a sentence 04:50 *🔍 Preparing the text for analysis* - Rectifies the text by replacing specific patterns with blanks - Generates a vector of sentences, splitting the text at periods 06:47 *🧺 Additional text cleaning* - Removes titles, page numbers, and other metadata from the text - Applies stop words removal to clean the corpus further 08:41 *🗂 Creating a data frame for analysis* - Assigns an id to each sentence in the data frame for analysis - Keeps only distinct rows (sentences) to avoid duplicates 10:24 *💻 Tokenizing words* - Tokenizes the sentences into individual words - Removes stop words and filters out blank rows 11:36 *🔢 Word frequency analysis* - Counts the frequency of each word in the text - Identifies common words like "don", "quijote", "sancho" 12:18 *📝 Updating the stop words lexicon* - Adds words like "capítulo" and whitespace to the stop words lexicon - Applies the updated lexicon to further clean the text 13:51 *📊 Word cloud visualization* - Creates a word cloud visualization of the most frequent words - Highlights words like "don", "quijote", "sancho", "panza" 16:22 *🔍 Bigram analysis* - Introduces bigram analysis to understand word contexts and relationships - Tokenizes the text into bigrams (pairs of words) 18:39 *📈 Visualizing bigram frequencies* - Counts the frequencies of bigrams in the text - Visualizes the most frequent bigrams as a network graph 20:25 *🌐 Interpreting the bigram network* - Explains how the network graph represents word relationships and contexts - Highlights key characters, themes, and plot points identified through bigram analysis Made with HARPA AI
@davidsolano6967
@davidsolano6967 3 жыл бұрын
Facil y sencillo explicando... Excelente amigo!
@kiddoquit
@kiddoquit 3 жыл бұрын
Muy útil y comprensible. Un gran trabajo!
@eduardomartinezmendoza3658
@eduardomartinezmendoza3658 3 жыл бұрын
Gracias por tu aporte, excelente
@millerguev
@millerguev 3 жыл бұрын
Gracias por el tutorial, aprendí mucho
@CristinaRestrepoArango
@CristinaRestrepoArango 2 жыл бұрын
Me aparece este error: Error in graph_from_data_frame(.) : could not find function "graph_from_data_frame"
@hiddencix
@hiddencix 3 жыл бұрын
holaaaaa, saben como puedo extraer el parrafo entero donde este la "palabra" que estoy busando?
@leoferreras1017
@leoferreras1017 4 жыл бұрын
Para hacerlo con otro libro solo tenemos que cambiar el nombre???? O tenemos que utilizar otros códigos
@rubenurbizagastegui36
@rubenurbizagastegui36 3 жыл бұрын
Mi estimado, el ultimo comando para producir la red de palabras produce el siguiente error: Error: Problem with `filter()` input `..1`. x comparison (5) is possible only for atomic and list types i Input `..1` is `n >= 3`. Run `rlang::last_error()` to see where the error occurred. Podrias hacerme el favor de indicarme como corregir ese error? Muchisimas gracias si pudieras.
@elenamorandini7020
@elenamorandini7020 3 жыл бұрын
Hola, estoy intentando replicar el ejemplo con un texto mío en italiano, pero al llegar a la tokenización R me da el siguiente error y no entiendo donde me he equivocado: > unnest_tokens(word, sentence, drop = FALSE) #tokenise Error in UseMethod("pull") : no applicable method for 'pull' applied to an object of class "function" ¿Alguien me puede ayudar? Gracias
@eltito1453
@eltito1453 2 жыл бұрын
encontraste solucion? me pasa lo mismo pero en ingles
Taller de Text Mining con R (un ejemplo práctico con Twitter) - Machine Learning
1:39:20
How to perform text analytics in R on Multiple PDF Documents
14:11
Data Centric Inc.
Рет қаралды 15 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
How to use GPT for text analysis in R
14:58
Social Identity and Morality Lab
Рет қаралды 4,7 М.
All Machine Learning Models Clearly Explained!
22:23
AI For Beginners
Рет қаралды 25 М.
Generando Mapas con el paquete leaflet en R
22:21
Data Scientist Journal
Рет қаралды 1,9 М.
Sentiment analysis with tidytext (R case study, 2021)
42:33
John Little
Рет қаралды 14 М.
Análisis de Componentes Principales (PCA) en R y Rstudio [Chupito de R] pca
21:38
Análisis de datos de Twitter usando R
48:57
Data Latam
Рет қаралды 6 М.
Introducción a RStudio
59:03
A2 Capacitación: Excel
Рет қаралды 173 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН