Class NLPChunkerOp


  • public class NLPChunkerOp
    extends Object
    Supply OpenNLP Chunking tool Requires binary models from OpenNLP project on SourceForge.
    • Constructor Detail

      • NLPChunkerOp

        public NLPChunkerOp​(opennlp.tools.chunker.ChunkerModel chunkerModel)
                     throws IOException
        Throws:
        IOException
    • Method Detail

      • getChunks

        public String[] getChunks​(String[] words,
                                  String[] tags,
                                  double[] probs)