text - Easiest way or lightlest library to get bigrams and trigrams in Java? -
i'd rather not have fire lingpipe if possible leaves me wondering if there quick, easy ways in java extract bigrams , trigrams string of text?
thanks
always easiest way use existing library. can take on simmetrics library. can use lucene ngramtokenizer. can implement algorithm yourself. first, have find words (using stringtokenizer) in text , generate n-grams need.
Comments
Post a Comment