com.raritantechnologies.uima
Class PhraseDetector

java.lang.Object
  extended bycom.raritantechnologies.uima.PhraseDetector

public class PhraseDetector
extends java.lang.Object

Used to determine if a sourceWord is contained in a phrase - by comparing words around the source word to a map of first word -> phrase. Used in context with UIMA Annotator.


Constructor Summary
PhraseDetector(java.util.Map terms)
           
 
Method Summary
 boolean processPhrase(java.lang.String sourceWord, int wordPos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhraseDetector

public PhraseDetector(java.util.Map terms)
Method Detail

processPhrase

public boolean processPhrase(java.lang.String sourceWord,
                             int wordPos)