Пример #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));
 }