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, size
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 null
java.io.IOException
- if an IOException occurs when opening or reading from the
index.Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.