Class SentenceAttributeExtractor

java.lang.Object
org.apache.lucene.analysis.opennlp.SentenceAttributeExtractor

public class SentenceAttributeExtractor extends Object
Iterate through sentence tokens and cache their attributes. Could consider moving this to a more central location to be used by other sentence-aware components.

May want to consider making this its own Filter so that extracted sentence token attributes can be shared by downstream sentence-aware filters.

  • Constructor Details

  • Method Details