Exemple #1
0
        static Exceptions()
        {
            excfps = new StreamReader[PartOfSpeech.parts.Count];
            IDictionaryEnumerator d = PartOfSpeech.parts.GetEnumerator();

            while (d.MoveNext())
            {
                PartOfSpeech p = (PartOfSpeech)(d.Value);
                excfps[p.ident] = new StreamReader(WNDB.ExcFile(p));
            }
        }
Exemple #2
0
        static Exceptions()
        {
            IDictionaryEnumerator d = PartOfSpeech.parts.GetEnumerator();

            while (d.MoveNext())
            {
                PartOfSpeech p = (PartOfSpeech)(d.Value);
                if (!excfps.ContainsKey(p.key))
                {
                    excfps[p.key] = WNDB.GetStreamReader(WNDB.ExcFile(p));
                }
            }
        }