private bool IsStemType(int hvo) { MoMorphTypeCollection types = new MoMorphTypeCollection(m_cache); if ((hvo == types.Item(MoMorphType.kmtBoundRoot).Hvo) || (hvo == types.Item(MoMorphType.kmtBoundStem).Hvo) || (hvo == types.Item(MoMorphType.kmtEnclitic).Hvo) || (hvo == types.Item(MoMorphType.kmtParticle).Hvo) || (hvo == types.Item(MoMorphType.kmtProclitic).Hvo) || (hvo == types.Item(MoMorphType.kmtRoot).Hvo) || (hvo == types.Item(MoMorphType.kmtStem).Hvo) || (hvo == types.Item(MoMorphType.kmtClitic).Hvo) || // Andy: no! circumfixes are affixes, not stems: (hvo == types.Item(MoMorphType.kmtCircumfix).Hvo) || (hvo == types.Item(MoMorphType.kmtPhrase).Hvo) || (hvo == types.Item(MoMorphType.kmtDiscontiguousPhrase).Hvo)) { return(true); } return(false); }
// public event EventHandler<string> Merged; public FlexImporter(FdoCache cache) { _cache = cache; _flexMorphTypes = new MoMorphTypeCollection(_cache); }