Ruby Text Analysis
问题 Is there any Ruby gem or else for text analysis? Word frequency, pattern detection and so forth (preferably with an understanding of french) 回答1: the generalization of word frequencies are Language Models, e.g. uni-grams (= single word frequency), bi-grams (= frequency of word pairs), tri-grams (=frequency of world triples), ..., in general: n-grams You should look for an existing toolkit for Language Models — not a good idea to re-invent the wheel here. There are a few standard toolkits