Interface Punctuations

All Superinterfaces:
Dictionary, Iterable<String>
All Known Implementing Classes:
EnglishPunctuations

public interface Punctuations extends Dictionary
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 Details

    • isNotPunctuation

      default boolean isNotPunctuation(String token)
      Returns true if the token is NOT a punctuation mark. Convenience negation of Dictionary.contains(String).
      Parameters:
      token - the query token.
      Returns:
      true if this dictionary does not contain the specified token.