The basic code (like JavaFx UI, some JUnit tests) is taken from Coursera course - https://www.coursera.org/specializations/java-object-oriented.
This text editor has following features:
-
Autocomplete using trie data structure Dictionary was implemented in trie - saves the memory + reduces the searching time to O(L), L - length of the string to search.
-
Markov text generator It generates new text of specified length, using some input text (like "War and Peace").
-
Edit distance - Word path between source to target words Application takes 2 words and gives the steps on how the first word can be converted to second word making only one mutation at a time and the resulting all intermediate words are in the dictionary. If no such transformation is found - "No Path Found" appears.
-
Flesch readability score This score determines how easy/difficult it is to read a text. (Calculates the number of sentences, words, and syllables in it and uses a formula.