edu.mit.jmwe.detect
Class Baseline

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<IMWEDetector>
          extended by edu.mit.jmwe.detect.CompositeDetector
              extended by 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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Baseline(IMWEIndex index)
          Constructs the BaselineDetector from a Exhaustive and ProperNouns.
 
Method Summary
 
Methods inherited from class edu.mit.jmwe.detect.CompositeDetector
detect, get, size
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

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.