C# Class SIL.FieldWorks.FDO.FDOTests.InterlinearTestBase.ParagraphAnnotatorForParagraphBuilder

Inheritance: ParagraphAnnotator
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
BreakIntoMorphs ( int iSegment, int iSegForm, ArrayList moForms ) : IWfiAnalysis
SetAlternateCase ( int iSegment, int iSegForm, StringCaseStatus targetState, string &alternateCaseForm ) : IWfiWordform

Méthodes protégées

Méthode Description
SetupDefaultWordGlosses ( ) : IList

Walk through the paragraph and create word glosses, and segment annotations.

Private Methods

Méthode Description
BreakPhrase ( int iSegmentPrimary, int iSegFormPrimary, IList secondaryPathsToBreakPhrases, IList secondaryPathsToJoinWords, string mainMergedStringValue ) : void
BreakSecondaryPhrases ( IList secondaryPathsToBreakPhrases, string formerMergedStringValue ) : void
GetIdOfExpectedAnalysis ( int iSegment, int iSegForm ) : int

In the ID attribute of the XmlNode we store the ID of the analysis we expect for that occurrence.

MergeAdjacentAnnotations ( int iSegmentPrimary, int iSegFormPrimary, IList secondaryPathsToJoinWords, IList secondaryPathsToBreakPhrases ) : int

MergeSecondaryPhrases ( IList secondaryPathsToJoinWords, string mainMergedStringValue ) : void
ParagraphAnnotatorForParagraphBuilder ( ParagraphBuilder pb ) : System
SetAlternateCase ( string wordform, int iOccurrenceInParagraph, StringCaseStatus targetState ) : IWfiWordform
SetDefaultWordGloss ( int iSegment, int iSegForm, IWfiAnalysis wfiAnalysis, string &gloss ) : IWfiGloss

SetDefaultWordGloss ( int iSegment, int iSegForm, string &gloss ) : IWfiGloss

SetDefaultWordGloss ( string wordform, int iOccurrenceInParagraph ) : IWfiGloss
ValidateAnnotations ( ) : void

ValidateAnnotations ( bool fSkipForceParse ) : void

Validate the annotation information stored in the xml configuration against the annotation information stored in memory from ParagraphParser.

Method Details

BreakIntoMorphs() public méthode

public BreakIntoMorphs ( int iSegment, int iSegForm, ArrayList moForms ) : IWfiAnalysis
iSegment int
iSegForm int
moForms System.Collections.ArrayList
Résultat IWfiAnalysis

SetAlternateCase() public méthode

public SetAlternateCase ( int iSegment, int iSegForm, StringCaseStatus targetState, string &alternateCaseForm ) : IWfiWordform
iSegment int
iSegForm int
targetState StringCaseStatus
alternateCaseForm string
Résultat IWfiWordform

SetupDefaultWordGlosses() protected méthode

Walk through the paragraph and create word glosses, and segment annotations.
protected SetupDefaultWordGlosses ( ) : IList
Résultat IList