A program that implements word dictionary with location positions stored from a given text file using trie structure.
It implements something similar to the first half of the following link:
Thanks for the following code snippet for reference at the following site: http://alexcode.tumblr.com/question_9
NOTE: This program stores the first character position of the word within the line number. It does not store the occurrence position of the entire string word.
For instance:
"test frank giordano"
test located at line 1, position 0 frank located at line 1, position 5 etc
whereas all the words positions would be: test located at position 0 and frank located at position 1 and giordano located at position 3
1 - Install Java 8
2 - Install Maven 3.6.3 or higher
At project's root directory, perform the following commands:
3 - mvn clean install
4 - java -jar .\target\FindWordPositions.jar