Cargando…

The role of grammar in transition-probabilities of subsequent words in English text

Sentence formation is a highly structured, history-dependent, and sample-space reducing (SSR) process. While the first word in a sentence can be chosen from the entire vocabulary, typically, the freedom of choosing subsequent words gets more and more constrained by grammar and context, as the senten...

Descripción completa

Detalles Bibliográficos
Autores principales: Hanel, Rudolf, Thurner, Stefan
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7544142/
https://www.ncbi.nlm.nih.gov/pubmed/33031378
http://dx.doi.org/10.1371/journal.pone.0240018
_version_ 1783591799570300928
author Hanel, Rudolf
Thurner, Stefan
author_facet Hanel, Rudolf
Thurner, Stefan
author_sort Hanel, Rudolf
collection PubMed
description Sentence formation is a highly structured, history-dependent, and sample-space reducing (SSR) process. While the first word in a sentence can be chosen from the entire vocabulary, typically, the freedom of choosing subsequent words gets more and more constrained by grammar and context, as the sentence progresses. This sample-space reducing property offers a natural explanation of Zipf’s law in word frequencies, however, it fails to capture the structure of the word-to-word transition probability matrices of English text. Here we adopt the view that grammatical constraints (such as subject–predicate–object) locally re-order the word order in sentences that are sampled by the word generation process. We demonstrate that superimposing grammatical structure–as a local word re-ordering (permutation) process–on a sample-space reducing word generation process is sufficient to explain both, word frequencies and word-to-word transition probabilities. We compare the performance of the grammatically ordered SSR model in reproducing several test statistics of real texts with other text generation models, such as the Bernoulli model, the Simon model, and the random typewriting model.
format Online
Article
Text
id pubmed-7544142
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-75441422020-10-19 The role of grammar in transition-probabilities of subsequent words in English text Hanel, Rudolf Thurner, Stefan PLoS One Research Article Sentence formation is a highly structured, history-dependent, and sample-space reducing (SSR) process. While the first word in a sentence can be chosen from the entire vocabulary, typically, the freedom of choosing subsequent words gets more and more constrained by grammar and context, as the sentence progresses. This sample-space reducing property offers a natural explanation of Zipf’s law in word frequencies, however, it fails to capture the structure of the word-to-word transition probability matrices of English text. Here we adopt the view that grammatical constraints (such as subject–predicate–object) locally re-order the word order in sentences that are sampled by the word generation process. We demonstrate that superimposing grammatical structure–as a local word re-ordering (permutation) process–on a sample-space reducing word generation process is sufficient to explain both, word frequencies and word-to-word transition probabilities. We compare the performance of the grammatically ordered SSR model in reproducing several test statistics of real texts with other text generation models, such as the Bernoulli model, the Simon model, and the random typewriting model. Public Library of Science 2020-10-08 /pmc/articles/PMC7544142/ /pubmed/33031378 http://dx.doi.org/10.1371/journal.pone.0240018 Text en © 2020 Hanel, Thurner http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Hanel, Rudolf
Thurner, Stefan
The role of grammar in transition-probabilities of subsequent words in English text
title The role of grammar in transition-probabilities of subsequent words in English text
title_full The role of grammar in transition-probabilities of subsequent words in English text
title_fullStr The role of grammar in transition-probabilities of subsequent words in English text
title_full_unstemmed The role of grammar in transition-probabilities of subsequent words in English text
title_short The role of grammar in transition-probabilities of subsequent words in English text
title_sort role of grammar in transition-probabilities of subsequent words in english text
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7544142/
https://www.ncbi.nlm.nih.gov/pubmed/33031378
http://dx.doi.org/10.1371/journal.pone.0240018
work_keys_str_mv AT hanelrudolf theroleofgrammarintransitionprobabilitiesofsubsequentwordsinenglishtext
AT thurnerstefan theroleofgrammarintransitionprobabilitiesofsubsequentwordsinenglishtext
AT hanelrudolf roleofgrammarintransitionprobabilitiesofsubsequentwordsinenglishtext
AT thurnerstefan roleofgrammarintransitionprobabilitiesofsubsequentwordsinenglishtext