uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Ignacio Velez <velez.juanigna...@gmail.com>
Subject Question
Date Tue, 06 Oct 2015 22:25:50 GMT
Hi, i'm developing grammar rules with UIMA Ruta and i have a question. I
can't write a NOT clause with "-" character. The rule is this:

edu.isistan.uima.unified.typesystems.nlp.Sentence{ -> CREATE(Error, "name"
= "SVO", "kind" = "Simple/Direct")} <- {
- (
    (edu.isistan.uima.unified.typesystems.nlp.Chunk.chunk == "NP")+
    (edu.isistan.uima.unified.typesystems.nlp.Chunk.chunk == "VP")+
    (edu.isistan.uima.unified.typesystems.nlp.Chunk.chunk == "ADJP")
);
};

I appreciate your help.

Thanks a lot!

Juan Ignacio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message