SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Distribución por longitud
    de las palabras de
   diferentes idiomas



               C. Quesada-Granja




Introducción
Muchos fenómenos se pueden
     caracterizar mediante
distribuciones de probabilidad
La distribución de las palabras
    según su número de letras
¿sigue algún modelo estadístico?
Es decir…
Si tomamos un texto y
       contamos…
• las palabras de 1 letra,
• las palabras de 2 letras,
• las palabras de 3 letras,
• las palabras de 4 letras,
• las palabras de 5 letras,
• las palabras de 6 letras,
… y representamos el resultado
      en un histograma…
                         300



                         250
    Número de palabras




                         200



                         150



                         100



                          50



                           0
                               0   5      10     15       20   25


                                       Número de letras
… ¿se parecerá a alguna
distribución de probabilidad
          conocida?



Materiales y
 métodos
Selección de los textos

 Carácter enciclopédico

 Para una docena de
lenguas con alfabeto latino
 Un fichero por cada lengua
Contenido de los ficheros

 2.500 palabras

 Fragmentos de artículos
destacados de Wikipedia
 10 ó 12 artículos con temáticas
diferentes, extraídos al azar
Análisis de los ficheros

 Programa en Matlab

 Procesa los ficheros

 Representa resultados
mediante histogramas
function datos = leer(namefile)
texto = textread(namefile, '%s');
numpal = size(texto);

vectL = zeros(1,numpal(1));
for i = 1:numpal
    vectL(i) = length(char(texto(i)));
end

hist(vectL, 1:max(vectL))




Resultados
 La distribución de las palabras
no es igual para todas las lenguas

 Similitudes cuando se agrupan
por familias lingüísticas
Lenguas romances
700                                                                                                                        700


                     600                                                        ESPAÑOL                                                         600                             FRANCÉS
                                                                                μ = 4,9380                                                                                      μ = 4,8667
Número de palabras




                                                                                                                           Número de palabras
                     500                                                                                                                        500


                     400                                                        σ = 3,0571                                                      400                             σ = 3,0697
                     300                                                                                                                        300


                     200                                                                                                                        200


                     100                                                                                                                        100


                       0                                                                                                                          0
                           0       2           4           6       8       10         12         14         16        18                              0   2   4   6    8   10     12   14   16   18
                                                           Número de letras                                                                                       Número de letras
                     600                                                                                                                        600



                     500                                                        CATALÁN                                                         500


                                                                                μ = 4,7331
                                                                                                                           Número de palabras
Número de palabras




                     400                                                                                                                        400

                                                                                σ = 3,0985
                     300                                                                                                                        300



                     200                                                                                                                        200



                     100                                                                                                                        100



                       0                                                                                                                          0
                               1       2   3       4   5       6   7   8    9    10    11   12        13   14    15                                   0           5               10             15
                                                       Número de letras                                                                                           Número de letras
Lenguas germánicas
   occidentales
600                                                                                      600



                     500                                        INGLÉS                                        500                          NEERLANDÉS
                                                              μ = 4,8773                                                                    μ = 5,2007
Número de palabras




                                                                                         Número de palabras
                     400                                                                                      400

                                                              σ = 2,6171                                                                    σ = 3,0556
                     300                                                                                      300



                     200                                                                                      200



                     100                                                                                      100



                       0                                                                                        0
                           0   2       4    6   8        10     12   14        16   18                              0       5         10        15          20        25
                                           Número de letras                                                                         Número de letras
                     700                                                                                      600


                     600                                       ALEMÁN                                         500


                                                              μ = 6,0968
                                                                                         Número de palabras
Número de palabras




                     500
                                                                                                              400

                     400                                      σ = 3,6668
                                                                                                              300
                     300

                                                                                                              200
                     200


                                                                                                              100
                     100


                       0                                                                                        0
                           0       5       10       15          20        25        30                              0   2   4   6      8   10   12     14   16   18   20
                                           Número de letras                                                                         Número de letras
Lenguas eslavas
  occidentales
350                                                                               350


                     300                                 POLACO                                        300                               CHECO
                                                        μ = 5,6452                                                                     μ = 5,3604
Número de palabras




                                                                                  Número de palabras
                     250                                                                               250


                     200                                σ = 3,3431                                     200                             σ = 2,9859
                     150                                                                               150


                     100                                                                               100


                      50                                                                                50


                       0                                                                                 0
                           0       5          10        15         20        25                              0   2   4   6    8   10     12   14   16   18
                                           Número de letras                                                              Número de letras
                     350                                                                               300


                     300                                ESLOVACO                                       250


                                                        μ = 5,6638
                                                                                  Número de palabras
Número de palabras




                     250
                                                                                                       200

                     200                                σ = 3,2797
                                                                                                       150
                     150

                                                                                                       100
                     100


                                                                                                        50
                      50


                       0                                                                                 0
                           0   2   4   6       8   10   12    14   16   18   20                              0   2   4   6    8   10     12   14   16   18
                                           Número de letras                                                              Número de letras
Lenguas de otras
    familias
350                                                                               350


                     300                                EUSKERA                                        300                                     FINÉS
                                                        μ = 6,5018                                                                           μ = 7,8866
Número de palabras




                                                                                  Número de palabras
                     250                                                                               250


                     200                                σ = 2,8321                                     200                                   σ = 3,8362
                     150                                                                               150


                     100                                                                               100


                      50                                                                                50


                       0                                                                                 0
                           0   2   4   6       8   10    12   14   16   18   20                              0       5        10        15        20        25        30
                                           Número de letras                                                                   Número de letras
                     300                                                                               400



                     250                                HÚNGARO                                        350
                                                                                                                                             ISLANDÉS
                                                        μ = 6,2615                                                                           μ = 5,2470
                                                                                  Número de palabras
                                                                                                       300
Número de palabras




                     200

                                                        σ = 3,6546                                     250
                                                                                                                                             σ = 3,1405
                     150                                                                               200


                                                                                                       150
                     100

                                                                                                       100

                      50
                                                                                                        50


                       0                                                                                 0
                           0       5          10         15        20        25                              0   5       10        15        20        25        30   35
                                           Número de letras                                                                   Número de letras




Conclusiones
 No se puede establecer un
modelo estadístico común a
todas las lenguas
 Las lenguas de las mismas
familias lingüísticas presentan
características similares
Posibles aplicaciones

 Diseño de algoritmos para la
detección automática de lenguas
 Estudios de eficiencia
Longitudes medias
                                                                   (*)
                                  FINÉS                  7,89        
                                  EUSKERA                6,50        
                                  HÚNGARO                6,26        
                                  ALEMÁN                 6,10     5,92
                                  ESLOVACO               5,66        
                                  POLACO                 5,65        
                                  CHECO                  5,36        
                                  ISLANDÉS               5,25        
                                  NEERLANDÉS             5,20        
                                  ESPAÑOL                4,94     4,96
                                  INGLÉS                 4,88     4,50
                                  FRANCÉS                4,87     4,84
                                  CATALÁN                4,73        

(*) Fletcher Pratt, Secret and Urgent: the Story of Codes and Ciphers, Blue Ribbon Books, 1939, pp. 256-257.
C. Quesada-Granja
quesadagranja@gmail.com




          CC-BY: Gaetan Lee


          CC-BY: tj scenes

Mais conteúdo relacionado

Último

Revista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfRevista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfapunteshistoriamarmo
 
Biografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfBiografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfGruberACaraballo
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...jlorentemartos
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptAlberto Rubio
 
activ4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfactiv4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfRosabel UA
 
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAJAVIER SOLIS NOYOLA
 
prostitución en España: una mirada integral!
prostitución en España: una mirada integral!prostitución en España: una mirada integral!
prostitución en España: una mirada integral!CatalinaAlfaroChryso
 
Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024IES Vicent Andres Estelles
 
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...JoseMartinMalpartida1
 
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCTRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCCarlosEduardoSosa2
 
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...Procedimientos para la planificación en los Centros Educativos tipo V ( multi...
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...Katherine Concepcion Gonzalez
 
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN PARÍS. Por JAVIER SOL...
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN  PARÍS. Por JAVIER SOL...ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN  PARÍS. Por JAVIER SOL...
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN PARÍS. Por JAVIER SOL...JAVIER SOLIS NOYOLA
 
Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024IES Vicent Andres Estelles
 
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESOPrueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESOluismii249
 
Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024IES Vicent Andres Estelles
 

Último (20)

Revista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfRevista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdf
 
Los dos testigos. Testifican de la Verdad
Los dos testigos. Testifican de la VerdadLos dos testigos. Testifican de la Verdad
Los dos testigos. Testifican de la Verdad
 
Biografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfBiografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdf
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
 
Usos y desusos de la inteligencia artificial en revistas científicas
Usos y desusos de la inteligencia artificial en revistas científicasUsos y desusos de la inteligencia artificial en revistas científicas
Usos y desusos de la inteligencia artificial en revistas científicas
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
 
PP_Comunicacion en Salud: Objetivación de signos y síntomas
PP_Comunicacion en Salud: Objetivación de signos y síntomasPP_Comunicacion en Salud: Objetivación de signos y síntomas
PP_Comunicacion en Salud: Objetivación de signos y síntomas
 
activ4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfactiv4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdf
 
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
 
prostitución en España: una mirada integral!
prostitución en España: una mirada integral!prostitución en España: una mirada integral!
prostitución en España: una mirada integral!
 
Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024
 
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...
1ro Programación Anual D.P.C.C planificación anual del área para el desarroll...
 
Novena de Pentecostés con textos de san Juan Eudes
Novena de Pentecostés con textos de san Juan EudesNovena de Pentecostés con textos de san Juan Eudes
Novena de Pentecostés con textos de san Juan Eudes
 
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCTRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
 
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...Procedimientos para la planificación en los Centros Educativos tipo V ( multi...
Procedimientos para la planificación en los Centros Educativos tipo V ( multi...
 
Sesión de clase APC: Los dos testigos.pdf
Sesión de clase APC: Los dos testigos.pdfSesión de clase APC: Los dos testigos.pdf
Sesión de clase APC: Los dos testigos.pdf
 
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN PARÍS. Por JAVIER SOL...
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN  PARÍS. Por JAVIER SOL...ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN  PARÍS. Por JAVIER SOL...
ACERTIJO LA RUTA DEL MARATÓN OLÍMPICO DEL NÚMERO PI EN PARÍS. Por JAVIER SOL...
 
Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024
 
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESOPrueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 4ºESO
 
Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024
 

Destaque

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Destaque (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Distribución por longitud de las palabras de diferentes idiomas

  • 1. Distribución por longitud de las palabras de diferentes idiomas C. Quesada-Granja
  • 3. Muchos fenómenos se pueden caracterizar mediante distribuciones de probabilidad
  • 4. La distribución de las palabras según su número de letras ¿sigue algún modelo estadístico?
  • 6. Si tomamos un texto y contamos… • las palabras de 1 letra, • las palabras de 2 letras, • las palabras de 3 letras, • las palabras de 4 letras, • las palabras de 5 letras, • las palabras de 6 letras,
  • 7. … y representamos el resultado en un histograma… 300 250 Número de palabras 200 150 100 50 0 0 5 10 15 20 25 Número de letras
  • 8. … ¿se parecerá a alguna distribución de probabilidad conocida?
  • 10. Selección de los textos  Carácter enciclopédico  Para una docena de lenguas con alfabeto latino  Un fichero por cada lengua
  • 11. Contenido de los ficheros  2.500 palabras  Fragmentos de artículos destacados de Wikipedia  10 ó 12 artículos con temáticas diferentes, extraídos al azar
  • 12. Análisis de los ficheros  Programa en Matlab  Procesa los ficheros  Representa resultados mediante histogramas
  • 13. function datos = leer(namefile) texto = textread(namefile, '%s'); numpal = size(texto); vectL = zeros(1,numpal(1)); for i = 1:numpal vectL(i) = length(char(texto(i))); end hist(vectL, 1:max(vectL))
  • 15.  La distribución de las palabras no es igual para todas las lenguas  Similitudes cuando se agrupan por familias lingüísticas
  • 17. 700 700 600 ESPAÑOL 600 FRANCÉS μ = 4,9380 μ = 4,8667 Número de palabras Número de palabras 500 500 400 σ = 3,0571 400 σ = 3,0697 300 300 200 200 100 100 0 0 0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 16 18 Número de letras Número de letras 600 600 500 CATALÁN 500 μ = 4,7331 Número de palabras Número de palabras 400 400 σ = 3,0985 300 300 200 200 100 100 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 5 10 15 Número de letras Número de letras
  • 18. Lenguas germánicas occidentales
  • 19. 600 600 500 INGLÉS 500 NEERLANDÉS μ = 4,8773 μ = 5,2007 Número de palabras Número de palabras 400 400 σ = 2,6171 σ = 3,0556 300 300 200 200 100 100 0 0 0 2 4 6 8 10 12 14 16 18 0 5 10 15 20 25 Número de letras Número de letras 700 600 600 ALEMÁN 500 μ = 6,0968 Número de palabras Número de palabras 500 400 400 σ = 3,6668 300 300 200 200 100 100 0 0 0 5 10 15 20 25 30 0 2 4 6 8 10 12 14 16 18 20 Número de letras Número de letras
  • 20. Lenguas eslavas occidentales
  • 21. 350 350 300 POLACO 300 CHECO μ = 5,6452 μ = 5,3604 Número de palabras Número de palabras 250 250 200 σ = 3,3431 200 σ = 2,9859 150 150 100 100 50 50 0 0 0 5 10 15 20 25 0 2 4 6 8 10 12 14 16 18 Número de letras Número de letras 350 300 300 ESLOVACO 250 μ = 5,6638 Número de palabras Número de palabras 250 200 200 σ = 3,2797 150 150 100 100 50 50 0 0 0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 Número de letras Número de letras
  • 22. Lenguas de otras familias
  • 23. 350 350 300 EUSKERA 300 FINÉS μ = 6,5018 μ = 7,8866 Número de palabras Número de palabras 250 250 200 σ = 2,8321 200 σ = 3,8362 150 150 100 100 50 50 0 0 0 2 4 6 8 10 12 14 16 18 20 0 5 10 15 20 25 30 Número de letras Número de letras 300 400 250 HÚNGARO 350 ISLANDÉS μ = 6,2615 μ = 5,2470 Número de palabras 300 Número de palabras 200 σ = 3,6546 250 σ = 3,1405 150 200 150 100 100 50 50 0 0 0 5 10 15 20 25 0 5 10 15 20 25 30 35 Número de letras Número de letras
  • 25.  No se puede establecer un modelo estadístico común a todas las lenguas  Las lenguas de las mismas familias lingüísticas presentan características similares
  • 26. Posibles aplicaciones  Diseño de algoritmos para la detección automática de lenguas  Estudios de eficiencia
  • 27. Longitudes medias (*) FINÉS 7,89   EUSKERA 6,50   HÚNGARO 6,26   ALEMÁN 6,10 5,92 ESLOVACO 5,66   POLACO 5,65   CHECO 5,36   ISLANDÉS 5,25   NEERLANDÉS 5,20   ESPAÑOL 4,94 4,96 INGLÉS 4,88 4,50 FRANCÉS 4,87 4,84 CATALÁN 4,73   (*) Fletcher Pratt, Secret and Urgent: the Story of Codes and Ciphers, Blue Ribbon Books, 1939, pp. 256-257.
  • 28. C. Quesada-Granja quesadagranja@gmail.com CC-BY: Gaetan Lee CC-BY: tj scenes