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