Package opennlp.tools.coref.mention

Examples of opennlp.tools.coref.mention.Mention


   
    for (opennlp.tools.coref.mention.Parse corefParse : sample.getParses()) {

      Parse p = ((DefaultParse) corefParse).getParse();
     
      Mention extents[] = mentionFinder.getMentions(corefParse);
     
      for (int ei = 0, en = extents.length; ei < en;ei++) {

        if (extents[ei].getParse() == null) {
View Full Code Here

TOP

Related Classes of opennlp.tools.coref.mention.Mention

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.