Python, performance, and natural language processing
Дрозд Александр Валентинович, Anna Gladkova, Satoshi Matsuoka · 2015
We present a case study of Python-based workflow for a data-intensive natural language processing problem, namely word classification with vector space model methodology. Problems in the area of natural language processing are typically solved in many steps which require transformation of the data to vastly different formats (in our case, raw text to sparse matrices to dense vectors). A Python implementation for each of these steps would require a different solution. We survey existing approaches to using Python for high-performance processing of large volumes of data, and we propose a sample solution for each step for our case study (aspectual classification of Russian verbs), attempting to preserve both efficiency and user-friendliness. For the most computationally intensive part of the workflow we develop a prototype distributed implementation of co-occurrence extraction module using IPython.parallel cluster.
Cited by 7 works. doi:10.1145/2835857.2835858
Authors
References
- Distributed Representations of Words and Phrases and their Compositionality
- The Art of Computer Programming: Volume 3: Sorting and Searching
- Compilers: Principles, Techniques, and Tools
- A solution to Plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge.
- Word association norms, mutual information, and lexicography
- Introduction to algorithms
- Distributional Structure
- From Frequency to Meaning: Vector Space Models of Semantics
- Natural language processing with Python
- An Introduction to Kernel and Nearest-Neighbor Nonparametric Regression