onmt.PhraseTable

Parse and lookup a words from a phrase table.

[src]

onmt.PhraseTable:lookup(word)

Return the phrase table match for word.

[src]

onmt.PhraseTable:contains(word)

Return true if the phrase table contains the source word word.

Undocumented methods

* onmt.PhraseTable(filePath)