Author: buildbot
Date: Mon Oct 27 15:43:52 2014
New Revision: 927051
Log:
Staging update by buildbot for stanbol
Modified:
websites/staging/stanbol/trunk/content/ (props changed)
websites/staging/stanbol/trunk/content/docs/trunk/components/enhancer/engines/nif20.html
Propchange: websites/staging/stanbol/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Oct 27 15:43:52 2014
@@ -1 +1 @@
-1634568
+1634579
Modified:
websites/staging/stanbol/trunk/content/docs/trunk/components/enhancer/engines/nif20.html
==============================================================================
---
websites/staging/stanbol/trunk/content/docs/trunk/components/enhancer/engines/nif20.html
(original)
+++
websites/staging/stanbol/trunk/content/docs/trunk/components/enhancer/engines/nif20.html
Mon Oct 27 15:43:52 2014
@@ -136,11 +136,15 @@
</pre></div>
-<p>Next the segment describing the only sentence in the example text.</p>
+<p>Next the segment describing the only sentence in the example text. NOTE: if
<code>nif:before</code> or <code>nif:after</code> are empty strings it
indicates that the section start/ends at the beginning/end of the parsed
content.</p>
<div class="codehilite"><pre>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
@@ -155,8 +159,12 @@
<p>The following snippet shows the segments for the first three words of the
Sentence.</p>
<div class="codehilite"><pre>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
@@ -178,8 +186,12 @@
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
@@ -203,8 +215,12 @@ content:char=4,10
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
@@ -231,8 +247,12 @@ content:char=11,18
<p>Also Phrases are exported as RDF. Here an example for an Verb Phrase. Also
the included the segment for the verb that links to the phrase using
<code>nif:subString</code>.</p>
<div class="codehilite"><pre>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
@@ -248,8 +268,12 @@ content:char=11,18
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