/// <summary> /// Gets the part of speech associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The part of speech.</returns> public PartOfSpeech GetPOS(string id) { PartOfSpeech pos; if (m_pos.TryGetValue(id, out pos)) { return(pos); } return(null); }
/// <summary> /// Gets the allomorph associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The allomorph.</returns> public Allomorph GetAllomorph(string id) { Allomorph allomorph; if (m_allomorphs.TryGetValue(id, out allomorph)) { return(allomorph); } return(null); }
/// <summary> /// Gets the MPR feature group associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The MPR feature group.</returns> public MPRFeatureGroup GetMPRFeatureGroup(string id) { MPRFeatureGroup group; if (m_mprFeatGroups.TryGetValue(id, out group)) { return(group); } return(null); }
/// <summary> /// Gets the MPR feature associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The MPR feature.</returns> public MPRFeature GetMPRFeature(string id) { MPRFeature mprFeat; if (m_mprFeatures.TryGetValue(id, out mprFeat)) { return(mprFeat); } return(null); }
/// <summary> /// Gets the morphological rule associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The morphological rule.</returns> public MorphologicalRule GetMorphologicalRule(string id) { MorphologicalRule mrule; if (m_mrules.TryGetValue(id, out mrule)) { return(mrule); } return(null); }
/// <summary> /// Gets the affix template associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The affix template.</returns> public AffixTemplate GetAffixTemplate(string id) { AffixTemplate template; if (m_templates.TryGetValue(id, out template)) { return(template); } return(null); }
/// <summary> /// Gets the natural class associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The natural class.</returns> public NaturalClass GetNaturalClass(string id) { NaturalClass nc; if (m_natClasses.TryGetValue(id, out nc)) { return(nc); } return(null); }
/// <summary> /// Gets the phonological rule associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The phonological rule.</returns> public PhonologicalRule GetPhonologicalRule(string id) { PhonologicalRule prule; if (m_prules.TryGetValue(id, out prule)) { return(prule); } return(null); }
/// <summary> /// Gets the stratum associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The stratum.</returns> public Stratum GetStratum(string id) { Stratum stratum; if (m_strata.TryGetValue(id, out stratum)) { return(stratum); } return(null); }
/// <summary> /// Gets the character definition table associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The character definition table.</returns> public CharacterDefinitionTable GetCharacterDefinitionTable(string id) { CharacterDefinitionTable charDefTable; if (m_charDefTables.TryGetValue(id, out charDefTable)) { return(charDefTable); } return(null); }
/// <summary> /// Gets the morpher associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The morpher.</returns> public Morpher GetMorpher(string id) { Morpher morpher; if (m_morphers.TryGetValue(id, out morpher)) { return(morpher); } return(null); }
/// <summary> /// Gets the lexical family associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The lexical family.</returns> public LexFamily GetFamily(string id) { LexFamily family; if (m_families.TryGetValue(id, out family)) { return(family); } return(null); }
/// <summary> /// Gets the lexical entry associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The lexical entry.</returns> public LexEntry GetEntry(string id) { LexEntry entry; if (m_entries.TryGetValue(id, out entry)) { return(entry); } return(null); }
/// <summary> /// Gets the value associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The feature value.</returns> public FeatureValue GetPossibleValue(string id) { FeatureValue value; if (m_possibleValues.TryGetValue(id, out value)) { return(value); } return(null); }
/// <summary> /// Gets the feature associated with the specified ID. /// </summary> /// <param name="id">The ID.</param> /// <returns>The feature.</returns> public Feature GetFeature(string id) { Feature feature; if (m_features.TryGetValue(id, out feature)) { return(feature); } return(null); }