edu.mit.jmwe.detect
Class Baseline
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<IMWEDetector>
edu.mit.jmwe.detect.CompositeDetector
edu.mit.jmwe.detect.Baseline
- All Implemented Interfaces:
- IMWEDetector, Iterable<IMWEDetector>, Collection<IMWEDetector>, List<IMWEDetector>
public class Baseline
- extends CompositeDetector
A baseline implementation of the IMWEDetector
interface. Runs
both the Exhaustive
and ProperNouns
detectors to find MWEs in a
sentence.
- Since:
- jMWE 1.0.0
- Version:
- $Id: Baseline.java 620 2011-05-08 21:13:58Z markaf $
- Author:
- N. Kulkarni, M.A. Finlayson
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Baseline
public Baseline(IMWEIndex index)
throws IOException
- Constructs the BaselineDetector from a
Exhaustive
and
ProperNouns
.
- Parameters:
index
- the MWE index that will back the simple lookup detector.
- Throws:
NullPointerException
- if the index is null
IOException
- Since:
- jMWE 1.0.0
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.