trigram

Học thuật
Thân thiện
trigram

A child writes the trigram "cat" on a chalkboard.

Definition

Noun: 1. A group of three consecutive written characters: In linguistics and computational analysis, a trigram is a sequence of three adjacent items, most commonly letters from a text or syllables. It is a fundamental unit in n-gram models for statistical analysis of language. 2. A three-letter word: In a more specific sense, it can refer to a word composed of exactly three letters in an alphabetic writing system.

Usage Examples
  • The word "the" is a common English trigram.
  • In cryptography, analyzing letter trrams can help break simple substitution ciphers.
  • The model predicts the next word based on the probability of trigrams in the training data.
Advanced Usage
  • In Natural Language Processing (NLP): Trigrams are crucial for language modeling, helping in tasks like speech recognition, machine translation, and predictive text. A model might use the trigram "I am going" to predict the next word.
  • In Cryptanalysis: Studying the frequency of trigrams (like "the", "ing", "and") in a coded message is a classic technique for decipherment.
Variants and Related Words
  • Bigram (n): A sequence of two consecutive items (e.g., letters or words).
  • N-gram (n): The general term for a contiguous sequence of items from a given text sample.
  • Unigram (n): A single item, often used as a baseline in statistical models.
Synonyms
  • Triad (in a general grouping sense)
  • Triple (in a general grouping sense)
  • 3-gram (technical synonym)
Related Phrases
  • Character trigram: Specifically refers to sequences of three characters (letters, symbols).
  • Word trigram: Specifically refers to sequences of three words.
trigram

A child writes the trigram "cat" on a chalkboard.

Noun
  1. a word that is written with three letters in an alphabetic writing system