fangfangli / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

Add Ngrams context to ContextExtractor to replace NGramExtractor #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should add an Ngrams context to ContextExtractor that allows you to extract 
all n-grams of features. For example, a document classifier using token bigrams 
as features could do something like:

    new ContextExtractor(Token.class, coveredTextExtractor, new Ngrams(2, new Covered()));

Original issue reported on code.google.com by steven.b...@gmail.com on 7 Apr 2012 at 8:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3882.

Original comment by steven.b...@gmail.com on 7 Apr 2012 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by steven.b...@gmail.com on 5 Aug 2012 at 8:50