Exemple #1
0
		private void ParseWithOptions(IStTxtPara para, ParagraphParserOptions options)
		{
			ParseWithOptionsCore(para, options);
		}
Exemple #2
0
		private void ParseWithOptionsCore(IStTxtPara para, ParagraphParserOptions options)
		{
			ResetParseSessionDependentStaticData();
			CollectWordformOccurrencesInTexts = options.CollectWordformOccurrencesInTexts;
			Parse(para);
		}
Exemple #3
0
		/// <summary>
		/// Parse a single paragraph with the specified options.
		/// </summary>
		public static void ParseParagraph(IStTxtPara para, ParagraphParserOptions options)
		{
			if (para.ParseIsCurrent)
				return;
			using (var pp = new ParagraphParser(para.Cache))
			{
				pp.ParseWithOptions(para, options);
			}
		}