Skip to content

Commit

Permalink
No issue: Change "urn" to "doc" in NIF writer to avoid tons of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Aug 4, 2024
1 parent bd38071 commit 7e24c9c
Show file tree
Hide file tree
Showing 6 changed files with 11,999 additions and 11,998 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void convert(JCas aJCas, OntModel aTarget)
// Get a URI for the document
DocumentMetaData dmd = DocumentMetaData.get(aJCas);
String docuri = dmd.getDocumentUri() != null ? dmd.getDocumentUri()
: "urn:" + dmd.getDocumentId();
: "doc:" + dmd.getDocumentId();

// Convert document -> context node
Individual context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</Appenders>

<Loggers>
<Logger name="org.dkpro.core" level="DEBUG"/>
<!-- <Logger name="org.dkpro.core" level="DEBUG"/> -->

<Root level="WARN">
<AppenderRef ref="ConsoleAppender" />
</Root>
Expand Down
Loading

0 comments on commit 7e24c9c

Please sign in to comment.