Beispiel #1
0
        //	Build up fundamental words of the language inside the runtime before
        //	it begins processing other commands.
        static public void constructInitialWordTrie(ProseScope scope)
        {
            //	Pack all the data into a list and add each word to the runtime dictionary.
            List <string[]> wordList = buildWordList();

            foreach (string[] wordStrings in wordList)
            {
                scope.addWordFromStrings(wordStrings);
            }
        }
Beispiel #2
0
 public Word addWordFromStrings(string[] subWords)
 {
     return(global_scope.addWordFromStrings(subWords));
 }
Beispiel #3
0
 //    Build up fundamental words of the language inside the runtime before
 //    it begins processing other commands.
 public static void constructInitialWordTrie(ProseScope scope)
 {
     //	Pack all the data into a list and add each word to the runtime dictionary.
     List<string[]> wordList = buildWordList();
     foreach (string[] wordStrings in wordList) {
         scope.addWordFromStrings(wordStrings);
     }
 }