public void AddHeteronymPronunciation(Heteronym type, string pronunciation) { _heteronyms[type] = pronunciation; }
public bool TryGetHeteronymPronunciation(Heteronym h, out string pronunciation) { pronunciation = null; return(_heteronyms?.TryGetValue(h, out pronunciation) ?? false); }