The parser is now instead going through each word of the text and looking up the hint in a Dictionary object. This implementation is more "natural". Whereas the previous implementation, the parser looks up every hint in the text. This is inefficient especially when the hints Dictionary has significantly more words than the words in the text.
Better implementation should fix #21 and #22.
The parser is now instead going through each word of the text and looking up the hint in a
Dictionary
object. This implementation is more "natural". Whereas the previous implementation, the parser looks up every hint in the text. This is inefficient especially when the hintsDictionary
has significantly more words than the words in the text.