n-Gram-based language prediction
Abstract
Techniques are described for predicting the language of a text excerpt. The language prediction is accomplished by comparing n-grams of the text excerpt with n-grams of different language references. A probability is calculated for each n-gram of the text excerpt with respect to each of the language references. The calculated probabilities corresponding to a single language are then averaged to yield an overall probability corresponding to that language, and the resulting overall probabilities are compared to find the most likely language of the sample text.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: under control of a device comprising one or more processors configured with executable instructions, receiving at a graphical user interface of the device, user selection of a sample electronic text; identifying multiple sample n-grams of the sample electronic text; for a first language: identifying a first set of n-grams that occur in a first language reference corresponding to the first language; calculating a first set of Bayesian probabilities, including calculating a first Bayesian probability based at least in part on a frequency of occurrence,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- Ahmed, et al., "Language Identification from Text Using N-gram Based Cumulative Frequency Addition", Proceedings of Student/Faculty Research Day, CSIS, Pace Univeristy, May 7, 2004, pp. 12.1-12.8.
- Cavnar, et al., "N-Gram-Based Text Categorization", Proceedings of SDAIR-94, 3rd Annual symposium on Document Analysis and Information Retrieval, 1994, 14 pages.
- Grothe, et al., "A Comparative Study on Language Identification Methods", Proceedings of Language Resources and Evaluation Conference 2008, pp. 908-985.
- Manning, et al., "Introduction to Information Retrieval", Cambridge University Press, Jul. 7, 2008, 569 pages.
- Nather, "N-gram based Text Categorization", Diploma thesis, Comenius Univeristy, Bratislava , Slovakia, 2005, 38 pages.