Package relations
Class RuleData
- java.lang.Object
-
- relations.RuleData
-
- All Implemented Interfaces:
Comparable
public final class RuleData extends Object implements Comparable
- Author:
- Chinh
-
-
Constructor Summary
Constructors Constructor Description RuleData()RuleData(int verbtype, String pos, String ctype, boolean pos1, boolean pos2, boolean order, String pr1, String pr2, boolean hastheme2, boolean inchunk, int ccount1, int ccount2, boolean pro1, boolean pro2, String trg1, String trg2)RuleData(int verb_type, String pos, String ctype, boolean pos1, boolean pos2, boolean order, String pr1, String pr2, boolean has_theme2, boolean inchunk, int ccount1, int ccount2, String childTrg)RuleData(int verb_type, String pos, String ctype, boolean pos1, String prep, boolean inchunk, int ccount, String childTrg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object ob)StringgetKey()StringgetKeyInfo()StringgetSubKey()StringmapToString(Set<String> map)voidsetChildTrigger(String tg)voidsetParentTrigger(String tg)
-
-
-
Constructor Detail
-
RuleData
public RuleData()
-
RuleData
public RuleData(int verb_type, String pos, String ctype, boolean pos1, String prep, boolean inchunk, int ccount, String childTrg)
-
RuleData
public RuleData(int verb_type, String pos, String ctype, boolean pos1, boolean pos2, boolean order, String pr1, String pr2, boolean has_theme2, boolean inchunk, int ccount1, int ccount2, String childTrg)
-
-
Method Detail
-
setChildTrigger
public void setChildTrigger(String tg)
-
setParentTrigger
public void setParentTrigger(String tg)
-
getKey
public String getKey()
-
getSubKey
public String getSubKey()
-
getKeyInfo
public String getKeyInfo()
-
compareTo
public int compareTo(Object ob)
- Specified by:
compareToin interfaceComparable
-
-