/// <summary> /// Her <see cref="Allomorph" /> nesnesi içerisinde bir Morpheme nesnesi barındırır. /// <para /> /// </summary> /// <param name="morpheme">Allomorph'a kaynaklık eden Morpheme </param> public Allomorph(Morpheme morpheme) { _morpheme = morpheme; _surface = morpheme.LexicalForm; }
internal bool HasTransition(Morpheme prev, Morpheme next) { return _graph.ContainsTransition(prev.SequenceId, next.SequenceId); }
internal bool IsTerminal(Morpheme morpheme) { return _graph.IsTerminal(morpheme.SequenceId); }
internal IEnumerable<string> GetMorphemesWithEmptyTransitions(Morpheme prev) { return _graph.GetEmptyTransitions(prev.SequenceId).Select(t => t.Target); }