Beispiel #1
0
			public void BreakPhraseAnnotation()
			{
				List<int> newAnnotations = null;
				using (ParagraphParser phraseParser = new ParagraphParser(m_para))
				{
					newAnnotations = phraseParser.BreakPhraseAnnotation(m_hvoCurrentAnnotation, ParasInView);
					this.HvoNewAnnotation = newAnnotations[0];
				}
			}
			virtual internal protected List<int> BreakPhrase(int iSegment, int iSegForm)
			{
				ParagraphParser pp = new ParagraphParser(m_para);
				List<int> newCbas = pp.BreakPhraseAnnotation(GetSegmentForm(iSegment, iSegForm), new int[] { m_para.Hvo });
				// Recompute other segment forms that match this combination of phrases.
				NeedReparseParagraph = true;
				pp.Dispose();
				return newCbas;
			}