Esempio n. 1
0
        public int GetLatinEntriesCount(String dataPath)
        {
            // load/deserialize M_ARABICDARIJAENTRY_LATINWORD
            List <M_ARABICDARIJAENTRY_LATINWORD> latinWordEntries = new TextPersist().Deserialize <M_ARABICDARIJAENTRY_LATINWORD>(dataPath);

            // MC092617 do not count latin word that google has translated
            return(latinWordEntries.Where(m => String.IsNullOrWhiteSpace(m.Translation) == true).ToList().Count);
        }
Esempio n. 2
0
        public int GetArabiziEntriesCount(String dataPath)
        {
            List <M_ARABIZIENTRY> arabiziEntries = new TextPersist().Deserialize <M_ARABIZIENTRY>(dataPath);

            return(arabiziEntries.Count);
        }