Examples of EntailmentClassificationOutcome


Examples of dkpro.similarity.uima.entailment.type.EntailmentClassificationOutcome

            JCas view2 = jcas.getView(CombinationReader.VIEW_2);
           
            System.out.println(view1.getDocumentText());
            System.out.println(view2.getDocumentText());
           
            EntailmentClassificationOutcome outcome = JCasUtil.selectSingle(jcas, EntailmentClassificationOutcome.class);
            System.out.println(outcome);
        }
        catch (CASException e) {
            throw new AnalysisEngineProcessException(e);
        }
View Full Code Here

Examples of dkpro.similarity.uima.entailment.type.EntailmentClassificationOutcome

         
          DocumentMetaData md = DocumentMetaData.get(view1);
         
          String docID = md.getDocumentId().substring(md.getDocumentId().indexOf("-") + 1);
         
          EntailmentClassificationOutcome outcome = JCasUtil.selectSingle(jcas, EntailmentClassificationOutcome.class);
//          System.out.println(docID + "::" + outcome.getOutcome());         
          gold.put(docID, outcome.getOutcome());
      }
      catch (CASException e) {
          throw new AnalysisEngineProcessException(e);
      }
  }
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.