Enriching feature engineering for short text samples by language time series analysis
Open Access
- 31 August 2020
- journal article
- research article
- Published by Springer Nature in EPJ Data Science
- Vol. 9 (1) , 1-59
Abstract
In this case study, we are extending feature engineering approaches for short text samples by integrating techniques which have been introduced in the context of time series classification and signal processing. The general idea of the presented feature engineering approach is to tokenize the text samples under consideration and map each token to a number, which measures a specific property of the token. Consequently, each text sample becomes a language time series, which is generated from consecutively emitted tokens, and time is represented by the position of the respective token within the text sample. The resulting language time series can be characterised by collections of established time series feature extraction algorithms from time series analysis and signal processing. This approach maps each text sample (irrespective of its original length) to 3970 stylometric features, which can be analysed with standard statistical learning methodologies. The proposed feature engineering technique for short text data is applied to two different corpora: the Federalist Papers data set and the Spooky Books data set. We demonstrate that the extracted language time series features can be successfully combined with standard machine learning approaches for natural language processing and have the potential to improve the classification performance. Furthermore, the suggested feature engineering approach can be used for visualizing differences and commonalities of stylometric features. The presented framework models the systematic feature engineering based on approaches from time series classification and develops a statistical testing methodology for multi-classification problems.Keywords
This publication has 63 references indexed in Scilit:
- Mining electronic health records: towards better research applications and clinical careNature Reviews Genetics, 2012
- A comparative study of machine learning methods for authorship attributionLiterary and Linguistic Computing, 2010
- Wilcoxon-Mann-Whitney or t-test? On assumptions for hypothesis tests and multiple interpretations of decision rulesStatistics Surveys, 2010
- A survey of modern authorship attribution methodsJournal of the American Society for Information Science and Technology, 2008
- From fingerprint to writeprintCommunications of the ACM, 2006
- Discriminating the Registers and Styles in the Modern Greek Language-Part 2: Extending the Feature Vector to Optimize Author DiscriminationLiterary and Linguistic Computing, 2004
- Automatic Text Categorization in Terms of Genre and AuthorComputational Linguistics, 2000
- Functional Data AnalysisJournal of Educational and Behavioral Statistics, 1999
- Neural Computation in Stylometry I: An Application to the Works of Shakespeare and FletcherLiterary and Linguistic Computing, 1993
- On a Test of Whether one of Two Random Variables is Stochastically Larger than the OtherThe Annals of Mathematical Statistics, 1947