Package grammar.model.nouns

Examples of grammar.model.nouns.NounClass


 
  public void endDocument() {
    if (name == null)
      throw new IllegalStateException("No name defined for this mode!");
       
    nounClass = new NounClass(getLanguage(), sequence, name, abbreviation, nounMatchers);
  }
View Full Code Here


 
  public NounClass getClosestMatch(String noun) {
    if (lastInfinitive != null && lastInfinitive.equals(noun))
      return lastModelVerb;
   
    NounClass bestFit = null;
   
//    System.out.println("Model verbs: "+candidateModels);
   
    List<NounClass> matches = new ArrayList<NounClass>(); // For debugging only
   
View Full Code Here

TOP

Related Classes of grammar.model.nouns.NounClass

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.