public class NewlineSentenceDetector extends Object implements SentenceDetector
| Constructor and Description | 
|---|
NewlineSentenceDetector()  | 
| Modifier and Type | Method and Description | 
|---|---|
String[] | 
sentDetect(String s)
Sentence detect a string. 
 | 
Span[] | 
sentPosDetect(String s)
Sentence detect a string. 
 | 
public String[] sentDetect(String s)
SentenceDetectorsentDetect in interface SentenceDetectors - The string to be sentence detected.public Span[] sentPosDetect(String s)
SentenceDetectorsentPosDetect in interface SentenceDetectors - The string to be sentence detected.Copyright © 2017 The Apache Software Foundation. All rights reserved.