You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by bu...@apache.org on 2014/10/27 16:43:52 UTC

svn commit: r927051 - in /websites/staging/stanbol/trunk/content: ./ docs/trunk/components/enhancer/engines/nif20.html

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
+        &quot;&quot;@en ;
     nif:anchorOf
         &quot;The Apache Stanbol Enhancer can detect entities in text.&quot;@en ;
+    nif:after
+        &quot;&quot;@en ;
     nif:beginIndex
         &quot;0&quot;^^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
+        &quot;&quot;@en ;
     nif:anchorOf
         &quot;The&quot;@en ;
+    nif:after
+        &quot; Apache St&quot;@en ;
     nif:beginIndex
         &quot;0&quot;^^xsd:int ;
     nif:endIndex
@@ -178,8 +186,12 @@
 
 content:char=4,10
     a nif:RFC5147String ,  nif:Word ;
+    nif:before
+        &quot;The &quot;@en ;nif:anchorOf
     nif:anchorOf
         &quot;Apache&quot;@en ;
+    nif:after
+        &quot; Stanbol E&quot;@en ;
     nif:beginIndex
         &quot;4&quot;^^xsd:int ;
     nif:endIndex
@@ -203,8 +215,12 @@ content:char=4,10
 
 content:char=11,18
     a nif:RFC5147String ,  nif:Word ;
+    nif:before
+        &quot;he Apache &quot;@en ;
     nif:anchorOf
         &quot;Stanbol&quot;@en ;
+    nif:after
+        &quot; Enhancer &quot;@en ;
     nif:beginIndex
         &quot;11&quot;^^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
+        &quot; Enhancer &quot;@en ;
     nif:anchorOf
         &quot;can detect&quot;@en ;
+    nif:after
+        &quot; entities &quot;@en ;
     nif:beginIndex
         &quot;28&quot;^^xsd:int ;
     nif:endIndex
@@ -248,8 +268,12 @@ content:char=11,18
 
 content:char=32,38
     a nif:RFC5147String ,  nif:Word ;
+    nif:before
+        &quot;ancer can &quot;@en ;
     nif:anchorOf
         &quot;detect&quot;@en ;
+    nif:after
+        &quot; entities &quot;@en ;
     nif:beginIndex
         &quot;32&quot;^^xsd:int ;
     nif:endIndex