public int AddConception(string word, Conception.LanguageId languageId)
        {
            int        newConceptionId = m_Dictionary.Count > 0 ? m_Dictionary.Last().Key + 1 : 1;
            Conception newConception   = new Conception(newConceptionId, word, languageId);

            m_Dictionary.Add(newConception.ConceptionId, newConception);
            return(newConception.ConceptionId);
        }
        public void RemoveDescriptionFromConception(int conceptionId, Conception.LanguageId languageId)
        {
            Conception handledConception = GetConception(conceptionId);

            handledConception.RemoveDescription(languageId);

            if (handledConception.DescriptionsCount == 0)
            {
                RemoveConception(conceptionId);
            }
        }
        private void LoadFromFile(string pathToFile)
        {
            try
            {
                string[] lines    = File.ReadAllLines(pathToFile);
                int      baseId   = m_Dictionary.Count;
                string   mainword = "";
                for (int i = 0; i < lines.Length; i += 2)
                {
                    int           curId    = baseId + i / 2 + 1;
                    int           startPos = 2;
                    string        text     = lines[i].Substring(startPos);
                    List <string> words    = SplitText(text);

                    if (!text.Contains('~'))
                    {
                        mainword = GetMainWord(words);
                        if (mainword == "")
                        {
                            int a = 2;
                            a++;
                        }
                    }
                    else
                    {
                        text = text.Replace("~", mainword);
                    }
                    Conception conception = new Conception(curId, text, Conception.LanguageId.Russian);

                    text  = lines[i + 1].Substring(startPos);
                    words = SplitText(text);
                    conception.AddDescription(text, Conception.LanguageId.Ukrainian);
                    m_Dictionary.Add(conception.ConceptionId, conception);
                }
            }
            catch (Exception ex)
            {
                throw;
            }
        }