blob: d4b94484aadc1bcbdb957d3199459bb19b777265 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from cdec.sa._sa import make_lattice, decode_lattice, decode_sentence,\
SuffixArray, DataArray, LCP, Precomputation, Alignment, BiLex,\
HieroCachingRuleFactory, Sampler, Scorer
from cdec.sa.extractor import GrammarExtractor
_SA_FEATURES = []
def feature(fn):
_SA_FEATURES.append(fn)
return fn
|