NormalWords

Notation for words written like in normal language. Parsing will recognise all substrings that are separated by one or more characters of whitespace as a part. Printing will print the parts separated by one space.

Functions

Link copied to clipboard
open override fun parse(sourceString: String): Word

Transforms an input string that is in this notation into a notation-agnostic Word.

Link copied to clipboard
open override fun print(word: Word): String

Transforms a Word into a string that is formatted according to this notation.

Link copied to clipboard
open override fun toString(): String