Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
converter
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
converter
Commits
9239a081
Commit
9239a081
authored
4 years ago
by
Tomasz Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
Update Ccl2Ne.java - to allow other tags then nam
parent
b5bdf05f
No related merge requests found
Pipeline
#2479
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
module/src/main/java/pl/clarin/converter/Ccl2Ne.java
+2
-1
2 additions, 1 deletion
module/src/main/java/pl/clarin/converter/Ccl2Ne.java
with
2 additions
and
1 deletion
module/src/main/java/pl/clarin/converter/Ccl2Ne.java
+
2
−
1
View file @
9239a081
...
@@ -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
++)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment