SIL.FieldWorks.IText.InterlinVc.CanBeAnalyzed C# (CSharp) Method

CanBeAnalyzed() private method

Answer true if the specified word can be analyzed. This is a further check after ensuring it has an InstanceOf. It is equivalent to the check made in case kfragBundle of Display(), but that already has access to the writing system of the Wordform. GJM - Jan 19,'10 Added check to see if this occurrence is actually Punctuation. Punctuation cannot be analyzed.
private CanBeAnalyzed ( AnalysisOccurrence occurrence ) : bool
occurrence AnalysisOccurrence
return bool
		internal bool CanBeAnalyzed(AnalysisOccurrence occurrence)
		{
			int occurrenceWs = occurrence.BaselineWs;
			if (occurrence.Analysis is IPunctuationForm)
				return false;
			return occurrenceWs == m_wsVernForDisplay || m_vernWss.Contains(occurrenceWs);
		}