Examples of NP


Examples of org.apache.ctakes.typesystem.type.syntax.NP

    } else if(chunkType.equals("INTJ")) {
      chunk = new INTJ(jCas, start, end);
    } else if(chunkType.equals("LST")) {
      chunk = new LST(jCas, start, end);
    } else if(chunkType.equals("NP")) {
      chunk = new NP(jCas, start, end);
    } else if(chunkType.equals("PP")) {
      chunk = new PP(jCas, start, end);
    } else if(chunkType.equals("PRT")) {
      chunk = new PRT(jCas, start, end);
    } else if(chunkType.equals("SBAR")) {
View Full Code Here

Examples of org.apache.ctakes.typesystem.type.syntax.NP

    } else if(chunkType.equals("INTJ")) {
      chunk = new INTJ(jCas, start, end);
    } else if(chunkType.equals("LST")) {
      chunk = new LST(jCas, start, end);
    } else if(chunkType.equals("NP")) {
      chunk = new NP(jCas, start, end);
    } else if(chunkType.equals("PP")) {
      chunk = new PP(jCas, start, end);
    } else if(chunkType.equals("PRT")) {
      chunk = new PRT(jCas, start, end);
    } else if(chunkType.equals("SBAR")) {
View Full Code Here

Examples of vn.NP

    int position = 0;
    List<Object> npOrVERBOrADJOrADVOrPREPOrLEX = verbnetInfo.frame
        .getSYNTAX().getNPOrVERBOrADJOrADVOrPREPOrLEX();
    for (final Object object : npOrVERBOrADJOrADVOrPREPOrLEX) {
      if (object instanceof NP) {
        NP np = (NP) object;
        FrameItem frameItem = searchFrame.components.get(position);
        frameItem.pos.thematicRole = ThematicRoles.valueOf(np
            .getValue().toUpperCase());
      }
      if (object instanceof VERB) {
        FrameItem frameItem = searchFrame.components.get(position);
        System.out.println("Verb : " + frameItem.pos.text);
View Full Code Here

Examples of vn.NP

          List<Object> npOrVERBOrADJOrADVOrPREPOrLEX = frame
              .getSYNTAX().getNPOrVERBOrADJOrADVOrPREPOrLEX();
          int position = 0;
          for (Object object : npOrVERBOrADJOrADVOrPREPOrLEX) {
            if (object instanceof NP) {
              NP np = (NP) object;
              FrameItem frameItem = searchFrame.components
                  .get(position);
              System.out.println(np.getValue() + " : "
                  + frameItem.pos.text);
            }
            if (object instanceof VERB) {
              FrameItem frameItem = searchFrame.components
                  .get(position);
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.