dragon.nlp.extract
Class AttributeChecker
java.lang.Object
|
+--dragon.nlp.extract.AttributeChecker
- public class AttributeChecker
- extends java.lang.Object
Checking whetherterms are of attribute type
Copyright: Copyright (c) 2005
Company: IST, Drexel University
- Version:
- 1.0
- Author:
- Davis Zhou
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeChecker
public AttributeChecker(java.lang.String attributeFile)
loadAttributes
public boolean loadAttributes(java.lang.String filename)
isAttribute
public boolean isAttribute(Term attr)
isAttribute
public boolean isAttribute(java.lang.String attr)
identifyAttributes
public int identifyAttributes(java.util.ArrayList termList)