---+ NGramApply ---++ Description This utility intersects an n-gram model with each FST in an input FST archive. It produces an output FST archive that contains each FST after intersection. The option --bo_arc_type specifies how to handle backoff arcs, either using a phi matcher (failure transitions), treating the backoff as an epsilon, or using a lexicographic semiring with epsilon. ---++ Usage |<verbatim> ngramapply [--options] ngram.fst [in.far [out.far]] --bo_arc_type: type = string, one of: phi (default) | epsilon | lexicographic </verbatim> | | ---++ Examples <verbatim> $ ngramapply earnest.mod earnest.far >earnest.scored.far </verbatim> ---++ Caveats ---++ References
This topic: GRM
>
WebHome
>
NGramLibrary
>
NGramQuickTour
>
NGramApply
Topic revision: r4 - 2012-02-22 - BrianRoark
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback