Package org.apache.uima.ruta.expression.feature

Examples of org.apache.uima.ruta.expression.feature.SimpleFeatureExpression


          RutaBlock env) {
    List<String> featureReferences = new ArrayList<String>();
    for (Token token : fs) {
      featureReferences.add(token.getText());
    }
    return new SimpleFeatureExpression(te, featureReferences);
  }
View Full Code Here


        }
        counter++;
      }
      if (tail != null) {
        if (op == null) {
          featureExpression = new SimpleFeatureExpression(typeExpression, tail);
        } else {
          SimpleFeatureExpression expr = new SimpleFeatureExpression(typeExpression, tail);
          featureExpression = new FeatureMatchExpression(expr, op, arg);
        }
      }
    }
    if(typeExpression == null || typeExpression.getType(parent) == null) {
View Full Code Here

        }
        counter++;
      }
      if (tail != null) {
        if (op == null) {
          featureExpression = new SimpleFeatureExpression(typeExpression, tail);
        } else {
          SimpleFeatureExpression expr = new SimpleFeatureExpression(typeExpression, tail);
          featureExpression = new FeatureMatchExpression(expr, op, arg);
        }
      }
    }
  }
View Full Code Here

          RutaBlock env) {
    List<String> featureReferences = new ArrayList<String>();
    for (Token token : fs) {
      featureReferences.add(token.getText());
    }
    return new SimpleFeatureExpression(te, featureReferences);
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.ruta.expression.feature.SimpleFeatureExpression

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.