Interface Punctuations
- All Superinterfaces:
Dictionary, Iterable<String>
- All Known Implementing Classes:
EnglishPunctuations
Punctuation marks are symbols that indicate the structure and organization
of written language, as well as intonation and pauses to be observed when
reading aloud. In many languages, punctuation is vital to disambiguate the
meaning of sentences.
The rules of punctuation vary with language, location, register and time and are constantly evolving. Certain aspects of punctuation are stylistic and are thus the author's (or editor's) choice. Tachygraphic language forms, such as those used in online chat and text messages, may have wildly different rules.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisNotPunctuation(String token) Returns true if the token is NOT a punctuation mark.Methods inherited from interface Dictionary
contains, iterator, size, streamMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
isNotPunctuation
Returns true if the token is NOT a punctuation mark. Convenience negation ofDictionary.contains(String).- Parameters:
token- the query token.- Returns:
- true if this dictionary does not contain the specified token.
-