A Maximum Entropy Approach to Natural Language Processing

Berger et al., 1996, A Maximum Entropy Approach to Natural Language Processing (Computational Linguistics)

Subscriber deck — free during early access

3 cards in “5.2 Context-dependent word models” · whole deck

5.2 Context-dependent word models

  1. How were training events built for the context-dependent translation model of in?
    From Hansard sentence pairs: compute the Viterbi alignment, and for each occurrence of in take the context \(x\) = the six surrounding English words and the output \(y\) = the aligned French word.
  2. What feature templates did the in translation model use?
    templatef(x, y) = 1 iff …
    1y = ◇ (no context)
    2y = ◇ and the next word is □
    3y = ◇ and the previous word is □
    4y = ◇ and □ is among the 3 previous words
    5y = ◇ and □ is among the 3 next words
    ◇ is a French translation, □ an English word. Template 1 alone reproduces the context-free distribution.
  3. What did the feature selection algorithm learn for translating in?
    First a template-1 constraint for each translation seen, then context features chosen by approximate gain, e.g. that dans is more likely when speech is among the next three words; the run model showed a distinct “Hansard flavor” of parliamentary language.

Source

  • Adam L. Berger, Stephen A. Della Pietra and Vincent J. Della Pietra. 1996. A Maximum Entropy Approach to Natural Language Processing. In Computational Linguistics, pp. 39–71. https://aclanthology.org/J96-1002/