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
-
Field Summary
Fields inherited from class com.basistech.rosette.dm.Attribute
endOffset, startOffset
Fields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties
-
Constructor Summary
-
Method Summary
Methods inherited from class com.basistech.rosette.dm.Attribute
getEndOffset, getStartOffset, toStringHelper
Methods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty, toString
-
Constructor Details
-
Sentence
-