public abstract class HasMWEDetector extends java.lang.Object implements IHasMWEDetector
| Constructor and Description |
|---|
HasMWEDetector(IMWEDetector detector)
Constructs a new MWE detector constraint that wraps the specified MWE Detector.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IToken> |
detect(java.util.List<T> sentence) |
IMWEDetector |
getWrappedDetector()
Returns the MWE detector associated with this contraint detector.
|
public HasMWEDetector(IMWEDetector detector)
detector - the detector wrapped by this objectjava.lang.NullPointerException - if the specified detector is nullpublic IMWEDetector getWrappedDetector()
IHasMWEDetectorgetWrappedDetector in interface IHasMWEDetectorCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.