Created
July 26, 2010 22:37
-
-
Save reverendpaco/491362 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- the following is guaranteed not to have something at the child node as we | |
-- checked it above | |
insertNode contextNode@TrieNode{children=childNodes} | |
TargetIsSmallerDatum {pre=target, | |
suffixS= suffixStringOfSource} | |
= contextNode{ children=(insertNewChildWordNode suffixStringOfSource childNodes) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment