Skip to content

Commit

Permalink
Add section IDs to MedTatorWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Sep 4, 2024
1 parent 66cfd2b commit f706165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.ohnlp.medtagger</groupId>
<artifactId>medtagger</artifactId>
<version>1.0.74</version>
<version>1.0.75</version>
<description>The MedTagger biomedical information extraction pipeline</description>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public void printAnnotationsInline(JCas jcas) throws IOException {
tagElement.setAttribute("status", cm.getStatus());
tagElement.setAttribute("experiencer", cm.getExperiencer());
tagElement.setAttribute("semG", cm.getSemGroup());
tagElement.setAttribute("section", cm.getSentence().getSegment().getId() );
tagElement.setAttribute("normTarget", cm.getNormTarget());
tagsElement.appendChild(tagElement);
tagid++;
Expand Down

0 comments on commit f706165

Please sign in to comment.