Examples of VerbSemClassMatch


Examples of edu.stanford.nlp.sempre.paraphrase.rules.VerbSemClassMatcher.VerbSemClassMatch

    log();
  }

  private void extractWebQ() {
    for(Example example: dataset.examples("train")) {
      VerbSemClassMatch match = matcher.match(example.utterance);
      if(match!=null) {
        LogInfo.logs("Sentence: %s, match: %s",example.utterance,match);
        if(match.isSubj)
          addMatch(match,verbToSubject);
        else
View Full Code Here

Examples of edu.stanford.nlp.sempre.paraphrase.rules.VerbSemClassMatcher.VerbSemClassMatch

  private void extractParalex() throws IOException {
    String sentence;
    int i = 0;
    while((sentence = reader.next())!=null) {
      VerbSemClassMatch match = matcher.match(sentence);
      if(match!=null) {
        //        LogInfo.logs("Sentence: %s, match: %s",sentence,match);
        if(match.isSubj)
          addMatch(match,verbToSubject);
        else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.