You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2014/10/27 16:43:47 UTC
svn commit: r1634579 -
/stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext
Author: rwesten
Date: Mon Oct 27 15:43:46 2014
New Revision: 1634579
URL: http://svn.apache.org/r1634579
Log:
some update to the documentation of STANBOL-1397
Modified:
stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext
Modified: stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext
URL: http://svn.apache.org/viewvc/stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext?rev=1634579&r1=1634578&r2=1634579&view=diff
==============================================================================
--- stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext (original)
+++ stanbol/site/trunk/content/docs/trunk/components/enhancer/engines/nif20.mdtext Mon Oct 27 15:43:46 2014
@@ -55,13 +55,17 @@ The first Turtle snippet shows the `nif:
nif:sourceUrl
<urn:content-item-sha1-be57a50b7f82854460c2ff33a65637e36befe48e> .
-Next the segment describing the only sentence in the example text.
+Next the segment describing the only sentence in the example text. NOTE: if `nif:before` or `nif:after` are empty strings it indicates that the section start/ends at the beginning/end of the parsed content.
:::text
content:char=0,56
a nif:RFC5147String , nif:Sentence ;
+ nif:before
+ ""@en ;
nif:anchorOf
"The Apache Stanbol Enhancer can detect entities in text."@en ;
+ nif:after
+ ""@en ;
nif:beginIndex
"0"^^xsd:int ;
nif:endIndex
@@ -76,8 +80,12 @@ The following snippet shows the segments
:::text
content:char=0,3
a nif:RFC5147String , nif:Word ;
+ nif:before
+ ""@en ;
nif:anchorOf
"The"@en ;
+ nif:after
+ " Apache St"@en ;
nif:beginIndex
"0"^^xsd:int ;
nif:endIndex
@@ -99,8 +107,12 @@ The following snippet shows the segments
content:char=4,10
a nif:RFC5147String , nif:Word ;
+ nif:before
+ "The "@en ;nif:anchorOf
nif:anchorOf
"Apache"@en ;
+ nif:after
+ " Stanbol E"@en ;
nif:beginIndex
"4"^^xsd:int ;
nif:endIndex
@@ -124,8 +136,12 @@ The following snippet shows the segments
content:char=11,18
a nif:RFC5147String , nif:Word ;
+ nif:before
+ "he Apache "@en ;
nif:anchorOf
"Stanbol"@en ;
+ nif:after
+ " Enhancer "@en ;
nif:beginIndex
"11"^^xsd:int ;
nif:endIndex
@@ -152,8 +168,12 @@ Also Phrases are exported as RDF. Here a
:::text
content:char=28,38
a nif:Phrase , nif:RFC5147String ;
+ nif:before
+ " Enhancer "@en ;
nif:anchorOf
"can detect"@en ;
+ nif:after
+ " entities "@en ;
nif:beginIndex
"28"^^xsd:int ;
nif:endIndex
@@ -169,8 +189,12 @@ Also Phrases are exported as RDF. Here a
content:char=32,38
a nif:RFC5147String , nif:Word ;
+ nif:before
+ "ancer can "@en ;
nif:anchorOf
"detect"@en ;
+ nif:after
+ " entities "@en ;
nif:beginIndex
"32"^^xsd:int ;
nif:endIndex