File GIAposRelTranslatorHybridReferenceSet Documentation

Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: GIAposRelTranslatorHybridReferenceSet.cpp/.hpp

File Description: GIA pos rel translator hybrid reference set

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorHybridReferenceSetClass::executeReferenceSetPreprocessor()

Function Summary
namereturn typedescription
executeReferenceSetPreprocessorboolexecute reference set preprocessor

Function Arguments
nametypedescription
logicReferenceVariableWordListvector<LRPpreprocessorPlainTextWord*>* logic reference variable word list
logicReferenceVariable GIAposRelTranslatorHybridLogicReferenceVariable* logic reference variable
expectToFindSubjectAuxObjectLogicReferenceVariable const bool expect to find subject aux object logic reference variable
wordIndexSentence int word index sentence

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::determineIsVerbAndAdjective()

Function Summary
namereturn typedescription
determineIsVerbAndAdjectivebooldetermine is verb and adjective

Function Arguments
nametypedescription
currentWordTagconst LRPpreprocessorPlainTextWord* current word tag
usePOSprelim const bool use POS prelim
grammaticallyStrict const bool grammatically strict

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppdetermineIsVerbAndAdjective
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::updateIndices()

Function Summary
namereturn typedescription
updateIndicesvoidupdate indices

Function Arguments
nametypedescription
currentWordIsReferenceSetDelimiterconst bool current word is reference set delimiter
referenceSetDelimiterDetected bool* reference set delimiter detected
parsingReferenceSetDelimiter bool* parsing reference set delimiter
currentDelimiterSpecialCase const int current delimiter special case
wordIndexOfHypotheticalPreceedingThatWhich int word index of hypothetical preceeding that which
currentWordIsReferenceSetDelimiterPreceededByThatWhich const bool current word is reference set delimiter preceeded by that which
referenceSetDelimiterIndicatesSameReferenceSet bool* reference set delimiter indicates same reference set
firstIndexOfReferenceSetDelimiterText int* first index of reference set delimiter text
lastIndexOfPreviousReferenceSet int* last index of previous reference set

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppupdateIndices
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::formSubReferenceSetTextFromWordList()

Function Summary
namereturn typedescription
formSubReferenceSetTextFromWordListboolform sub reference set text from word list

Function Arguments
nametypedescription
logicReferenceVariableWordListconst vector<LRPpreprocessorPlainTextWord*>* logic reference variable word list
subReferenceSetText vector<LRPpreprocessorPlainTextWord*>* sub reference set text
firstIndexOfSubReferenceSet const int first index of sub reference set
lastIndexOfSubReferenceSet const int last index of sub reference set

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppformSubReferenceSetTextFromWordList
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::addReferenceSetToReferenceSet()

Function Summary
namereturn typedescription
addReferenceSetToReferenceSetbooladd reference set to reference set

Function Arguments
nametypedescription
firstSubReferenceSetInListLRPpreprocessorSubReferenceSet* first sub reference set in list
subReferenceSetText vector<LRPpreprocessorPlainTextWord*>* sub reference set text
referenceSetDelimiter bool reference set delimiter
wordIndexLogicReference int word index logic reference
wordIndexSentence int word index sentence
delimiterType int delimiter type
delimiterSpecialCase int delimiter special case

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppaddReferenceSetToReferenceSet
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::addSubReferenceSetToReferenceSet()

Function Summary
namereturn typedescription
addSubReferenceSetToReferenceSetbooladd sub reference set to reference set

Function Arguments
nametypedescription
firstSubReferenceSetInListLRPpreprocessorSubReferenceSet* first sub reference set in list
subReferenceSetText vector<LRPpreprocessorPlainTextWord*>* sub reference set text
referenceSetDelimiter bool reference set delimiter
wordIndexLogicReference int word index logic reference
wordIndexSentence int word index sentence
delimiterType int delimiter type
delimiterSpecialCase int delimiter special case

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppaddSubReferenceSetToReferenceSet
GIAposRelTranslatorHybridReferenceSet.hppaddReferenceSetToReferenceSet
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::hasReferenceSet()

Function Summary
namereturn typedescription
hasReferenceSetboolhas reference set

Function Arguments
nametypedescription
referenceSetLRPpreprocessorSubReferenceSet* reference set

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybrid.hpphasReferenceSet
GIAposRelTranslatorHybrid.hppconnectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntities
GIAtranslator.hppconnectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntitiesWrapper
GIAtranslator.hppperformGIApostProcessing
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslatorHybridLogicReference.hpphasReferenceSet
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::setReferenceSetText()

Function Summary
namereturn typedescription
setReferenceSetTextvoidset reference set text

Function Arguments
nametypedescription
referenceSetLRPpreprocessorSubReferenceSet* reference set
text vector<LRPpreprocessorPlainTextWord*>* text

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppsetReferenceSetText
GIAposRelTranslatorHybridReferenceSet.hppaddSubReferenceSetToReferenceSet
GIAposRelTranslatorHybridReferenceSet.hppaddReferenceSetToReferenceSet
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::printSubReferenceSet()

Function Summary
namereturn typedescription
printSubReferenceSetvoidprint sub reference set

Function Arguments
nametypedescription
currentSubReferenceSetInListconst LRPpreprocessorSubReferenceSet* current sub reference set in list

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybrid.hppprintSubReferenceSet
GIAposRelTranslatorHybrid.hppfindPrimaryEntityBasedOnSentenceIndexAndTypeAndDeleteDummyVariableConnections
GIAposRelTranslatorHybrid.hppfindPrimaryEntityAndReconcileSubReferenceSets
GIAposRelTranslatorHybrid.hppconnectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntities
GIAtranslator.hppconnectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntitiesWrapper
GIAtranslator.hppperformGIApostProcessing
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences

Trace Diagram (magenta)


Function GIAposRelTranslatorHybridReferenceSetClass::verifyIsPrepositionNotProgressiveVerbBasedOnContext()

Function Summary
namereturn typedescription
verifyIsPrepositionNotProgressiveVerbBasedOnContextboolverify is preposition not progressive verb based on context

Function Arguments
nametypedescription
sentenceContentsWordListvector<LRPpreprocessorPlainTextWord*>* sentence contents word list
prepositionWordIndex int preposition word index
usePOSprelim bool use POS prelim

Function Reference List


Function Trace
locationcurrent function being traced
GIAposRelTranslatorHybridReferenceSet.hppverifyIsPrepositionNotProgressiveVerbBasedOnContext
GIAposRelTranslatorHybridLogicReference.hppexecuteReferenceSetPreprocessor
GIAposRelTranslatorHybridLogicReference.hppfillLogicReferenceVariable
GIAposRelTranslatorHybrid.hppexecuteLogicReferencePreprocessor
GIAposRelTranslatorHybrid.hppexecuteTxtRelTranslatorDepreciatedSentence
LRPpreprocessor.hppexecuteTxtRelTranslatorDepreciated
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAmain.hpppreprocessTextForGIAwrapper

Trace Diagram (magenta)