nlp - Package to generate n-gram language models with smoothing? (Alternatives to NLTK) -
nlp - Package to generate n-gram language models with smoothing? (Alternatives to NLTK) -
i'd find type of bundle or module (preferably python or perl, others do) automatically generate n-gram probabilities input text, , can automatically apply 1 or more smoothing algorithms well.
that is, looking nltk ngrammodel
class. can't utilize purposes because there bugs smoothing functions create choke when inquire probability of word hasn't seen before.
i've read through dev forums nltk , of there seems no progress on this.
any alternatives out there?
looks answered own question, i'll mention i've found here in case others looking it.
there 2 toolkits i've found:
srilm
the cmu-cambridge statistical language modeling toolkit
they appear have similar functionality. both include variety of smoothing functions.
nlp nltk n-gram
Comments
Post a Comment