public class Rules extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addPattern(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,
boolean ev1,
boolean ev2,
String trg1,
String trg2,
boolean add)
Regulatory events
|
void |
addPattern(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,
boolean add)
Binding events
|
void |
addPattern(int verb_type,
String pos,
String ctype,
boolean pos1,
String pr1,
boolean inchunk,
int ccount,
String childTrg,
boolean add)
For simple events
|
List<RuleData> |
getEvalRules(String key)
Get list of patterns
|
void |
initMap() |
void |
printInfo() |
String |
toString() |
public Rules(int type,
String trg)
public void initMap()
public void addPattern(int verb_type,
String pos,
String ctype,
boolean pos1,
String pr1,
boolean inchunk,
int ccount,
String childTrg,
boolean add)
public void addPattern(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,
boolean add)
public void addPattern(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,
boolean ev1,
boolean ev2,
String trg1,
String trg2,
boolean add)
public List<RuleData> getEvalRules(String key)
key: - POS + Chunk typepublic void printInfo()
Copyright © 2016 JULIE Lab, Germany. All rights reserved.