Abstract
ABSTRACT In linguistics and natural language processing, measuring text features is crucial for representing and revealing the properties of texts in terms of topics, genres, sentiment and more. Current methods predominantly rely on the frequency of linguistic units and rarely consider the syntagmatic properties of these units, which can reflect deeper linguistic characteristics (e.g. syntax and pragmatics). This paper proposes a general method for calculating the sequence complexity of text. By combining the features of word length and word frequency, two specific implementations of this method are provided. Using these two formulas, word sequence complexity of text based on the Brown Corpus and the Gutenberg Corpus is calculated. The results show that word sequence complexity of text indicates a characteristic of gradual stabilization. By comparing random texts with natural texts, it is found that word sequence complexity is influenced by syntactic rules rather than sentence order, and natural texts tend to alternate between words of varying lengths and frequencies. Classification experiment results indicate that the proposed word sequence complexity outperforms commonly used quantitative indicators for representing the genre of text, such as TTR, information entropy, Zipf’s law parameters and motifs.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.