Commit 9239a081 authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

Update Ccl2Ne.java - to allow other tags then nam

parent b5bdf05f
Pipeline #2479 passed with stage
in 2 minutes and 1 second
...@@ -34,7 +34,8 @@ public class Ccl2Ne { ...@@ -34,7 +34,8 @@ public class Ccl2Ne {
for (Sentence sent : ps.getSentences()) { for (Sentence sent : ps.getSentences()) {
LinkedHashSet<Annotation> anlist = sent.getChunks(); LinkedHashSet<Annotation> anlist = sent.getChunks();
for (Annotation anot : anlist) { for (Annotation anot : anlist) {
if (anot.getType().equals("nam")) { //if (anot.getType().equals("nam"))
{
String out = ""; String out = "";
boolean space_before = false; boolean space_before = false;
for (int i = anot.getBegin(); i <= anot.getEnd(); i++) { for (int i = anot.getBegin(); i <= anot.getEnd(); i++) {
......
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