blob: cc532fb98b3fcabf939fbfe7600d3b8953dbfb6b (
plain)
1
2
3
4
5
6
7
8
9
10
|
from cdec.sa._sa import sym_fromstring,\
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
|