You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/01/25 14:28:13 UTC

svn commit: r1063269 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml

Author: joern
Date: Tue Jan 25 13:28:13 2011
New Revision: 1063269

URL: http://svn.apache.org/viewvc?rev=1063269&view=rev
Log:
OPENNLP-84 Corrected method name to sentPosDetect

Modified:
    incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml

Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml?rev=1063269&r1=1063268&r2=1063269&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/sentdetect.xml Tue Jan 25 13:28:13 2011
@@ -111,7 +111,7 @@ String sentences[] = sentenceDetector.se
 		The API also offers a method which simply returns the span of the sentence in the input string.
 		<programlisting>
 				<![CDATA[
-Span sentences[] = sentenceDetector.sentDetect("  First sentence. Second sentence. ");]]>
+Span sentences[] = sentenceDetector.sentPosDetect("  First sentence. Second sentence. ");]]>
 		</programlisting>
 		The result array again contains two entires. The first span beings at index 2 and ends at 17. The second span begins at 18 and ends at 34. The utility method Span.getCoveredText can be used to create a substring which only covers the chars in the span.
 		</para>