예제 #1
0
 public boolean parse(List<? extends HasWord> words) {
   boolean b1 = scorer1.parse(words);
   boolean b2 = scorer2.parse(words);
   return (b1 && b2);
 }
예제 #2
0
 public double iScore(Edge edge) {
   return SloppyMath.min(scorer1.iScore(edge), scorer2.iScore(edge));
 }
예제 #3
0
 public boolean iPossible(Hook hook) {
   return scorer1.iPossible(hook) && scorer2.iPossible(hook);
 }
예제 #4
0
 public double iScore(Edge edge) {
   return scorer1.iScore(edge) + scorer2.iScore(edge);
 }
예제 #5
0
 public double oScore(Edge edge) {
   return scorer1.oScore(edge) + scorer2.oScore(edge);
 }
예제 #6
0
 public boolean parse(List<? extends HasWord> words) {
   return scorer.parse(words);
 }
예제 #7
0
 public boolean iPossible(Hook hook) {
   return scorer.iPossible(project(hook));
 }
예제 #8
0
 public double iScore(Edge edge) {
   return scorer.iScore(project(edge));
 }