Commit 8db6e366 authored by jcorvi's avatar jcorvi

add original lemma root and lower case lemma root

parent ed274b8b
Pipeline #11926 passed with stage
in 4 minutes and 8 seconds
......@@ -161,7 +161,8 @@ public class Process implements Runnable {
}
String lemma = token.get(LemmaAnnotation.class);
if(lemma!=null) {
features_tokens.put("root", lemma);
features_tokens.put("root", lemma.toLowerCase());
features_tokens.put("original_root", lemma);
}
String kind = token.get(NamedEntityTagAnnotation.class);
if(kind!=null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment