Interface TextProcessor
- All Superinterfaces:
- com.oracle.labs.mlrg.olcut.config.Configurable,- com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
- All Known Implementing Classes:
- NgramProcessor
public interface TextProcessor
extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
A TextProcessor takes some text and optionally a feature tag and generates a list of 
Features from that text.- 
Method SummaryMethods inherited from interface com.oracle.labs.mlrg.olcut.config.ConfigurablepostConfigMethods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ProvenancablegetProvenance
- 
Method Details- 
processExtracts features from the supplied text.- Parameters:
- text- The text to extract.
- Returns:
- The extracted features.
- Throws:
- TextProcessingException- If an error occurred during extraction (usually from tokenization).
 
- 
processExtracts features from the supplied text.- Parameters:
- tag- The feature name tag.
- text- The text to extract.
- Returns:
- The extracted features.
- Throws:
- TextProcessingException- If an error occurred during extraction (usually from tokenization).
 
 
-