Package synalp.commons.unification

Examples of synalp.commons.unification.Feature


  {
    if (eq!=null)
      if (eq.getFeatureStructure()!=null)
        if (!eq.getFeatureStructure().getFeatures().isEmpty())
          {
            Feature lem = eq.getFeatureStructure().getFeature(LexFormatEntry.COANCHOR_LEMMA_FEAT);
            Feature cat = eq.getFeatureStructure().getFeature(LexFormatEntry.COANCHOR_CAT_FEAT);
            if (lem!=null && cat !=null)
              out.write(eq.getNodeId() + " -> " + lem.getValue() + "/" + cat.getValue() + "\n");
            else
              logger.warn("In a COANCHORS equation we do not find expected lemma and cat elements of nodeId -> lemma/cat");
          }

   
View Full Code Here

TOP

Related Classes of synalp.commons.unification.Feature

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.