JohnLetnev / airhead-research

Automatically exported from code.google.com/p/airhead-research
0 stars 0 forks source link

Add support for custom document preprocessing #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a corpus with mixed-case or punctuation
2. Run any of the algorithms

What is the expected output? What do you see instead?

The output would have things lower-cased as needed and the punctuation handled 
according to user-specified rules.

Ideally, we could support some type of filter that would take in a Document and 
transform it according to whatever rules it wanted.  This might be useful to 
incorporate with the token filter and IteratorFactory?  Or it could be a step 
that exists totally in GenericMain?

Original issue reported on code.google.com by David.Ju...@gmail.com on 17 Jul 2011 at 12:16