Esempio n. 1
0
        private bool DeepLex()
        {
            FillLanguages();

            foreach (IDictata dict in WordForms)
            {
                LexicalProcessor.GetSynSet(dict);
            }

            //We've been mapped, set it and save the state
            IsSynMapped = true;
            PersistToCache();
            SystemSave();

            //We return false to break the loop
            return(true);
        }
Esempio n. 2
0
        /// <summary>
        /// Map the synnet of this word
        /// </summary>
        public bool MapSynNet()
        {
            //Not a whole lot of point here
            if (IsSynMapped)
            {
                return(true);
            }

            foreach (IDictata dict in WordForms)
            {
                LexicalProcessor.GetSynSet(dict);
            }

            //We've been mapped, set it and save the state
            IsSynMapped = true;
            PersistToCache();
            SystemSave();

            return(true);
        }