Package vn

Examples of vn.DESCRIPTION


  private VerbnetInfo chooseFrame(SemanticFrame searchFrame,
      Set<String> knownPredicates, Set<VNCLASS> vnclasses) {
    for (VNCLASS vnclass : vnclasses) {
      List<FRAME> frames = vnclass.getFRAMES().getFRAME();
      for (FRAME frame : frames) {
        DESCRIPTION description = frame.getDESCRIPTION();
        // TODO enhance frame detection (include "Dative", "Location"
        // etc. )
        if (searchFrame.coerent(description.getPrimary())) {
          for (EXAMPLE example : frame.getEXAMPLES().getEXAMPLE()) {
            System.out.println("verbnet frame detected : "
                + description.getPrimary() + " example : "
                + example.getvalue());
          }
          List<Object> npOrVERBOrADJOrADVOrPREPOrLEX = frame
              .getSYNTAX().getNPOrVERBOrADJOrADVOrPREPOrLEX();
          int position = 0;
View Full Code Here

TOP

Related Classes of vn.DESCRIPTION

Copyright © 2018 www.massapicom. 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.