public class RuleLearner extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
prepmap |
static Set<String> |
preps |
| Constructor and Description |
|---|
RuleLearner() |
RuleLearner(DBUtils sr,
DBUtils dest) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,RuleSet> |
combiningRules(Map<String,Rules>[] rules) |
String |
getPrep(Word tg,
Word pr,
BasicChunk bs) |
String |
getPrep2(Word pr1,
Word pr2,
BasicChunk bs) |
String |
getPrepFront(Word tg,
Word pr,
BasicChunk bs) |
void |
LearnData() |
static void |
main(String[] args) |
String |
mapToStr(Map<String,Set<String>> map) |
String |
setToStr(Set<String> set) |
void |
storePatterns(Map<String,Rules>[] map,
DBUtils db) |
void |
storeRuleSet(Map<String,RuleSet> map,
DBUtils db) |
public static void main(String[] args)
public void LearnData()
public String getPrepFront(Word tg, Word pr, BasicChunk bs)
public String getPrep(Word tg, Word pr, BasicChunk bs)
public String getPrep2(Word pr1, Word pr2, BasicChunk bs)
Copyright © 2016 JULIE Lab, Germany. All rights reserved.