<div dir="ltr">Dear all,<div><br></div><div>I started writing some code to annotate and enrich NIF documents</div><div>with <a href="http://Babelfy.org">Babelfy.org</a>. You can find it here: <a href="http://pastebin.com/USLL7ENi" target="_blank">http://pastebin.com/USLL7ENi</a></div><div><br></div><div>There are three Babelfy-specific classes: <a href="http://babelfy.io/javadoc/it/uniroma1/lcl/babelfy/commons/IBabelfy.html#babelfy-java.lang.String-it.uniroma1.lcl.jlt.util.Language-" target="_blank">IBabelfy</a> (the interface of</div><div>the babelfy main object), <a href="http://babelfy.io/javadoc/it/uniroma1/lcl/babelfy/commons/annotation/SemanticAnnotation.html" target="_blank">SemanticAnnotation</a> (annotation outputted</div><div>by babelfy), <a href="http://babelfy.io/javadoc/it/uniroma1/lcl/jlt/util/Language.html" target="_blank">Language</a> (an enum of the available languages)</div><div><br></div><div>The idea is to:</div><div><br></div><div>1) get a NIF document as input;</div><div>2) go through each context-string(/text-document);</div><div>2.a) annotate it with babelfy;</div><div>2.b) add the annotations to the NIF document.</div><div>3) return a string representation of the enriched NIF document</div><div><br></div><div>Does this way of handling NIF documents make sense to you?</div><div><br></div><div>Another issue that I had was about the identifiers to be used for</div><div>the semantic annotations. I simply added /babelfy/char=offset</div><div>to the namespace/id of the document. is this reasonable?</div><div><br></div><div><br></div><div>Excuse me, but I&#39;m not familiar at all with rdf/nif formats.<br></div><div><br></div><div>Best regards,</div><div>Andrea Moro</div><div><br></div><div><br></div></div>