public class Baseline extends CompositeDetector
IMWEDetector interface. Runs
both the Exhaustive and ProperNouns detectors to find MWEs in a
sentence.| Constructor and Description |
|---|
Baseline(IMWEIndex index)
Constructs the BaselineDetector from a
Exhaustive and
ProperNouns. |
detect, get, sizeadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic Baseline(IMWEIndex index) throws java.io.IOException
Exhaustive and
ProperNouns.index - the MWE index that will back the simple lookup detector.java.lang.NullPointerException - if the index is nulljava.io.IOException - if an IOException occurs when opening or reading from the
index.Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.