|
A bigram or digram is every sequence of two adjacent elements in a string of tokens, which are typically letters, syllables, or words; they are ''n''-grams for ''n''=2. The frequency distribution of bigrams in a string are commonly used for simple statistical analysis of text in many applications, including in computational linguistics, cryptography, speech recognition, and so on. ''Gappy bigrams'' or ''skipping bigrams'' are word pairs which allow gaps (perhaps avoiding connecting words, or allowing some simulation of dependencies, as in a dependency grammar). ''Head word bigrams'' are gappy bigrams with an explicit dependency relationship. Bigrams help provide the conditional probability of a token given the preceding token, when the relation of the conditional probability is applied: That is, the probability of a token given the preceding token is equal to the probability of their bigram, or the co-occurrence of the two tokens , divided by the probability of the preceding token. ==Applications== Bigrams are used in one of the most successful language models for speech recognition.〔Michael Collins. ''A new statistical parser based on bigram lexical dependencies''. In Proceedings of the 34th Annual Meeting of the Association of Computational Linguistics, Santa Cruz, CA. 1996. pp.184-191.〕 They are a special case of N-gram. Bigram frequency attacks can be used in cryptography to solve cryptograms. See frequency analysis. Bigram frequency is one approach to statistical language identification. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「bigram」の詳細全文を読む スポンサード リンク
|