nltk.PhraseTable
¶
-
class
nltk.
PhraseTable
[source]¶ In-memory store of translations for a given phrase, and the log probability of the those translations
Methods¶
__init__ () |
|||||
add (src_phrase, trg_phrase, log_prob) |
|
||||
translations_for (src_phrase) |
Get the translations for a source language phrase |