Created
July 26, 2010 22:39
-
-
Save reverendpaco/491368 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 for trie nodes where the source is smaller | |
insertNode contextNode@TrieNode{children=childNodes,nodeType=oldNodeType} | |
SourceIsSmallerDatum {pre=source, | |
suffixT= suffixStringOfTarget} | |
= contextNode{ wordFragment = source, | |
nodeType = Word, | |
children= slidNode *-> childNodes } | |
where slidNode = contextNode{wordFragment=suffixStringOfTarget,nodeType=oldNodeType} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment