Package com.basistech.rosette.dm
Class Sentence
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.Attribute
com.basistech.rosette.dm.Sentence
- All Implemented Interfaces:
Serializable
A Sentence. By convention (influenced by the sentence boundary rules from
Unicode TR#29), a sentence should include trailing whitespace after an
end-of-sentence marker. For example, for the string "Hello. World "
with two spaces before "World" and one space after:
Note that sentences have no properties of their own.
012345678901234 Hello. Worldthe first sentence is at offsets [0, 8), and the second at [8, 14).
Note that sentences have no properties of their own.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.basistech.rosette.dm.Attribute
endOffset, startOffsetFields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.basistech.rosette.dm.Attribute
getEndOffset, getStartOffset, toStringHelperMethods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty, toString
-
Constructor Details
-
Sentence
-