Software Project Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.


Software Project Code Structure - Files



Software Project Code Structure - Functions


File GIAmain Documentation

File Name: GIAmain.cpp/.hpp

File Description: GIA main

File Function List


File Diagram (functions hierarchy)


Function GIAmainClass::executeGIA2()

Function Summary
namereturn typedescription
executeGIA2boolexecute GIA2

Function Reference List


File GIAsentenceClass Documentation

File Name: GIAsentenceClass.cpp/.hpp

File Description: GIA sentence class

File Function List


File Diagram (functions hierarchy)


Class GIAstanfordCoreNLPmention

Class Data
nametypedescription
representativeboolrepresentative
sentenceintsentence
startintstart
endintend
headinthead
nextGIAstanfordCoreNLPmention*next

Class GIAstanfordCoreNLPcoreference

Class Data
nametypedescription
firstMentionInListGIAstanfordCoreNLPmention*first mention in list
nextGIAstanfordCoreNLPcoreference*next

Class GIAMention

Class Data
nametypedescription
representativeboolrepresentative
idActiveListint64_tid active list
entityIndexintentity index
entityNamestringentity name
intrasentenceReferenceboolintrasentence reference
nextGIAMention*next

Class GIAcoreference

Class Data
nametypedescription
firstMentionInListGIAMention*first mention in list
nextGIAcoreference*next

Class GIArelation

Class Data
nametypedescription
relationTypestringrelation type
relationTypeIndexintrelation type index
relationGovernorstringrelation governor
relationGovernorIndexintrelation governor index
relationDependentstringrelation dependent
relationDependentIndexintrelation dependent index
relationGovernorRevertedToOfficialLRPTempboolrelation governor reverted to official LRPT emp
relationDependentRevertedToOfficialLRPTempboolrelation dependent reverted to official LRPT emp
relationTypeNonInversedstringrelation type non inversed
relationTypeIndexNonInversedintrelation type index non inversed
disabledbooldisabled
disabledDuringLinkbooldisabled during link
subjObjRelationAlreadyAddedboolsubj obj relation already added
prepositionCombinationAlreadyCreatedTempboolpreposition combination already created temp
auxiliaryIndicatesDifferentReferenceSetboolauxiliary indicates different reference set
rcmodIndicatesSameReferenceSetboolrcmod indicates same reference set
isNameTempboolis name temp
sameReferenceSetboolsame reference set
corpusSpecialRelationGovernorIsQuerystringcorpus special relation governor is query
corpusSpecialRelationDependentIsQuerystringcorpus special relation dependent is query
inverseRelationboolinverse relation
inverseRelationSingleboolinverse relation single
relationTwoWayboolrelation two way
inverseRelationTwoWayboolinverse relation two way
semanticRelationFunctionConditionNewNamestringsemantic relation function condition new name
nextGIArelation*next

Class GIAfeature

Class Data
nametypedescription
entityIndexintentity index
wordstringword
lemmastringlemma
wordWithLRPforNLPonlystringword with LRP for NLP only
featureRevertedToOfficialLRPTempboolfeature reverted to official LRPT emp
typestringtype
grammarstringgrammar
NERintNER
stanfordPOSstringstanford POS
CharacterOffsetBeginintCharacter offset begin
CharacterOffsetEndintCharacter offset end
NormalizedNERstringNormalized NER
TimexstringTimex
grammaticalIsDateOrTimeboolgrammatical is date or time
grammaticalTenseintgrammatical tense
grammaticalTenseModifierArray[GRAMMATICAL_TENSE_MODIFIER_NUMBER_OF_TYPES]boolgrammatical tense modifier array [GRAMMATICAL_TENSE_MODIFIER_NUMBER_OF_TYPES]
grammaticalNumberintgrammatical number
grammaticalIsDefiniteboolgrammatical is definite
grammaticalIsIndefinitePluralboolgrammatical is indefinite plural
grammaticalIsProperNounboolgrammatical is proper noun
grammaticalGenderintgrammatical gender
grammaticalIsPronounboolgrammatical is pronoun
grammaticalWordTypeintgrammatical word type
GIAposTypeintGIA pos type
grammaticalIndexOfDeterminerintgrammatical index of determiner
previousWordInSentenceIsToboolprevious word in sentence is to
grammaticalPredeterminerintgrammatical predeterminer
alreadyAssignedSubstancesBasedOnDeterminatesOfDefinitionEntitiesTempboolalready assigned substances based on determinates of definition entities temp
mustSetIsConceptBasedOnApposRelationboolmust set is concept based on appos relation
isPronounReferenceboolis pronoun reference
entityDisabledboolentity disabled
GIAsemRelTranslatorPOStypeintGIA sem rel translator POS type
determinerPotentiallySingularDetectedbooldeterminer potentially singular detected
nextGIAfeature*next
previousGIAfeature*previous

Class GIAsentence

Class Data
nametypedescription
sentenceIndexintsentence index
sentenceTextstringsentence text
constituentsTextstringconstituents text
featuresTextstringfeatures text
relationsTextstringrelations text
linksTextstringlinks text
firstCoreferenceInListGIAstanfordCoreNLPcoreference*first coreference in list
numberOfWordsInSentenceintnumber of words in sentence
firstRelationInListGIArelation*first relation in list
firstFeatureInListGIAfeature*first feature in list
firstRelationInListOriginalGIArelation*first relation in list original
firstFeatureInListOriginalGIAfeature*first feature in list original
nextGIAsentence*next
previousGIAsentence*previous
isQuestionboolis question
semanticParserSuccessfulboolsemantic parser successful
relationshipEntityArtificialIndexCurrentintrelationship entity artificial index current

Class GIAparagraph

Class Data
nametypedescription
firstSentenceInListGIAsentence*first sentence in list
nextGIAparagraph*next
previousGIAparagraph*previous

Function GIAsentenceClassClass::backupOriginalNLPsentenceContent()

Function Summary
namereturn typedescription
backupOriginalNLPsentenceContentvoidbackup original NLP sentence content

Function Arguments
nametypedescription
firstSentenceInListGIAsentence* first sentence in list

Function Reference List


Function GIAsentenceClassClass::copySentence()

Function Summary
namereturn typedescription
copySentencevoidcopy sentence

Function Arguments
nametypedescription
sentenceToCopyGIAsentence* sentence to copy
newSentence GIAsentence* new sentence

Function Reference List


Function GIAsentenceClassClass::copyRelations()

Function Summary
namereturn typedescription
copyRelationsvoidcopy relations

Function Arguments
nametypedescription
firstRelationInListToCopyGIArelation* first relation in list to copy
firstRelationInList GIArelation* first relation in list

Function Reference List
N/A


Function GIAsentenceClassClass::copyFeatures()

Function Summary
namereturn typedescription
copyFeaturesvoidcopy features

Function Arguments
nametypedescription
firstFeatureInListToCopyGIAfeature* first feature in list to copy
firstFeatureInList GIAfeature* first feature in list

Function Reference List
N/A


Function GIAsentenceClassClass::copyStanfordCoreferences()

Function Summary
namereturn typedescription
copyStanfordCoreferencesvoidcopy stanford coreferences

Function Arguments
nametypedescription
firstCoreferenceInListToCopyGIAstanfordCoreNLPcoreference* first coreference in list to copy
firstCoreferenceInList GIAstanfordCoreNLPcoreference* first coreference in list

Function Reference List


Function GIAsentenceClassClass::copyStanfordMention()

Function Summary
namereturn typedescription
copyStanfordMentionvoidcopy stanford mention

Function Arguments
nametypedescription
firstMentionInListToCopyGIAstanfordCoreNLPmention* first mention in list to copy
firstMentionInList GIAstanfordCoreNLPmention* first mention in list

Function Reference List
N/A


Function GIAsentenceClassClass::getMinIndexOfDynamicallyGeneratedEntity()

Function Summary
namereturn typedescription
getMinIndexOfDynamicallyGeneratedEntityintget min index of dynamically generated entity

Function Arguments
nametypedescription
numberOfWordsInSentenceconst int number of words in sentence

Function Reference List
N/A


Function GIAsentenceClassClass::getMaxIndexOfDynamicallyGeneratedEntity()

Function Summary
namereturn typedescription
getMaxIndexOfDynamicallyGeneratedEntityintget max index of dynamically generated entity

Function Arguments
nametypedescription
numberOfWordsInSentenceconst int number of words in sentence

Function Reference List


Function GIAsentenceClassClass::relationIndexIsNormal()

Function Summary
namereturn typedescription
relationIndexIsNormalboolrelation index is normal

Function Arguments
nametypedescription
relationIndexconst int relation index

Function Reference List
N/A


File GIAentityNodeClass Documentation

File Name: GIAentityNodeClass.cpp/.hpp

File Description: GIA entity node class

File Function List


File Diagram (functions hierarchy)


Class GIAnetworkIndexEntityLoaded

Class Data
nametypedescription
loadedboolloaded
numberOfInstancesint64_tnumber of instances
disabledbooldisabled

Class GIAentityNode

Class Data
nametypedescription
idActiveListint64_tid active list
idActiveListReorderdIDforXMLsaveint64_tid active list reorderd ID for XML save
idInstanceint64_tid instance
entityNamestringentity name
wordOrigstringword orig
confidencedoubleconfidence
aliasListvector<string>alias list
entityTypeintentity type
isActionConceptboolis action concept
hasAssociatedInstanceboolhas associated instance
hasAssociatedTimeboolhas associated time
negativeboolnegative
isArtificialAuxiliaryboolis artificial auxiliary
entityVectorConnectionsArray[GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]vector<GIAentityConnection*>entity vector connections array [GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]
entityVectorConnectionsReferenceListLoadedArray[GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]boolentity vector connections reference list loaded array [GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]
entityVectorConnectionsRemovedArray[GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]boolentity vector connections removed array [GIA_ENTITY_NUMBER_OF_VECTOR_CONNECTION_TYPES]
actionNodeListvector<GIAentityConnection*>*action node list
actionReverseNodeListvector<GIAentityConnection*>*action reverse node list
conditionNodeListvector<GIAentityConnection*>*condition node list
conditionReverseNodeListvector<GIAentityConnection*>*condition reverse node list
propertyNodeListvector<GIAentityConnection*>*property node list
propertyReverseNodeListvector<GIAentityConnection*>*property reverse node list
definitionNodeListvector<GIAentityConnection*>*definition node list
definitionReverseNodeListvector<GIAentityConnection*>*definition reverse node list
relationshipSubjectEntityvector<GIAentityConnection*>*relationship subject entity
relationshipObjectEntityvector<GIAentityConnection*>*relationship object entity
instanceNodeListvector<GIAentityConnection*>*instance node list
instanceReverseNodeListvector<GIAentityConnection*>*instance reverse node list
conditionTypeintcondition type
timeConditionNodeGIAtimeConditionNode*time condition node
hasQuantityboolhas quantity
quantityNumberintquantity number
quantityNumberStringstringquantity number string
quantityModifierintquantity modifier
quantityModifierStringstringquantity modifier string
hasQuantityMultiplierboolhas quantity multiplier
hasMeasureboolhas measure
measureTypeintmeasure type
initialisedForPrintingboolinitialised for printing
printXintprint X
printYintprint Y
printXIndexintprint XI ndex
printYIndexintprint YI ndex
printTextXintprint text X
printTextYintprint text Y
printCoordsAlreadyDefinedboolprint coords already defined
grammaticalNumberintgrammatical number
grammaticalWordTypeTempintgrammatical word type temp
grammaticalTenseModifierArrayTemp[GRAMMATICAL_TENSE_MODIFIER_NUMBER_OF_TYPES]boolgrammatical tense modifier array temp [GRAMMATICAL_TENSE_MODIFIER_NUMBER_OF_TYPES]
grammaticalTenseTempintgrammatical tense temp
grammaticalDefiniteTempboolgrammatical definite temp
grammaticalIndefinitePluralTempboolgrammatical indefinite plural temp
grammaticalProperNounTempboolgrammatical proper noun temp
grammaticalGenderTempintgrammatical gender temp
grammaticalPronounTempboolgrammatical pronoun temp
grammaticalIndexOfDeterminerTempintgrammatical index of determiner temp
grammaticalPredeterminerTempintgrammatical predeterminer temp
grammaticalPredeterminerTempSentenceArrayunordered_map<int,grammatical predeterminer temp sentence array
stanfordPOStempstringstanford POS temp
NormalizedNERtempstringNormalized NER temp
TimexTempstringTimex temp
NERTempintNERT emp
entityIndexTempintentity index temp
sentenceIndexTempintsentence index temp
isToBeComplimentOfActionTempboolis to be compliment of action temp
disableParsingAsPrepositionRelationTempbooldisable parsing as preposition relation temp
entityAlreadyDeclaredInThisContextboolentity already declared in this context
hasAssociatedInstanceTempboolhas associated instance temp
isNameboolis name
isNameQueryboolis name query
isNumberOfboolis number of
isQueryboolis query
isWhichOrEquivalentWhatQueryboolis which or equivalent what query
isAnswerToQueryboolis answer to query
testedForQueryComparisonbooltested for query comparison
testedForQueryComparisonTempbooltested for query comparison temp
testedForQueryComparisonTemp2booltested for query comparison temp 2
queryAnswerContextboolquery answer context
queryEntityTracedboolquery entity traced
entityCorrespondingBestMatchGIAentityNode*entity corresponding best match
disabledbooldisabled
permanentNetworkIndexboolpermanent network index
CXLdummyNodeboolCXL dummy node
referenceSetIDintreference set ID
minimumEntityIndexOfReferenceSetintminimum entity index of reference set
wasReferenceTempboolwas reference temp
wasReferenceboolwas reference
alreadyAssignedSubstancesBasedOnDeterminatesOfDefinitionEntitiesTempboolalready assigned substances based on determinates of definition entities temp
mustSetIsConceptBasedOnApposRelationboolmust set is concept based on appos relation
isPronounReferenceboolis pronoun reference
mustNotSetIsConceptBasedOnPrenomonalModifierRelationboolmust not set is concept based on prenomonal modifier relation
isSubClassboolis sub class
convertToSubClassboolconvert to sub class
addSubClassbooladd sub class
isExpletiveboolis expletive
addedbooladded
modifiedboolmodified
networkIndexEntityLoadedGIAnetworkIndexEntityLoaded*network index entity loaded
parsedForLanguageGenerationboolparsed for language generation
sourceAddedInLanguageGenerationboolsource added in language generation
sourceReferencedInLanguageGenerationboolsource referenced in language generation
isAliasboolis alias
NLCparsedForCodeBlocksboolNLC parsed for code blocks
NLCisSingularArgumentboolNLC is singular argument
NLClocalListVariableHasBeenDeclaredboolNLC local list variable has been declared
NLClocalListVariableHasBeenInitialisedboolNLC local list variable has been initialised
NLClogicalConditionOperationboolNLC logical condition operation
NLCparsedForlogicalConditionOperationsboolNLC parsed forlogical condition operations
NLCconjunctionConditionboolNLC conjunction condition
NLClogicalConditionConjunctionIndexintNLC logical condition conjunction index
NLCcontextGeneratedboolNLC context generated
NLCoriginalNumericalVariableNamestringNLC original numerical variable name
NLCcontextGeneratedTempboolNLC context generated temp
NLCcategoryListCreatedTempboolNLC category list created temp
NLCmathTextParsablePhraseEntityboolNLC math text parsable phrase entity
NLCisAliasboolNLC is alias
NLCidInstanceBackupint64_tNLC id instance backup
NLCfirstInstanceOfProperNounInContextboolNLC first instance of proper noun in context
conditionType2stringcondition type 2
conditionTwoWayboolcondition two way
inverseConditionTwoWayboolinverse condition two way
shortcutToNonspecificConceptEntityGIAentityNode*shortcut to nonspecific concept entity
shortcutsToSpecificConceptEntitiesvector<GIAentityNode*>shortcuts to specific concept entities
entityShortcutToConceptNeuronANNneuron*entity shortcut to concept neuron
isLogicReferenceEntityboolis logic reference entity
logicReferenceClassintlogic reference class
logicReferenceClassTypestringlogic reference class type
parsedForANNgenerationboolparsed for ANN generation
semanticRelationReturnFunctionNamestringsemantic relation return function name
semanticRelationReturnFunctionNameIndexTypeintsemantic relation return function name index type
semanticRelationPreprocessorEntityIndexintsemantic relation preprocessor entity index
semanticRelationReturnConnectionDynamicboolsemantic relation return connection dynamic
semanticRelationWordPOStypeInferredintsemantic relation word POS type inferred
semanticRelationWordDeterminerstringsemantic relation word determiner
semanticRelationWordPredeterminerstringsemantic relation word predeterminer
semanticRelationEntityIsReferencedboolsemantic relation entity is referenced
multiwordAuxiliaryListvector<string>multiword auxiliary list

Class GIAentityCharacteristic

Class Data
nametypedescription
namestringname
valuestringvalue
arrayIndexintarray index
isNegativeboolis negative

Function GIAentityNodeClassClass::DBsetEntityConnectionsReferenceListsLoaded()

Function Summary
namereturn typedescription
DBsetEntityConnectionsReferenceListsLoadedvoidDB set entity connections reference lists loaded

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
loaded bool loaded

Function Reference List
N/A


Function GIAentityNodeClassClass::disconnectNodeFromAllButDefinitions()

Function Summary
namereturn typedescription
disconnectNodeFromAllButDefinitionsvoiddisconnect node from all but definitions

Function Arguments
nametypedescription
entityNodeconst GIAentityNode* entity node

Function Reference List
N/A


Function GIAentityNodeClassClass::calculateQuantityNumberInt()

Function Summary
namereturn typedescription
calculateQuantityNumberIntintcalculate quantity number int

Function Arguments
nametypedescription
quantityNumberStringconst string quantity number string

Function Reference List


Function GIAentityNodeClassClass::calculateQuantityMultiplierInt()

Function Summary
namereturn typedescription
calculateQuantityMultiplierIntintcalculate quantity multiplier int

Function Arguments
nametypedescription
quantityMultiplierStringconst string quantity multiplier string

Function Reference List


Function GIAentityNodeClassClass::printQuantityNumberString()

Function Summary
namereturn typedescription
printQuantityNumberStringstringprint quantity number string

Function Arguments
nametypedescription
entityNodeconst GIAentityNode* entity node

Function Reference List


Function GIAentityNodeClassClass::convertAliasesStringToAliases()

Function Summary
namereturn typedescription
convertAliasesStringToAliasesvoidconvert aliases string to aliases

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
aliasesString string aliases string

Function Reference List


Function GIAentityNodeClassClass::convertAliasesToAliasesString()

Function Summary
namereturn typedescription
convertAliasesToAliasesStringvoidconvert aliases to aliases string

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
aliasesString string* aliases string

Function Reference List
N/A


Function GIAentityNodeClassClass::explode()

Function Summary
namereturn typedescription
explodevectorexplode

Function Arguments
nametypedescription
strconst string& str
ch const char& ch

Function Reference List
N/A


Function GIAentityNodeClassClass::convertDelimitedStringToArray()

Function Summary
namereturn typedescription
convertDelimitedStringToArraystring*convert delimited string to array

Function Arguments
nametypedescription
strconst string str
delimiter const char delimiter

Function Reference List
N/A


Function GIAentityNodeClassClass::deleteEntitiesInEntityNodeList()

Function Summary
namereturn typedescription
deleteEntitiesInEntityNodeListvoiddelete entities in entity node list

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete

Function Reference List
N/A


Function GIAentityNodeClassClass::testEntityCharacteristics()

Function Summary
namereturn typedescription
testEntityCharacteristicsbooltest entity characteristics

Function Arguments
nametypedescription
entityconst GIAentityNode* entity
redistributeSpecialCasePropertiesTestVector vector<GIAentityCharacteristic*>* redistribute special case properties test vector
andOrOr const bool and or or

Function Reference List


Function GIAentityNodeClassClass::testEntityCharacteristic()

Function Summary
namereturn typedescription
testEntityCharacteristicbooltest entity characteristic

Function Arguments
nametypedescription
entityconst GIAentityNode* entity
entityCharacteristic const GIAentityCharacteristic* entity characteristic

Function Reference List


Function GIAentityNodeClassClass::testEntityCharacteristicIterationbool()

Function Summary
namereturn typedescription
testEntityCharacteristicIterationboolvoidtest entity characteristic iterationbool

Function Arguments
nametypedescription
entityValconst bool entity val
entityCharacteristicTest const GIAentityCharacteristic* entity characteristic test
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::testEntityCharacteristicIterationint()

Function Summary
namereturn typedescription
testEntityCharacteristicIterationintvoidtest entity characteristic iterationint

Function Arguments
nametypedescription
entityValconst int entity val
entityCharacteristicTest const GIAentityCharacteristic* entity characteristic test
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List


Function GIAentityNodeClassClass::testEntityCharacteristicIterationstring()

Function Summary
namereturn typedescription
testEntityCharacteristicIterationstringvoidtest entity characteristic iterationstring

Function Arguments
nametypedescription
entityValconst string entity val
entityCharacteristicTest const GIAentityCharacteristic* entity characteristic test
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::setEntityCharacteristics()

Function Summary
namereturn typedescription
setEntityCharacteristicsvoidset entity characteristics

Function Arguments
nametypedescription
entityGIAentityNode* entity
redistributeSpecialCasePropertiesAssignmentVector vector<GIAentityCharacteristic*>* redistribute special case properties assignment vector

Function Reference List


Function GIAentityNodeClassClass::setEntityCharacteristic()

Function Summary
namereturn typedescription
setEntityCharacteristicboolset entity characteristic

Function Arguments
nametypedescription
entityGIAentityNode* entity
entityCharacteristic GIAentityCharacteristic* entity characteristic

Function Reference List


Function GIAentityNodeClassClass::setEntityCharacteristicIterationbool()

Function Summary
namereturn typedescription
setEntityCharacteristicIterationboolvoidset entity characteristic iterationbool

Function Arguments
nametypedescription
entityValbool* entity val
entityCharacteristicSet const GIAentityCharacteristic* entity characteristic set
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::setEntityCharacteristicIterationint()

Function Summary
namereturn typedescription
setEntityCharacteristicIterationintvoidset entity characteristic iterationint

Function Arguments
nametypedescription
entityValint* entity val
entityCharacteristicSet const GIAentityCharacteristic* entity characteristic set
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List


Function GIAentityNodeClassClass::setEntityCharacteristicIterationstring()

Function Summary
namereturn typedescription
setEntityCharacteristicIterationstringvoidset entity characteristic iterationstring

Function Arguments
nametypedescription
entityValstring* entity val
entityCharacteristicSet const GIAentityCharacteristic* entity characteristic set
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::getEntityCharacteristic()

Function Summary
namereturn typedescription
getEntityCharacteristicboolget entity characteristic

Function Arguments
nametypedescription
entityconst GIAentityNode* entity
entityCharacteristic GIAentityCharacteristic* entity characteristic

Function Reference List


Function GIAentityNodeClassClass::getEntityCharacteristicIterationbool()

Function Summary
namereturn typedescription
getEntityCharacteristicIterationboolvoidget entity characteristic iterationbool

Function Arguments
nametypedescription
entityValconst bool entity val
entityCharacteristicGet GIAentityCharacteristic* entity characteristic get
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::getEntityCharacteristicIterationint()

Function Summary
namereturn typedescription
getEntityCharacteristicIterationintvoidget entity characteristic iterationint

Function Arguments
nametypedescription
entityValconst int entity val
entityCharacteristicGet GIAentityCharacteristic* entity characteristic get
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List


Function GIAentityNodeClassClass::getEntityCharacteristicIterationstring()

Function Summary
namereturn typedescription
getEntityCharacteristicIterationstringvoidget entity characteristic iterationstring

Function Arguments
nametypedescription
entityValconst string entity val
entityCharacteristicGet GIAentityCharacteristic* entity characteristic get
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAentityNodeClassClass::getParentClassEntityNameFromSubClassEntityName()

Function Summary
namereturn typedescription
getParentClassEntityNameFromSubClassEntityNamestringget parent class entity name from sub class entity name

Function Arguments
nametypedescription
subClassEntityNamestring sub class entity name

Function Reference List
N/A


Function GIAentityNodeClassClass::detectPredeterminerNonReference()

Function Summary
namereturn typedescription
detectPredeterminerNonReferencebooldetect predeterminer non reference

Function Arguments
nametypedescription
entityconst GIAentityNode* entity

Function Reference List


Function GIAentityNodeClassClass::entityIsRelationship()

Function Summary
namereturn typedescription
entityIsRelationshipboolentity is relationship

Function Arguments
nametypedescription
entityconst GIAentityNode* entity

Function Reference List
N/A


Function GIAentityNodeClassClass::getRelationshipEntityRelativeTypeIndex()

Function Summary
namereturn typedescription
getRelationshipEntityRelativeTypeIndexintget relationship entity relative type index

Function Arguments
nametypedescription
entityconst GIAentityNode* entity

Function Reference List
N/A


File GIAconditionNodeClass Documentation

File Name: GIAconditionNodeClass.cpp/.hpp

File Description: GIA condition node class

File Function List


File Diagram (functions hierarchy)


Class GIAtimeConditionNode

Class Data
nametypedescription
conditionNamestringcondition name
tenseinttense
seconddoublesecond
hourinthour
dayOfWeekintday of week
monthintmonth
dayOfMonthintday of month
yearint64_tyear
perioddoubleperiod
totalTimeInSecondsint64_ttotal time in seconds
tenseOnlyTimeConditionbooltense only time condition
isProgressiveboolis progressive
idActiveListReorderdIDforXMLsaveint64_tid active list reorderd ID for XML save
printXintprint X
printYintprint Y
printCoordsAlreadyDefinedboolprint coords already defined

Function GIAconditionNodeClassClass::generateDateTimeConditionName()

Function Summary
namereturn typedescription
generateDateTimeConditionNamestringgenerate date time condition name

Function Arguments
nametypedescription
dayOfMonthconst int day of month
month const int month
year const int64_t year

Function Reference List


File SHAREDvars Documentation

File Name: SHAREDvars.cpp/.hpp

File Description: SHARED vars

File Function List


File Diagram (functions hierarchy)


Function SHAREDvarsClass::maxInt()

Function Summary
namereturn typedescription
maxIntintmax int

Function Arguments
nametypedescription
aint a
b const int b

Function Reference List
N/A


Function SHAREDvarsClass::minInt()

Function Summary
namereturn typedescription
minIntintmin int

Function Arguments
nametypedescription
aint a
b const int b

Function Reference List
N/A


Function SHAREDvarsClass::getCurrentDirectory()

Function Summary
namereturn typedescription
getCurrentDirectorystringget current directory

Function Reference List
N/A


Function SHAREDvarsClass::setCurrentDirectory()

Function Summary
namereturn typedescription
setCurrentDirectoryvoidset current directory

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function SHAREDvarsClass::createDirectory()

Function Summary
namereturn typedescription
createDirectoryvoidcreate directory

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function SHAREDvarsClass::directoryExists()

Function Summary
namereturn typedescription
directoryExistsbooldirectory exists

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function SHAREDvarsClass::checkIfFolderExistsAndIfNotMakeAndSetAsCurrent()

Function Summary
namereturn typedescription
checkIfFolderExistsAndIfNotMakeAndSetAsCurrentboolcheck if folder exists and if not make and set as current

Function Arguments
nametypedescription
folderNameconst string* folder name

Function Reference List


Function SHAREDvarsClass::convertStringToLowerCase()

Function Summary
namereturn typedescription
convertStringToLowerCasestringconvert string to lower case

Function Arguments
nametypedescription
arbitraryCaseStringconst string* arbitrary case string

Function Reference List
N/A


Function SHAREDvarsClass::convertStringToFirstUpperCase()

Function Summary
namereturn typedescription
convertStringToFirstUpperCasestringconvert string to first upper case

Function Arguments
nametypedescription
arbitraryCaseStringconst string* arbitrary case string

Function Reference List
N/A


Function SHAREDvarsClass::convertCharToString()

Function Summary
namereturn typedescription
convertCharToStringstringconvert char to string

Function Arguments
nametypedescription
cchar c

Function Reference List
N/A


Function SHAREDvarsClass::convertDoubleToString()

Function Summary
namereturn typedescription
convertDoubleToStringstringconvert double to string

Function Arguments
nametypedescription
numberconst double number
format const string format

Function Reference List


Function SHAREDvarsClass::convertIntToString()

Function Summary
namereturn typedescription
convertIntToStringstringconvert int to string

Function Arguments
nametypedescription
numberconst int number

Function Reference List


Function SHAREDvarsClass::convertIntToString()

Function Summary
namereturn typedescription
convertIntToStringstringconvert int to string

Function Arguments
nametypedescription
numberconst int number
format const string format

Function Reference List


Function SHAREDvarsClass::convertUnsignedIntToString()

Function Summary
namereturn typedescription
convertUnsignedIntToStringstringconvert unsigned int to string

Function Arguments
nametypedescription
numberconst int number

Function Reference List


Function SHAREDvarsClass::convertBoolToString()

Function Summary
namereturn typedescription
convertBoolToStringstringconvert bool to string

Function Arguments
nametypedescription
numberconst bool number

Function Reference List
N/A


Function SHAREDvarsClass::convertLongToString()

Function Summary
namereturn typedescription
convertLongToStringstringconvert long to string

Function Arguments
nametypedescription
numberconst int64_t number

Function Reference List


Function SHAREDvarsClass::convertStringToInt()

Function Summary
namereturn typedescription
convertStringToIntintconvert string to int

Function Arguments
nametypedescription
numberconst string number

Function Reference List
N/A


Function SHAREDvarsClass::convertStringToBool()

Function Summary
namereturn typedescription
convertStringToBoolboolconvert string to bool

Function Arguments
nametypedescription
numberstring number

Function Reference List
N/A


Function SHAREDvarsClass::convertStringToLong()

Function Summary
namereturn typedescription
convertStringToLongint64_tconvert string to long

Function Arguments
nametypedescription
numberconst string number

Function Reference List
N/A


Function SHAREDvarsClass::convertStringToDouble()

Function Summary
namereturn typedescription
convertStringToDoubledoubleconvert string to double

Function Arguments
nametypedescription
numberconst string number

Function Reference List
N/A


Function SHAREDvarsClass::textInTextArray()

Function Summary
namereturn typedescription
textInTextArraybooltext in text array

Function Arguments
nametypedescription
textconst string text
textArray const string* text array
arraySize const int array size

Function Reference List


Function SHAREDvarsClass::textInTextArray()

Function Summary
namereturn typedescription
textInTextArraybooltext in text array

Function Arguments
nametypedescription
textconst string text
textArray const string* text array
arraySize const int array size
arrayIndexOfResultFound int* array index of result found

Function Reference List
N/A


Function SHAREDvarsClass::charInCharArray()

Function Summary
namereturn typedescription
charInCharArrayboolchar in char array

Function Arguments
nametypedescription
cconst char c
charArray const char* char array
arraySize const int array size

Function Reference List
N/A


Function SHAREDvarsClass::intInIntArray()

Function Summary
namereturn typedescription
intInIntArrayboolint in int array

Function Arguments
nametypedescription
iTestconst int iTest
intArray const int* int array
arraySize const int array size

Function Reference List
N/A


Function SHAREDvarsClass::writeStringToFile()

Function Summary
namereturn typedescription
writeStringToFilevoidwrite string to file

Function Arguments
nametypedescription
fileNameconst string file name
s string* s

Function Reference List
N/A


Function SHAREDvarsClass::getFileContents()

Function Summary
namereturn typedescription
getFileContentsstringget file contents

Function Arguments
nametypedescription
inputFileNameconst string input file name

Function Reference List
N/A


Function SHAREDvarsClass::getLinesFromFile()

Function Summary
namereturn typedescription
getLinesFromFileboolget lines from file

Function Arguments
nametypedescription
fileContentsStringconst string* file contents string
fileLinesList vector<string>* file lines list
numberOfLinesInFile int* number of lines in file

Function Reference List
N/A


Function SHAREDvarsClass::fileExists()

Function Summary
namereturn typedescription
fileExistsboolfile exists

Function Arguments
nametypedescription
inputFileNameconst string input file name

Function Reference List
N/A


Function SHAREDvarsClass::sprintfSafeDouble()

Function Summary
namereturn typedescription
sprintfSafeDoublevoidsprintf safe double

Function Arguments
nametypedescription
stringCharStarchar* string char star
type const char* type
number double number

Function Reference List
N/A


Function SHAREDvarsClass::sprintfSafeInt()

Function Summary
namereturn typedescription
sprintfSafeIntvoidsprintf safe int

Function Arguments
nametypedescription
stringCharStarchar* string char star
type const char* type
number int number

Function Reference List
N/A


Function SHAREDvarsClass::sprintfSafeLong()

Function Summary
namereturn typedescription
sprintfSafeLongvoidsprintf safe long

Function Arguments
nametypedescription
stringCharStarchar* string char star
type const char* type
number int64_t number

Function Reference List
N/A


Function SHAREDvarsClass::getBitValue()

Function Summary
namereturn typedescription
getBitValueboolget bit value

Function Arguments
nametypedescription
numberint64_t number
x int x

Function Reference List
N/A


Function SHAREDvarsClass::setBitValue()

Function Summary
namereturn typedescription
setBitValueint64_tset bit value

Function Arguments
nametypedescription
numberint64_t number
x int x
val bool val

Function Reference List
N/A


Function SHAREDvarsClass::isCapitalised()

Function Summary
namereturn typedescription
isCapitalisedboolis capitalised

Function Arguments
nametypedescription
textconst string text

Function Reference List
N/A


File GIAtranslator Documentation

File Name: GIAtranslator.cpp/.hpp

File Description: GIA translator

File Function List


File Diagram (functions hierarchy)


Function GIAtranslatorClass::parseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences()

Function Summary
namereturn typedescription
parseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentencesboolparse NLP parser file and create semantic network based upon dependency parsed sentences

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
inputTextNLPrelationXMLfileName const string input text NLP relation XML file name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
outputCFFfileName string output CFF file name

Function Reference List


Function GIAtranslatorClass::createSemanticNetworkBasedUponDependencyParsedSentences()

Function Summary
namereturn typedescription
createSemanticNetworkBasedUponDependencyParsedSentencesboolcreate semantic network based upon dependency parsed sentences

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorClass::convertSentenceListRelationsIntoGIAnetworkNodes()

Function Summary
namereturn typedescription
convertSentenceListRelationsIntoGIAnetworkNodesboolconvert sentence list relations into GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorClass::convertSentenceRelationsIntoGIAnetworkNodesWrapper()

Function Summary
namereturn typedescription
convertSentenceRelationsIntoGIAnetworkNodesWrapperboolconvert sentence relations into GIA network nodes wrapper

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorClass::convertSentenceRelationsIntoGIAnetworkNodes()

Function Summary
namereturn typedescription
convertSentenceRelationsIntoGIAnetworkNodesboolconvert sentence relations into GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
linkPreestablishedReferencesGIA bool link preestablished references GIA
firstGIAcoreferenceInList GIAcoreference* first GIA coreference in list

Function Reference List


Function GIAtranslatorClass::performGIApostProcessing()

Function Summary
namereturn typedescription
performGIApostProcessingboolperform GIA post processing

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorClass::dreamModeLinkSpecificConceptsAndActions()

Function Summary
namereturn typedescription
dreamModeLinkSpecificConceptsAndActionsvoiddream mode link specific concepts and actions

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorClass::createAndLinkNonSpecificConceptsForAllEntities()

Function Summary
namereturn typedescription
createAndLinkNonSpecificConceptsForAllEntitiesvoidcreate and link non specific concepts for all entities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


File GIAtranslatorOperations Documentation

File Name: GIAtranslatorOperations.cpp/.hpp

File Description: GIA translator operations

File Function List


File Diagram (functions hierarchy)


Class GIAtranslatorVariablesClass

Class Data
nametypedescription
isQueryboolis query
NLPrelexCompatibilityModeboolNLP relex compatibility mode
maxNumberSentencesintmax number sentences
NLPexeFolderArray[GIA_NLP_PARSER_NUMBER_OF_TYPES]stringNLP exe folder array [GIA_NLP_PARSER_NUMBER_OF_TYPES]
NLPfeatureParserintNLP feature parser
NLPdependencyRelationsParserintNLP dependency relations parser
NLPdependencyRelationsTypeintNLP dependency relations type
NLPassumePreCollapsedStanfordRelationsboolNLP assume pre collapsed stanford relations
NLPclientboolNLP client
parseGIA2fileboolparse GIA2 file
linkPreestablishedReferencesGIAboollink preestablished references GIA
entityNodesActiveListNetworkIndexesunordered_map<string,GIAentityNode*>*entity nodes active list network indexes
entityNodesActiveListCompletevector<GIAentityNode*>*entity nodes active list complete
currentEntityNodeIDInNetworkIndexEntityNodesListint64_tcurrent entity node IDI n network index entity nodes list
currentEntityNodeIDInCompleteListint64_tcurrent entity node IDI n complete list
entityNodesActiveListSentencesmap<int,entity nodes active list sentences
timeConditionNodesActiveListunordered_map<int64_t,time condition nodes active list
firstSentenceInListGIAsentence*first sentence in list
saveNetworkboolsave network
GIAentityNodeArrayFilledvector<bool>*GIA entity node array filled
GIAnetworkIndexNodeArrayvector<GIAentityNode*>*GIA network index node array
GIAentityNodeArrayvector<GIAentityNode*>*GIA entity node array
GIAfeatureTempEntityNodeArrayvector<GIAentityNode*>*GIA feature temp entity node array
currentSentenceInListGIAsentence*current sentence in list
currentPreprocessorSentenceInListLRPpreprocessorSentence*current preprocessor sentence in list
sentenceNetworkIndexEntityNodesListvector<GIAentityNode*>*sentence network index entity nodes list
sentenceTimeConditionNodesListunordered_map<int64_t,sentence time condition nodes list
featureArrayTempvector<GIAfeature*>*feature array temp
sentenceIndexintsentence index
NLCpreprepreprocessorTranslatorVariablesLRPtranslatorVariablesClassNLC preprepreprocessor translator variables
LRPpreprocessorTranslatorVariablesLRPtranslatorVariablesClassLRP preprocessor translator variables
nlcGeneratedCodestringnlc generated code
giaQueryAnswerstringgia query answer
ANNtranslatorVariablesANNtranslatorVariablesClassANN translator variables

Function GIAtranslatorOperationsClass::connectionIsAlias()

Function Summary
namereturn typedescription
connectionIsAliasboolconnection is alias

Function Arguments
nametypedescription
connectionconst GIAentityConnection* connection

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectionTargetIsRelationship()

Function Summary
namereturn typedescription
connectionTargetIsRelationshipboolconnection target is relationship

Function Arguments
nametypedescription
connectionconst GIAentityConnection* connection

Function Reference List


Function GIAtranslatorOperationsClass::generateConnectionType()

Function Summary
namereturn typedescription
generateConnectionTypeintgenerate connection type

Function Arguments
nametypedescription
relationshipEntityTypeconst int relationship entity type

Function Reference List
N/A


Function GIAtranslatorOperationsClass::generateConnectionTypeReverse()

Function Summary
namereturn typedescription
generateConnectionTypeReverseintgenerate connection type reverse

Function Arguments
nametypedescription
relationshipEntityTypeconst int relationship entity type

Function Reference List
N/A


Function GIAtranslatorOperationsClass::generateInvertedConnectionType()

Function Summary
namereturn typedescription
generateInvertedConnectionTypeintgenerate inverted connection type

Function Arguments
nametypedescription
entityconst GIAentityNode* entity
connectionType const int connection type

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getDefinitionRelationshipTargetEntity()

Function Summary
namereturn typedescription
getDefinitionRelationshipTargetEntityGIAentityNode*get definition relationship target entity

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity

Function Reference List


Function GIAtranslatorOperationsClass::getPropertyRelationshipObjectEntity()

Function Summary
namereturn typedescription
getPropertyRelationshipObjectEntityGIAentityNode*get property relationship object entity

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection

Function Reference List


Function GIAtranslatorOperationsClass::getPropertyRelationshipSubjectEntity()

Function Summary
namereturn typedescription
getPropertyRelationshipSubjectEntityGIAentityNode*get property relationship subject entity

Function Arguments
nametypedescription
relationshipConnectionReverseGIAentityConnection* relationship connection reverse

Function Reference List


Function GIAtranslatorOperationsClass::getDefinitionRelationshipObjectEntity()

Function Summary
namereturn typedescription
getDefinitionRelationshipObjectEntityGIAentityNode*get definition relationship object entity

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection

Function Reference List


Function GIAtranslatorOperationsClass::getDefinitionRelationshipSubjectEntity()

Function Summary
namereturn typedescription
getDefinitionRelationshipSubjectEntityGIAentityNode*get definition relationship subject entity

Function Arguments
nametypedescription
relationshipConnectionReverseGIAentityConnection* relationship connection reverse

Function Reference List


Function GIAtranslatorOperationsClass::getRelationshipObjectEntity()

Function Summary
namereturn typedescription
getRelationshipObjectEntityGIAentityNode*get relationship object entity

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity

Function Reference List


Function GIAtranslatorOperationsClass::getRelationshipObjectEntityConnection()

Function Summary
namereturn typedescription
getRelationshipObjectEntityConnectionGIAentityConnection*get relationship object entity connection

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getRelationshipSubjectEntity()

Function Summary
namereturn typedescription
getRelationshipSubjectEntityGIAentityNode*get relationship subject entity

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity

Function Reference List


Function GIAtranslatorOperationsClass::getRelationshipSubjectEntityConnection()

Function Summary
namereturn typedescription
getRelationshipSubjectEntityConnectionGIAentityConnection*get relationship subject entity connection

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectPropertyToEntity()

Function Summary
namereturn typedescription
connectPropertyToEntityboolconnect property to entity

Function Arguments
nametypedescription
propertyRelationshipSubjectEntityGIAentityNode* property relationship subject entity
propertyRelationshipObjectEntity GIAentityNode* property relationship object entity
propertyRelationshipEntity GIAentityNode* property relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDefinitionToEntity()

Function Summary
namereturn typedescription
connectDefinitionToEntityboolconnect definition to entity

Function Arguments
nametypedescription
definitionRelationshipSubjectEntityGIAentityNode* definition relationship subject entity
definitionRelationshipObjectEntity GIAentityNode* definition relationship object entity
definitionRelationshipEntity GIAentityNode* definition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDefinitionToEntityMarkConnectionAsAlias()

Function Summary
namereturn typedescription
connectDefinitionToEntityMarkConnectionAsAliasboolconnect definition to entity mark connection as alias

Function Arguments
nametypedescription
definitionRelationshipSubjectEntityGIAentityNode* definition relationship subject entity
definitionRelationshipObjectEntity GIAentityNode* definition relationship object entity
definitionRelationshipEntity GIAentityNode* definition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectBeingDefinitionToEntity()

Function Summary
namereturn typedescription
connectBeingDefinitionToEntityboolconnect being definition to entity

Function Arguments
nametypedescription
definitionRelationshipObjectEntityGIAentityNode* definition relationship object entity
definitionRelationshipEntity GIAentityNode* definition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectHavingPropertyToEntity()

Function Summary
namereturn typedescription
connectHavingPropertyToEntityboolconnect having property to entity

Function Arguments
nametypedescription
propertyRelationshipObjectEntityGIAentityNode* property relationship object entity
propertyRelationshipEntity GIAentityNode* property relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectPropertyToEntity()

Function Summary
namereturn typedescription
connectDirectPropertyToEntityboolconnect direct property to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
auxHaveEntity const GIAentityNode* aux have entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectDefinitionToEntity()

Function Summary
namereturn typedescription
connectDirectDefinitionToEntityboolconnect direct definition to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
auxHaveEntity const GIAentityNode* aux have entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectPropertyToEntity()

Function Summary
namereturn typedescription
connectDirectPropertyToEntityboolconnect direct property to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectDefinitionToEntity()

Function Summary
namereturn typedescription
connectDirectDefinitionToEntityboolconnect direct definition to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectDefinitionToEntityMarkConnectionAsAlias()

Function Summary
namereturn typedescription
connectDirectDefinitionToEntityMarkConnectionAsAliasboolconnect direct definition to entity mark connection as alias

Function Arguments
nametypedescription
definitionRelationshipSubjectEntityGIAentityNode* definition relationship subject entity
definitionRelationshipObjectEntity GIAentityNode* definition relationship object entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDirectRelationshipToEntity()

Function Summary
namereturn typedescription
connectDirectRelationshipToEntityboolconnect direct relationship to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
auxHaveEntity const GIAentityNode* aux have entity
sameReferenceSet bool same reference set
relationshipEntityType const int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables
markConnectionAsAlias const bool mark connection as alias

Function Reference List


Function GIAtranslatorOperationsClass::connectActionToEntity()

Function Summary
namereturn typedescription
connectActionToEntityboolconnect action to entity

Function Arguments
nametypedescription
actionRelationshipSubjectEntityGIAentityNode* action relationship subject entity
actionRelationshipObjectEntity GIAentityNode* action relationship object entity
actionRelationshipEntity GIAentityNode* action relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectConditionToEntity()

Function Summary
namereturn typedescription
connectConditionToEntityboolconnect condition to entity

Function Arguments
nametypedescription
conditionRelationshipSubjectEntityGIAentityNode* condition relationship subject entity
conditionRelationshipObjectEntity GIAentityNode* condition relationship object entity
conditionRelationshipEntity GIAentityNode* condition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectActionToSubject()

Function Summary
namereturn typedescription
connectActionToSubjectboolconnect action to subject

Function Arguments
nametypedescription
actionRelationshipSubjectEntityGIAentityNode* action relationship subject entity
actionRelationshipEntity GIAentityNode* action relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectActionToObject()

Function Summary
namereturn typedescription
connectActionToObjectboolconnect action to object

Function Arguments
nametypedescription
actionRelationshipObjectEntityGIAentityNode* action relationship object entity
actionRelationshipEntity GIAentityNode* action relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectConditionToSubject()

Function Summary
namereturn typedescription
connectConditionToSubjectboolconnect condition to subject

Function Arguments
nametypedescription
conditionRelationshipSubjectEntityGIAentityNode* condition relationship subject entity
conditionRelationshipEntity GIAentityNode* condition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectConditionToObject()

Function Summary
namereturn typedescription
connectConditionToObjectboolconnect condition to object

Function Arguments
nametypedescription
conditionRelationshipObjectEntityGIAentityNode* condition relationship object entity
conditionRelationshipEntity GIAentityNode* condition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDefinitionToSubject()

Function Summary
namereturn typedescription
connectDefinitionToSubjectboolconnect definition to subject

Function Arguments
nametypedescription
definitionRelationshipSubjectEntityGIAentityNode* definition relationship subject entity
definitionRelationshipEntity GIAentityNode* definition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectDefinitionToObject()

Function Summary
namereturn typedescription
connectDefinitionToObjectboolconnect definition to object

Function Arguments
nametypedescription
definitionRelationshipObjectEntityGIAentityNode* definition relationship object entity
definitionRelationshipEntity GIAentityNode* definition relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectPropertyToSubject()

Function Summary
namereturn typedescription
connectPropertyToSubjectboolconnect property to subject

Function Arguments
nametypedescription
propertyRelationshipSubjectEntityGIAentityNode* property relationship subject entity
propertyRelationshipEntity GIAentityNode* property relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectPropertyToObject()

Function Summary
namereturn typedescription
connectPropertyToObjectboolconnect property to object

Function Arguments
nametypedescription
propertyRelationshipObjectEntityGIAentityNode* property relationship object entity
propertyRelationshipEntity GIAentityNode* property relationship entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectRelationshipToEntity()

Function Summary
namereturn typedescription
connectRelationshipToEntityboolconnect relationship to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
relationshipEntity GIAentityNode* relationship entity
sameReferenceSet bool same reference set
relationshipEntityType int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectRelationshipToSubject()

Function Summary
namereturn typedescription
connectRelationshipToSubjectboolconnect relationship to subject

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipEntity GIAentityNode* relationship entity
sameReferenceSet bool same reference set
relationshipEntityType int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectRelationshipToObject()

Function Summary
namereturn typedescription
connectRelationshipToObjectboolconnect relationship to object

Function Arguments
nametypedescription
relationshipObjectEntityGIAentityNode* relationship object entity
relationshipEntity GIAentityNode* relationship entity
sameReferenceSet bool same reference set
relationshipEntityType int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::setRelationshipObjectToSubstanceIfNecessary()

Function Summary
namereturn typedescription
setRelationshipObjectToSubstanceIfNecessaryvoidset relationship object to substance if necessary

Function Arguments
nametypedescription
relationshipSubjectEntityconst GIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
relationshipEntityType const int relationship entity type

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectRelationshipInstanceToSubject()

Function Summary
namereturn typedescription
connectRelationshipInstanceToSubjectvoidconnect relationship instance to subject

Function Arguments
nametypedescription
subjectEntityGIAentityNode* subject entity
newOrExistingRelationship GIAentityNode* new or existing relationship
sameReferenceSet bool same reference set
relationshipEntityType const int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectRelationshipInstanceToObject()

Function Summary
namereturn typedescription
connectRelationshipInstanceToObjectvoidconnect relationship instance to object

Function Arguments
nametypedescription
objectEntityGIAentityNode* object entity
newOrExistingRelationship GIAentityNode* new or existing relationship
sameReferenceSet bool same reference set
relationshipEntityType const int relationship entity type
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectEntities()

Function Summary
namereturn typedescription
connectEntitiesvoidconnect entities

Function Arguments
nametypedescription
entity1GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
connectionType int connection type
connectionTypeInverse int connection type inverse
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addInstanceToInstanceDefinition()

Function Summary
namereturn typedescription
addInstanceToInstanceDefinitionGIAentityNode*add instance to instance definition

Function Arguments
nametypedescription
entityGIAentityNode* entity
instanceType int instance type
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addInstance()

Function Summary
namereturn typedescription
addInstanceGIAentityNode*add instance

Function Arguments
nametypedescription
entityGIAentityNode* entity
instanceType int instance type
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::forwardInfoToNewSubstance()

Function Summary
namereturn typedescription
forwardInfoToNewSubstancevoidforward info to new substance

Function Arguments
nametypedescription
entityGIAentityNode* entity
newSubstance GIAentityNode* new substance

Function Reference List
N/A


Function GIAtranslatorOperationsClass::addTenseOnlyTimeConditionToSubstance()

Function Summary
namereturn typedescription
addTenseOnlyTimeConditionToSubstancevoidadd tense only time condition to substance

Function Arguments
nametypedescription
substanceNodeGIAentityNode* substance node
tense const int tense
isProgressive const bool is progressive

Function Reference List
N/A


Function GIAtranslatorOperationsClass::convertPrepositionToRelex()

Function Summary
namereturn typedescription
convertPrepositionToRelexstringconvert preposition to relex

Function Arguments
nametypedescription
prepositionconst string* preposition
prepositionFound bool* preposition found

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getFoundComparisonVariable()

Function Summary
namereturn typedescription
getFoundComparisonVariableboolget found comparison variable

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getComparisonVariableNode()

Function Summary
namereturn typedescription
getComparisonVariableNodeGIAentityNode*get comparison variable node

Function Reference List
N/A


Function GIAtranslatorOperationsClass::setFoundComparisonVariable()

Function Summary
namereturn typedescription
setFoundComparisonVariablevoidset found comparison variable

Function Arguments
nametypedescription
valueconst bool value

Function Reference List
N/A


Function GIAtranslatorOperationsClass::setComparisonVariableNode()

Function Summary
namereturn typedescription
setComparisonVariableNodevoidset comparison variable node

Function Arguments
nametypedescription
newComparisonVariableNodeGIAentityNode* new comparison variable node

Function Reference List
N/A


Function GIAtranslatorOperationsClass::applyNetworkIndexEntityAlreadyExistsFunction()

Function Summary
namereturn typedescription
applyNetworkIndexEntityAlreadyExistsFunctionvoidapply network index entity already exists function

Function Arguments
nametypedescription
entityGIAentityNode* entity
entityAlreadyExistant const bool entity already existant
tempEntityEnabled const bool temp entity enabled

Function Reference List
N/A


Function GIAtranslatorOperationsClass::disableNetworkIndexEntityBasedUponFirstSentenceToAppearInNetwork()

Function Summary
namereturn typedescription
disableNetworkIndexEntityBasedUponFirstSentenceToAppearInNetworkvoiddisable network index entity based upon first sentence to appear in network

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::disableEntity()

Function Summary
namereturn typedescription
disableEntityvoiddisable entity

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::disableInstanceAndNetworkIndexEntityBasedUponFirstSentenceToAppearInNetwork()

Function Summary
namereturn typedescription
disableInstanceAndNetworkIndexEntityBasedUponFirstSentenceToAppearInNetworkvoiddisable instance and network index entity based upon first sentence to appear in network

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List


Function GIAtranslatorOperationsClass::disableInstanceAndNetworkIndexEntity()

Function Summary
namereturn typedescription
disableInstanceAndNetworkIndexEntityvoiddisable instance and network index entity

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List


Function GIAtranslatorOperationsClass::recordSentenceNetworkIndexNodesAsPermanentIfTheyAreStillEnabled()

Function Summary
namereturn typedescription
recordSentenceNetworkIndexNodesAsPermanentIfTheyAreStillEnabledvoidrecord sentence network index nodes as permanent if they are still enabled

Function Arguments
nametypedescription
networkIndexEntityNodesListMapunordered_map<string,GIAentityNode*>* network index entity nodes list map

Function Reference List
N/A


Function GIAtranslatorOperationsClass::recordNetworkIndexNodesAsDisabledIfTheyAreNotPermanent()

Function Summary
namereturn typedescription
recordNetworkIndexNodesAsDisabledIfTheyAreNotPermanentvoidrecord network index nodes as disabled if they are not permanent

Function Arguments
nametypedescription
networkIndexEntityNodesListMapunordered_map<string,GIAentityNode*>* network index entity nodes list map

Function Reference List
N/A


Function GIAtranslatorOperationsClass::recordNetworkIndexNodesAsNonPermanentIfTheyAreDisabled()

Function Summary
namereturn typedescription
recordNetworkIndexNodesAsNonPermanentIfTheyAreDisabledvoidrecord network index nodes as non permanent if they are disabled

Function Arguments
nametypedescription
networkIndexEntityNodesListMapunordered_map<string,GIAentityNode*>* network index entity nodes list map

Function Reference List
N/A


Function GIAtranslatorOperationsClass::convertRelexPOStypeToWordnetWordType()

Function Summary
namereturn typedescription
convertRelexPOStypeToWordnetWordTypevoidconvert relex POS type to wordnet word type

Function Arguments
nametypedescription
relexPOStypeconst string* relex POS type
grammaticalWordTypeTemp int* grammatical word type temp
grammaticallyStrict const bool grammatically strict

Function Reference List
N/A


Function GIAtranslatorOperationsClass::convertStanfordPOStagToRelexPOStypeAndWordnetWordType()

Function Summary
namereturn typedescription
convertStanfordPOStagToRelexPOStypeAndWordnetWordTypevoidconvert stanford POS tag to relex POS type and wordnet word type

Function Arguments
nametypedescription
POStagconst string* POS tag
relexPOStype string* relex POS type
grammaticalWordTypeTemp int* grammatical word type temp
grammaticallyStrict const bool grammatically strict

Function Reference List


Function GIAtranslatorOperationsClass::generateTempFeatureArray()

Function Summary
namereturn typedescription
generateTempFeatureArrayvoidgenerate temp feature array

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
featureArrayTemp vector<GIAfeature*>* feature array temp

Function Reference List


Function GIAtranslatorOperationsClass::determineSameReferenceSetValue()

Function Summary
namereturn typedescription
determineSameReferenceSetValuebooldetermine same reference set value

Function Arguments
nametypedescription
defaultSameSetValueForRelationbool default same set value for relation
relation const GIArelation* relation

Function Reference List
N/A


Function GIAtranslatorOperationsClass::addPropertyRelationshipToEntity()

Function Summary
namereturn typedescription
addPropertyRelationshipToEntityGIAentityNode*add property relationship to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addDefinitionRelationshipToEntity()

Function Summary
namereturn typedescription
addDefinitionRelationshipToEntityGIAentityNode*add definition relationship to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addConditionRelationshipArtificialToEntity()

Function Summary
namereturn typedescription
addConditionRelationshipArtificialToEntityGIAentityNode*add condition relationship artificial to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
conditionName string condition name
sameReferenceSet bool same reference set
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addRelationshipArtificialToEntity()

Function Summary
namereturn typedescription
addRelationshipArtificialToEntityGIAentityNode*add relationship artificial to entity

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
relationshipEntityType int relationship entity type
relationshipEntityName string relationship entity name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialProperty()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialPropertyGIAentityNode*find or add entity node by name simple wrapper relationship artificial property

Function Arguments
nametypedescription
propertyRelationshipSubjectEntityGIAentityNode* property relationship subject entity
propertyRelationshipObjectEntity const GIAentityNode* property relationship object entity
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialDefinition()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialDefinitionGIAentityNode*find or add entity node by name simple wrapper relationship artificial definition

Function Arguments
nametypedescription
definitionRelationshipSubjectEntityGIAentityNode* definition relationship subject entity
definitionRelationshipObjectEntity const GIAentityNode* definition relationship object entity
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialCondition()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialConditionGIAentityNode*find or add entity node by name simple wrapper relationship artificial condition

Function Arguments
nametypedescription
propertyRelationshipSubjectEntityGIAentityNode* property relationship subject entity
propertyRelationshipObjectEntity const GIAentityNode* property relationship object entity
conditionName string condition name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificial()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificialGIAentityNode*find or add entity node by name simple wrapper relationship artificial

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity const GIAentityNode* relationship object entity
relationshipEntityType int relationship entity type
relationshipEntityName string relationship entity name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findExistingRelationshipInSentenceEntityArray()

Function Summary
namereturn typedescription
findExistingRelationshipInSentenceEntityArrayboolfind existing relationship in sentence entity array

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity const GIAentityNode* relationship object entity
relationshipEntityType const int relationship entity type
relationshipEntityName const string relationship entity name
relationshipEntity constEffective GIAentityNode** relationship entity
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addEntityNodeByNameSimpleWrapperRelationshipArtificial()

Function Summary
namereturn typedescription
addEntityNodeByNameSimpleWrapperRelationshipArtificialGIAentityNode*add entity node by name simple wrapper relationship artificial

Function Arguments
nametypedescription
relationshipEntityTypeint relationship entity type
relationshipEntityName string relationship entity name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipCondition()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipConditionGIAentityNode*find or add entity node by name simple wrapper relationship condition

Function Arguments
nametypedescription
featureIndexint feature index
entityNodeName string* entity node name
entityAlreadyExistant bool* entity already existant
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddNetworkIndexEntityByNameSimpleWrapperRelationship()

Function Summary
namereturn typedescription
findOrAddNetworkIndexEntityByNameSimpleWrapperRelationshipGIAentityNode*find or add network index entity by name simple wrapper relationship

Function Arguments
nametypedescription
featureIndexint feature index
entityNodeName string* entity node name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::addDefinitionRelationshipToEntity2()

Function Summary
namereturn typedescription
addDefinitionRelationshipToEntity2GIAentityNode*add definition relationship to entity 2

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
translatorVariablesSentencesParsed GIAtranslatorVariablesClass* translator variables sentences parsed

Function Reference List


Function GIAtranslatorOperationsClass::addRelationshipArtificialToEntity2()

Function Summary
namereturn typedescription
addRelationshipArtificialToEntity2GIAentityNode*add relationship artificial to entity 2

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity GIAentityNode* relationship object entity
sameReferenceSet bool same reference set
relationshipEntityType int relationship entity type
relationshipEntityName string relationship entity name
translatorVariablesSentencesParsed GIAtranslatorVariablesClass* translator variables sentences parsed

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificial2()

Function Summary
namereturn typedescription
findOrAddEntityNodeByNameSimpleWrapperRelationshipArtificial2GIAentityNode*find or add entity node by name simple wrapper relationship artificial 2

Function Arguments
nametypedescription
relationshipSubjectEntityGIAentityNode* relationship subject entity
relationshipObjectEntity const GIAentityNode* relationship object entity
relationshipEntityType int relationship entity type
relationshipEntityName string relationship entity name
translatorVariablesSentencesParsed GIAtranslatorVariablesClass* translator variables sentences parsed

Function Reference List


Function GIAtranslatorOperationsClass::addEntityNodeByNameSimpleWrapperRelationshipArtificial2()

Function Summary
namereturn typedescription
addEntityNodeByNameSimpleWrapperRelationshipArtificial2GIAentityNode*add entity node by name simple wrapper relationship artificial 2

Function Arguments
nametypedescription
relationshipEntityTypeint relationship entity type
relationshipEntityName string relationship entity name
translatorVariablesSentencesParsed GIAtranslatorVariablesClass* translator variables sentences parsed

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddNetworkIndexEntityByNameSimpleWrapperRelationship2()

Function Summary
namereturn typedescription
findOrAddNetworkIndexEntityByNameSimpleWrapperRelationship2GIAentityNode*find or add network index entity by name simple wrapper relationship 2

Function Arguments
nametypedescription
relationshipEntityNamestring relationship entity name
translatorVariablesSentencesParsed GIAtranslatorVariablesClass* translator variables sentences parsed

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddNetworkIndexEntityNodeByNameSimpleWrapper()

Function Summary
namereturn typedescription
findOrAddNetworkIndexEntityNodeByNameSimpleWrapperGIAentityNode*find or add network index entity node by name simple wrapper

Function Arguments
nametypedescription
entityNodeNamestring* entity node name
entityAlreadyExistant bool* entity already existant
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findOrAddNetworkIndexEntityNodeByNameSimpleWrapper()

Function Summary
namereturn typedescription
findOrAddNetworkIndexEntityNodeByNameSimpleWrapperGIAentityNode*find or add network index entity node by name simple wrapper

Function Arguments
nametypedescription
entityNodeNamestring* entity node name
entityAlreadyExistant bool* entity already existant
translatorVariables GIAtranslatorVariablesClass* translator variables
tempEntityEnabled const bool temp entity enabled

Function Reference List


Function GIAtranslatorOperationsClass::writeVectorConnection()

Function Summary
namereturn typedescription
writeVectorConnectionGIAentityConnection*write vector connection

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNodeToAdd GIAentityNode* entity node to add
connectionType int connection type
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::findEntityNodePointerInVector()

Function Summary
namereturn typedescription
findEntityNodePointerInVectorboolfind entity node pointer in vector

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNodeToFind const GIAentityNode* entity node to find
connectionType const int connection type
connectionFound GIAentityConnection** connection found

Function Reference List
N/A


Function GIAtranslatorOperationsClass::findSameSentenceEntityNodePointerInVector()

Function Summary
namereturn typedescription
findSameSentenceEntityNodePointerInVectorboolfind same sentence entity node pointer in vector

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNodeToFind const GIAentityNode* entity node to find
connectionType const int connection type
connectionFound GIAentityConnection** connection found
sentenceIndex const int sentence index

Function Reference List
N/A


Function GIAtranslatorOperationsClass::determineNextIdInstance()

Function Summary
namereturn typedescription
determineNextIdInstanceint64_tdetermine next id instance

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List


Function GIAtranslatorOperationsClass::addInstanceEntityNodeToActiveLists()

Function Summary
namereturn typedescription
addInstanceEntityNodeToActiveListsvoidadd instance entity node to active lists

Function Arguments
nametypedescription
entityGIAentityNode* entity
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::mergeEntityNodesAddAlias()

Function Summary
namereturn typedescription
mergeEntityNodesAddAliasboolmerge entity nodes add alias

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNodeToMerge GIAentityNode* entity node to merge
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::getPrimaryNetworkIndexNodeDefiningInstance()

Function Summary
namereturn typedescription
getPrimaryNetworkIndexNodeDefiningInstanceGIAentityNode*get primary network index node defining instance

Function Arguments
nametypedescription
instanceEntityGIAentityNode* instance entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getFirstNLCsentenceInListGIA()

Function Summary
namereturn typedescription
getFirstNLCsentenceInListGIANLCpreprocessorSentence*get first NLC sentence in list GIA

Function Reference List
N/A


Function GIAtranslatorOperationsClass::checkIndefiniteEntityCorrespondingToDefiniteEntityInSameContextGIA()

Function Summary
namereturn typedescription
checkIndefiniteEntityCorrespondingToDefiniteEntityInSameContextGIAboolcheck indefinite entity corresponding to definite entity in same context GIA

Function Arguments
nametypedescription
indefiniteEntityconst GIAentityNode* indefinite entity
definiteEntity const GIAentityNode* definite entity
indentationDifferenceFound int* indentation difference found

Function Reference List


Function GIAtranslatorOperationsClass::checkIfSentenceIsMathTextParsablePhrase()

Function Summary
namereturn typedescription
checkIfSentenceIsMathTextParsablePhraseboolcheck if sentence is math text parsable phrase

Function Arguments
nametypedescription
sentenceIndexconst int sentence index

Function Reference List


Function GIAtranslatorOperationsClass::createNewNonspecificConcept()

Function Summary
namereturn typedescription
createNewNonspecificConceptGIAentityNode*create new nonspecific concept

Function Arguments
nametypedescription
networkIndexEntityGIAentityNode* network index entity
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::getNonspecificConceptEntityFromNetworkIndex()

Function Summary
namereturn typedescription
getNonspecificConceptEntityFromNetworkIndexGIAentityNode*get nonspecific concept entity from network index

Function Arguments
nametypedescription
networkIndexEntityGIAentityNode* network index entity

Function Reference List


Function GIAtranslatorOperationsClass::isNonspecificConceptEntity()

Function Summary
namereturn typedescription
isNonspecificConceptEntityboolis nonspecific concept entity

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::createParentsOfSubclassEntities()

Function Summary
namereturn typedescription
createParentsOfSubclassEntitiesvoidcreate parents of subclass entities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::linkSubclassEntitiesWithParentClassEntities()

Function Summary
namereturn typedescription
linkSubclassEntitiesWithParentClassEntitiesvoidlink subclass entities with parent class entities

Function Arguments
nametypedescription
subclassNetworkIndexEntityGIAentityNode* subclass network index entity
parentClassNetworkIndexEntity GIAentityNode* parent class network index entity
linkAsAlias const bool link as alias
onlyLinkIfSubclassOrParentConceptNotFound const bool only link if subclass or parent concept not found
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::createShortcutsToConceptEntities()

Function Summary
namereturn typedescription
createShortcutsToConceptEntitiesvoidcreate shortcuts to concept entities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::hasSameReferenceSetConnections()

Function Summary
namereturn typedescription
hasSameReferenceSetConnectionsboolhas same reference set connections

Function Arguments
nametypedescription
entityGIAentityNode* entity
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectDefinitionAliasWrapper()

Function Summary
namereturn typedescription
connectDefinitionAliasWrapperboolconnect definition alias wrapper

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode** entity semantic relation function 2
entitySemanticRelationFunction3 GIAentityNode* entity semantic relation function 3
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectPrenominalModifierWrapper()

Function Summary
namereturn typedescription
connectPrenominalModifierWrapperboolconnect prenominal modifier wrapper

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMultiwordAuxiliaryWrapper()

Function Summary
namereturn typedescription
connectMultiwordAuxiliaryWrapperboolconnect multiword auxiliary wrapper

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectMultiwordPrepositionWrapper()

Function Summary
namereturn typedescription
connectMultiwordPrepositionWrapperboolconnect multiword preposition wrapper

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMultiwordAliasWrapper()

Function Summary
namereturn typedescription
connectMultiwordAliasWrapperboolconnect multiword alias wrapper

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMultiwordCollapse()

Function Summary
namereturn typedescription
connectMultiwordCollapseboolconnect multiword collapse

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMultiwordCollapseReverse()

Function Summary
namereturn typedescription
connectMultiwordCollapseReverseboolconnect multiword collapse reverse

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::getFirstAlias()

Function Summary
namereturn typedescription
getFirstAliasstring*get first alias

Function Arguments
nametypedescription
entityGIAentityNode* entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::passMultiwordGrammaticalParameters()

Function Summary
namereturn typedescription
passMultiwordGrammaticalParametersvoidpass multiword grammatical parameters

Function Arguments
nametypedescription
entitySemanticRelationFunction1GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2

Function Reference List
N/A


Function GIAtranslatorOperationsClass::connectMultiwordDate()

Function Summary
namereturn typedescription
connectMultiwordDateboolconnect multiword date

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 const GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::addTimeConditionProperty()

Function Summary
namereturn typedescription
addTimeConditionPropertybooladd time condition property

Function Arguments
nametypedescription
timeConditionNodeGIAtimeConditionNode* time condition node
entity const GIAentityNode* entity

Function Reference List


Function GIAtranslatorOperationsClass::connectQuantityToEntity()

Function Summary
namereturn typedescription
connectQuantityToEntityboolconnect quantity to entity

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 const GIAentityNode* entity semantic relation function 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMeasureToEntity()

Function Summary
namereturn typedescription
connectMeasureToEntityboolconnect measure to entity

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectMeasurePerToEntity()

Function Summary
namereturn typedescription
connectMeasurePerToEntityboolconnect measure per to entity

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectLogicReferenceConjunction()

Function Summary
namereturn typedescription
connectLogicReferenceConjunctionboolconnect logic reference conjunction

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
logicReferenceClassType string logic reference class type
targetEntity GIAentityNode* target entity
logicReferenceEntity GIAentityNode* logic reference entity
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectLogicReferenceConclusion()

Function Summary
namereturn typedescription
connectLogicReferenceConclusionboolconnect logic reference conclusion

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
logicReferenceClassType string logic reference class type
targetEntity GIAentityNode* target entity
logicReferenceEntity GIAentityNode* logic reference entity
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectLogicReference()

Function Summary
namereturn typedescription
connectLogicReferenceboolconnect logic reference

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
logicReferenceClass int logic reference class
logicReferenceClassType string logic reference class type
sourceEntity GIAentityNode* source entity
targetEntity GIAentityNode* target entity
logicReferenceEntity GIAentityNode* logic reference entity
sameReferenceSet bool same reference set

Function Reference List


Function GIAtranslatorOperationsClass::connectLogicReferenceRelationshipToTarget()

Function Summary
namereturn typedescription
connectLogicReferenceRelationshipToTargetvoidconnect logic reference relationship to target

Function Arguments
nametypedescription
relationshipGIAentityNode* relationship
targetEntity GIAentityNode* target entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::connectLogicReferenceRelationshipToSource()

Function Summary
namereturn typedescription
connectLogicReferenceRelationshipToSourcevoidconnect logic reference relationship to source

Function Arguments
nametypedescription
relationshipGIAentityNode* relationship
sourceEntity GIAentityNode* source entity
sameReferenceSet bool same reference set
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::generateConnectionTypeTargetToLogicReferenceRelationship()

Function Summary
namereturn typedescription
generateConnectionTypeTargetToLogicReferenceRelationshipintgenerate connection type target to logic reference relationship

Function Arguments
nametypedescription
relationshipconst GIAentityNode* relationship

Function Reference List


Function GIAtranslatorOperationsClass::generateConnectionTypeSourceToLogicReferenceRelationship()

Function Summary
namereturn typedescription
generateConnectionTypeSourceToLogicReferenceRelationshipintgenerate connection type source to logic reference relationship

Function Arguments
nametypedescription
relationshipconst GIAentityNode* relationship

Function Reference List


Function GIAtranslatorOperationsClass::getEntityArrayMaxIndex()

Function Summary
namereturn typedescription
getEntityArrayMaxIndexintget entity array max index

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorOperationsClass::getConnection()

Function Summary
namereturn typedescription
getConnectionGIAentityConnection*get connection

Function Arguments
nametypedescription
entityGIAentityNode* entity
relationshipEntity const GIAentityNode* relationship entity

Function Reference List
N/A


Function GIAtranslatorOperationsClass::getCurrentSentenceIndex()

Function Summary
namereturn typedescription
getCurrentSentenceIndexintget current sentence index

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


Function GIAtranslatorOperationsClass::updateGrammaticalValuesBasedOnModalAuxiliaryOrCopula()

Function Summary
namereturn typedescription
updateGrammaticalValuesBasedOnModalAuxiliaryOrCopulavoidupdate grammatical values based on modal auxiliary or copula

Function Arguments
nametypedescription
entityGIAentityNode* entity
auxiliaryOrCopulaString const string auxiliary or copula string

Function Reference List


File GIAdatabase Documentation

File Name: GIAdatabase.cpp/.hpp

File Description: GIA database

File Function List


File Diagram (functions hierarchy)


Function GIAdatabaseClass::findOrAddNetworkIndexEntityNodeByName()

Function Summary
namereturn typedescription
findOrAddNetworkIndexEntityNodeByNameGIAentityNode*find or add network index entity node by name

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes
entityNodeName string* entity node name
found bool* found
addIfNonexistant const bool add if nonexistant
currentEntityNodeIDinCompleteList int64_t* current entity node ID in complete list
currentEntityNodeIDinNetworkIndexEntityNodesList int64_t* current entity node ID in network index entity nodes list
saveNetwork const bool save network

Function Reference List


Function GIAdatabaseClass::DBfindOrAddNetworkIndexEntityNodeByName()

Function Summary
namereturn typedescription
DBfindOrAddNetworkIndexEntityNodeByNameGIAentityNode*DB find or add network index entity node by name

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes
entityNodeName string* entity node name
found bool* found
addIfNonexistant const bool add if nonexistant
currentEntityNodeIDinCompleteList int64_t* current entity node ID in complete list
currentEntityNodeIDinNetworkIndexEntityNodesList int64_t* current entity node ID in network index entity nodes list
saveNetwork const bool save network

Function Reference List


Function GIAdatabaseClass::LocalFindOrAddNetworkIndexEntityNodeByName()

Function Summary
namereturn typedescription
LocalFindOrAddNetworkIndexEntityNodeByNameGIAentityNode*Local find or add network index entity node by name

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes
entityNodeName string* entity node name
found bool* found
addIfNonexistant const bool add if nonexistant
currentEntityNodeIDinCompleteList int64_t* current entity node ID in complete list
currentEntityNodeIDinNetworkIndexEntityNodesList int64_t* current entity node ID in network index entity nodes list
saveNetwork const bool save network

Function Reference List
N/A


Function GIAdatabaseClass::findActiveEntityNodeByID()

Function Summary
namereturn typedescription
findActiveEntityNodeByIDGIAentityNode*find active entity node by ID

Function Arguments
nametypedescription
EntityNodeIDconst int64_t Entity node ID
entityNodesActiveListComplete const vector<GIAentityNode*>* entity nodes active list complete

Function Reference List
N/A


Function GIAdatabaseClass::DBgenerateServerDatabaseName()

Function Summary
namereturn typedescription
DBgenerateServerDatabaseNamestringDB generate server database name

Function Arguments
nametypedescription
entityNameconst string* entity name
fileType const int file type
defaultDatabaseName const string default database name
databaseFolderNameUserChoice string database folder name user choice

Function Reference List
N/A


Function GIAdatabaseClass::DBgenerateFileName()

Function Summary
namereturn typedescription
DBgenerateFileNamestringDB generate file name

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
connectionType const int connection type
fileType const int file type

Function Reference List


Function GIAdatabaseClass::initialiseDatabase()

Function Summary
namereturn typedescription
initialiseDatabasevoidinitialise database

Function Arguments
nametypedescription
readFromDatabaseconst bool read from database
newDatabaseFolderName const string new database folder name
useDatabase const bool use database
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes

Function Reference List


Function GIAdatabaseClass::DBreadNetworkIndexEntityNodesLoadedList()

Function Summary
namereturn typedescription
DBreadNetworkIndexEntityNodesLoadedListvoidDB read network index entity nodes loaded list

Function Reference List


Function GIAdatabaseClass::DBreadDatabase()

Function Summary
namereturn typedescription
DBreadDatabasevoidDB read database

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes

Function Reference List


Function GIAdatabaseClass::DBreadVectorConnections()

Function Summary
namereturn typedescription
DBreadVectorConnectionsvoidDB read vector connections

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
connectionType int connection type

Function Reference List


Function GIAdatabaseClass::DBreadVectorConnectionsReferences()

Function Summary
namereturn typedescription
DBreadVectorConnectionsReferencesvoidDB read vector connections references

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
connectionType const int connection type
entityVectorConnections vector<GIAentityConnection*>* entity vector connections

Function Reference List


Function GIAdatabaseClass::DBreadVectorConnectionEntities()

Function Summary
namereturn typedescription
DBreadVectorConnectionEntitiesvoidDB read vector connection entities

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
idInstance int64_t id instance
connectionType int connection type
entityVectorConnections vector<GIAentityConnection*>* entity vector connections

Function Reference List


Function GIAdatabaseClass::DBreadNetworkIndexEntityNode()

Function Summary
namereturn typedescription
DBreadNetworkIndexEntityNodevoidDB read network index entity node

Function Arguments
nametypedescription
entityNamestring* entity name
networkIndexEntityNode GIAentityNode* network index entity node

Function Reference List


Function GIAdatabaseClass::DBreadEntityNode()

Function Summary
namereturn typedescription
DBreadEntityNodevoidDB read entity node

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance int64_t id instance
entityNode GIAentityNode* entity node

Function Reference List


Function GIAdatabaseClass::DBreadEntityNodeFile()

Function Summary
namereturn typedescription
DBreadEntityNodeFilevoidDB read entity node file

Function Arguments
nametypedescription
entityFileNamestring* entity file name
entity GIAentityNode* entity

Function Reference List


Function GIAdatabaseClass::DBreadTimeConditionNodeFile()

Function Summary
namereturn typedescription
DBreadTimeConditionNodeFilevoidDB read time condition node file

Function Arguments
nametypedescription
timeConditionFileNamestring* time condition file name
timeCondition GIAtimeConditionNode* time condition

Function Reference List
N/A


Function GIAdatabaseClass::writeAndCloseDatabase()

Function Summary
namereturn typedescription
writeAndCloseDatabasevoidwrite and close database

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete

Function Reference List


Function GIAdatabaseClass::writeDatabase()

Function Summary
namereturn typedescription
writeDatabasevoidwrite database

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete

Function Reference List


Function GIAdatabaseClass::DBwriteEntityNode()

Function Summary
namereturn typedescription
DBwriteEntityNodevoidDB write entity node

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
entityNode GIAentityNode* entity node

Function Reference List


Function GIAdatabaseClass::DBwriteEntityNodeFile()

Function Summary
namereturn typedescription
DBwriteEntityNodeFilevoidDB write entity node file

Function Arguments
nametypedescription
entityFileNamestring* entity file name
entity GIAentityNode* entity

Function Reference List


Function GIAdatabaseClass::DBwriteTimeConditionNodeFile()

Function Summary
namereturn typedescription
DBwriteTimeConditionNodeFilevoidDB write time condition node file

Function Arguments
nametypedescription
timeConditionFileNamestring* time condition file name
timeCondition const GIAtimeConditionNode* time condition

Function Reference List
N/A


Function GIAdatabaseClass::DBwriteVectorConnectionsReferences()

Function Summary
namereturn typedescription
DBwriteVectorConnectionsReferencesvoidDB write vector connections references

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
connectionType const int connection type
entityVectorConnections vector<GIAentityConnection*>* entity vector connections

Function Reference List


Function GIAdatabaseClass::DBmodifyVectorConnectionsReference()

Function Summary
namereturn typedescription
DBmodifyVectorConnectionsReferencevoidDB modify vector connections reference

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
connectionType const int connection type
entityVectorConnectionsName const string* entity vector connections name
entityVectorConnectionsID const int64_t entity vector connections ID
referenceIndex const int64_t reference index

Function Reference List


Function GIAdatabaseClass::DBappendVectorConnectionsReference()

Function Summary
namereturn typedescription
DBappendVectorConnectionsReferencevoidDB append vector connections reference

Function Arguments
nametypedescription
entityNamestring* entity name
idInstance const int64_t id instance
connectionType const int connection type
entityVectorConnectionsName const string* entity vector connections name
entityVectorConnectionsID const int64_t entity vector connections ID

Function Reference List


Function GIAdatabaseClass::DBwriteNetworkIndexEntityNodesLoadedList()

Function Summary
namereturn typedescription
DBwriteNetworkIndexEntityNodesLoadedListvoidDB write network index entity nodes loaded list

Function Reference List


Function GIAdatabaseClass::closeDatabase()

Function Summary
namereturn typedescription
closeDatabasevoidclose database

Function Reference List
N/A


Function GIAdatabaseClass::initialiseDBnetworkIndexEntityNodesLoadedList()

Function Summary
namereturn typedescription
initialiseDBnetworkIndexEntityNodesLoadedListvoidinitialise DB network index entity nodes loaded list

Function Reference List
N/A


Function GIAdatabaseClass::setUseDatabase()

Function Summary
namereturn typedescription
setUseDatabasevoidset use database

Function Arguments
nametypedescription
valueconst int value

Function Reference List
N/A


Function GIAdatabaseClass::getUseDatabase()

Function Summary
namereturn typedescription
getUseDatabaseintget use database

Function Reference List
N/A


Function GIAdatabaseClass::findEntityInActiveNetworkIndexList()

Function Summary
namereturn typedescription
findEntityInActiveNetworkIndexListGIAentityNode*find entity in active network index list

Function Arguments
nametypedescription
entityNamestring entity name
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes

Function Reference List
N/A


Function GIAdatabaseClass::findEntityNodesActiveListCompleteFastIndexDBcache()

Function Summary
namereturn typedescription
findEntityNodesActiveListCompleteFastIndexDBcacheGIAentityNode*find entity nodes active list complete fast index DB cache

Function Arguments
nametypedescription
entityNameconst string* entity name
idInstance const int64_t id instance
foundNode bool* found node

Function Reference List


Function GIAdatabaseClass::findEntityNodesActiveListCompleteFastIndexDBactive()

Function Summary
namereturn typedescription
findEntityNodesActiveListCompleteFastIndexDBactiveGIAentityNode*find entity nodes active list complete fast index DB active

Function Arguments
nametypedescription
entityNameconst string* entity name
idInstance const int64_t id instance
foundNode bool* found node

Function Reference List


Function GIAdatabaseClass::findEntityNodesActiveListCompleteFastIndex()

Function Summary
namereturn typedescription
findEntityNodesActiveListCompleteFastIndexGIAentityNode*find entity nodes active list complete fast index

Function Arguments
nametypedescription
entityNameconst string* entity name
idInstance const int64_t id instance
foundNode bool* found node
entityNodesActiveListCompleteFastIndex const unordered_map<string,GIAentityNode*>* entity nodes active list complete fast index

Function Reference List


Function GIAdatabaseClass::addEntityNodesActiveListCompleteFastIndexDBcache()

Function Summary
namereturn typedescription
addEntityNodesActiveListCompleteFastIndexDBcachevoidadd entity nodes active list complete fast index DB cache

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node

Function Reference List


Function GIAdatabaseClass::addEntityNodesActiveListCompleteFastIndexDBactive()

Function Summary
namereturn typedescription
addEntityNodesActiveListCompleteFastIndexDBactivevoidadd entity nodes active list complete fast index DB active

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node

Function Reference List


Function GIAdatabaseClass::addEntityNodesActiveListCompleteFastIndex()

Function Summary
namereturn typedescription
addEntityNodesActiveListCompleteFastIndexvoidadd entity nodes active list complete fast index

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNodesActiveListCompleteFastIndex unordered_map<string,GIAentityNode*>* entity nodes active list complete fast index

Function Reference List


Function GIAdatabaseClass::createEntityNodesActiveListCompleteFastIndexIndex()

Function Summary
namereturn typedescription
createEntityNodesActiveListCompleteFastIndexIndexstringcreate entity nodes active list complete fast index index

Function Arguments
nametypedescription
entityNameconst string* entity name
idInstance const int64_t id instance

Function Reference List


Function GIAdatabaseClass::initialiseDBentityNodesActiveListCompleteFastIndexDBcache()

Function Summary
namereturn typedescription
initialiseDBentityNodesActiveListCompleteFastIndexDBcachevoidinitialise DB entity nodes active list complete fast index DB cache

Function Reference List
N/A


Function GIAdatabaseClass::initialiseDBentityNodesActiveListCompleteFastIndexDBactive()

Function Summary
namereturn typedescription
initialiseDBentityNodesActiveListCompleteFastIndexDBactivevoidinitialise DB entity nodes active list complete fast index DB active

Function Reference List
N/A


Function GIAdatabaseClass::clearDBentityNodesActiveListCompleteFastIndexDBcache()

Function Summary
namereturn typedescription
clearDBentityNodesActiveListCompleteFastIndexDBcachevoidclear DB entity nodes active list complete fast index DB cache

Function Reference List
N/A


Function GIAdatabaseClass::setDBentityNodesActiveListCompleteFastIndexDBactive()

Function Summary
namereturn typedescription
setDBentityNodesActiveListCompleteFastIndexDBactivevoidset DB entity nodes active list complete fast index DB active

Function Arguments
nametypedescription
newEntityNodesActiveListCompleteFastIndexDBactiveunordered_map<string,GIAentityNode*>* new entity nodes active list complete fast index DB active

Function Reference List
N/A


Function GIAdatabaseClass::getDBentityNodesActiveListCompleteFastIndexDBactive()

Function Summary
namereturn typedescription
getDBentityNodesActiveListCompleteFastIndexDBactiveunordered_map*get DB entity nodes active list complete fast index DB active

Function Reference List
N/A


Function GIAdatabaseClass::DBreplaceBlankString()

Function Summary
namereturn typedescription
DBreplaceBlankStringstringDB replace blank string

Function Arguments
nametypedescription
wordstring word

Function Reference List
N/A


Function GIAdatabaseClass::DBaddBlankString()

Function Summary
namereturn typedescription
DBaddBlankStringstringDB add blank string

Function Arguments
nametypedescription
wordstring word

Function Reference List
N/A


File LRPpreprocessorWordIdentification Documentation

File Name: LRPpreprocessorWordIdentification.cpp/.hpp

File Description: LRP preprocessor word identification

File Function List


File Diagram (functions hierarchy)


Function LRPpreprocessorWordIdentificationClass::getWordList()

Function Summary
namereturn typedescription
getWordListunordered_map*get word list

Function Arguments
nametypedescription
GIAposTypeconst int GIA pos type

Function Reference List


Function LRPpreprocessorWordIdentificationClass::getWordListIfExistent()

Function Summary
namereturn typedescription
getWordListIfExistentunordered_map*get word list if existent

Function Arguments
nametypedescription
GIAposTypeconst int GIA pos type
result bool* result

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::transferWordList()

Function Summary
namereturn typedescription
transferWordListbooltransfer word list

Function Arguments
nametypedescription
GIAposType1const int GIA pos type 1
GIAposType2 const int GIA pos type 2
wordList1record unordered_map<string,LRPpreprocessorMultiwordReductionWord*>** word list 1record

Function Reference List


Function LRPpreprocessorWordIdentificationClass::getWordListAllTypesWithPOSambiguityInfo()

Function Summary
namereturn typedescription
getWordListAllTypesWithPOSambiguityInfounordered_map>*get word list all types with POS ambiguity info

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::insertInstanceInMapWordListAllTypesWithPOSambiguityInfo()

Function Summary
namereturn typedescription
insertInstanceInMapWordListAllTypesWithPOSambiguityInfovoidinsert instance in map word list all types with POS ambiguity info

Function Arguments
nametypedescription
mapWordListAllTypesWithPOSambiguityInfounordered_map<string,pair<LRPpreprocessorMultiwordReductionWord*, uint64_t>>* map word list all types with POS ambiguity info
wordIndex string word index
word constEffective LRPpreprocessorMultiwordReductionWord* word
POSambiguityInfo constEffective uint64_t POS ambiguity info

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::initialiseLRP()

Function Summary
namereturn typedescription
initialiseLRPboolinitialise LRP

Function Arguments
nametypedescription
newLRPDataFolderNameconst string new LRPD ata folder name
newUseLRP const bool new use LRP

Function Reference List


Function LRPpreprocessorWordIdentificationClass::getUseLRP()

Function Summary
namereturn typedescription
getUseLRPboolget use LRP

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::loadWordListWrapper()

Function Summary
namereturn typedescription
loadWordListWrapperboolload word list wrapper

Function Arguments
nametypedescription
wordListLoadedbool* word list loaded
wordListFileName const string word list file name
wordList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word list

Function Reference List


Function LRPpreprocessorWordIdentificationClass::loadWordList()

Function Summary
namereturn typedescription
loadWordListboolload word list

Function Arguments
nametypedescription
wordListFileNameconst string word list file name
wordList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word list

Function Reference List


Function LRPpreprocessorWordIdentificationClass::loadStructuredDataListIrregularVerb()

Function Summary
namereturn typedescription
loadStructuredDataListIrregularVerbboolload structured data list irregular verb

Function Arguments
nametypedescription
irregularVerbListFileNameconst string irregular verb list file name
irregularVerbList unordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* irregular verb list

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::generateNounPluralVariantsList()

Function Summary
namereturn typedescription
generateNounPluralVariantsListboolgenerate noun plural variants list

Function Arguments
nametypedescription
irregularNounListunordered_map<string,LRPpreprocessorMultiwordReductionBasicSentence*>* irregular noun list

Function Reference List


Function LRPpreprocessorWordIdentificationClass::generateNounPluralVariants()

Function Summary
namereturn typedescription
generateNounPluralVariantsboolgenerate noun plural variants

Function Arguments
nametypedescription
wordTagLRPpreprocessorMultiwordReductionWord* word tag
nounPluralVariantsList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* noun plural variants list
irregularNounList unordered_map<string,LRPpreprocessorMultiwordReductionBasicSentence*>* irregular noun list

Function Reference List


Function LRPpreprocessorWordIdentificationClass::generateVerbCaseStandardAndAdditionalList()

Function Summary
namereturn typedescription
generateVerbCaseStandardAndAdditionalListboolgenerate verb case standard and additional list

Function Arguments
nametypedescription
grammaticallyStrictbool grammatically strict

Function Reference List


Function LRPpreprocessorWordIdentificationClass::generateAdditionalTenseVariantsOfVerbBase()

Function Summary
namereturn typedescription
generateAdditionalTenseVariantsOfVerbBaseboolgenerate additional tense variants of verb base

Function Arguments
nametypedescription
verbCaseAdditionalListunordered_map<string,LRPpreprocessorMultiwordReductionWord*>* verb case additional list
baseTag const LRPpreprocessorMultiwordReductionWord* base tag
irregularVerbFound const bool irregular verb found
grammaticallyStrict const bool grammatically strict

Function Reference List


Function LRPpreprocessorWordIdentificationClass::addVerbCaseAdditional()

Function Summary
namereturn typedescription
addVerbCaseAdditionalvoidadd verb case additional

Function Arguments
nametypedescription
currentTagInVerbListconst LRPpreprocessorMultiwordReductionWord* current tag in verb list
verbCaseAdditionalList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* verb case additional list
baseTenseFormStart const string base tense form start
baseTenseFormAppend const string base tense form append
grammaticalTenseFormNew const int grammatical tense form new

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::determineVerbCaseAdditionalWrapper()

Function Summary
namereturn typedescription
determineVerbCaseAdditionalWrapperbooldetermine verb case additional wrapper

Function Arguments
nametypedescription
wordconst string word
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIfWordIsIrregularVerbContinuousCaseWrapper()

Function Summary
namereturn typedescription
determineIfWordIsIrregularVerbContinuousCaseWrapperbooldetermine if word is irregular verb continuous case wrapper

Function Arguments
nametypedescription
wordconst string word
baseNameFound string* base name found

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIfWordIsIrregularVerbContinuousCase()

Function Summary
namereturn typedescription
determineIfWordIsIrregularVerbContinuousCasebooldetermine if word is irregular verb continuous case

Function Arguments
nametypedescription
wordconst string word
irregularVerbList const unordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* irregular verb list
baseNameFound string* base name found

Function Reference List


Function LRPpreprocessorWordIdentificationClass::loadStructuredDataList()

Function Summary
namereturn typedescription
loadStructuredDataListboolload structured data list

Function Arguments
nametypedescription
structuredDataListFileNameconst string structured data list file name
structuredDataList unordered_map<string,LRPpreprocessorMultiwordReductionBasicSentence*>* structured data list

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::detectIfInverseOrTwoWayConditionRequired()

Function Summary
namereturn typedescription
detectIfInverseOrTwoWayConditionRequiredvoiddetect if inverse or two way condition required

Function Arguments
nametypedescription
conditionNameconst string condition name
inverseConditionRequired bool* inverse condition required
twoWayConditionRequired bool* two way condition required
inverseConditionName string* inverse condition name

Function Reference List


Function LRPpreprocessorWordIdentificationClass::identifyConditionType()

Function Summary
namereturn typedescription
identifyConditionTypeboolidentify condition type

Function Arguments
nametypedescription
conditionRelationshipEntityGIAentityNode* condition relationship entity

Function Reference List


Function LRPpreprocessorWordIdentificationClass::checkGrammaticalWordTypeFeaturePrelim()

Function Summary
namereturn typedescription
checkGrammaticalWordTypeFeaturePrelimboolcheck grammatical word type feature prelim

Function Arguments
nametypedescription
wordTagconst LRPpreprocessorPlainTextWord* word tag
GIAposType const int GIA pos type

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::determineIsWordType()

Function Summary
namereturn typedescription
determineIsWordTypebooldetermine is word type

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim
grammaticallyStrict const bool grammatically strict
GIAposType const int GIA pos type

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsWordType()

Function Summary
namereturn typedescription
determineIsWordTypebooldetermine is word type

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim
grammaticallyStrict const bool grammatically strict
GIAposType const int GIA pos type
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsWordType()

Function Summary
namereturn typedescription
determineIsWordTypebooldetermine is word type

Function Arguments
nametypedescription
wordconst string word
wordTypeList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word type list

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsVerb()

Function Summary
namereturn typedescription
determineIsVerbbooldetermine is verb

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

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsVerb()

Function Summary
namereturn typedescription
determineIsVerbbooldetermine is verb

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim
grammaticallyStrict const bool grammatically strict
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineVerbCaseStandardWithAdditional()

Function Summary
namereturn typedescription
determineVerbCaseStandardWithAdditionalbooldetermine verb case standard with additional

Function Arguments
nametypedescription
wordconst string word
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineVerbCaseStandard()

Function Summary
namereturn typedescription
determineVerbCaseStandardbooldetermine verb case standard

Function Arguments
nametypedescription
wordconst string word
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineVerbCaseAdditional()

Function Summary
namereturn typedescription
determineVerbCaseAdditionalbooldetermine verb case additional

Function Arguments
nametypedescription
wordconst string word
baseNameFound string* base name found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::verbCaseDetectGrammaticallyStrictVariant()

Function Summary
namereturn typedescription
verbCaseDetectGrammaticallyStrictVariantboolverb case detect grammatically strict variant

Function Arguments
nametypedescription
grammaticalTenseFormconst int grammatical tense form

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::determineIsPreposition()

Function Summary
namereturn typedescription
determineIsPrepositionbooldetermine is preposition

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAdverb()

Function Summary
namereturn typedescription
determineIsAdverbbooldetermine is adverb

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAdjective()

Function Summary
namereturn typedescription
determineIsAdjectivebooldetermine is adjective

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAdjective()

Function Summary
namereturn typedescription
determineIsAdjectivebooldetermine is adjective

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsNoun()

Function Summary
namereturn typedescription
determineIsNounbooldetermine is noun

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsNoun()

Function Summary
namereturn typedescription
determineIsNounbooldetermine is noun

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsNoun()

Function Summary
namereturn typedescription
determineIsNounbooldetermine is noun

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
baseNameFound string* base name found
grammaticalBaseForm int* grammatical base form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsNoun()

Function Summary
namereturn typedescription
determineIsNounbooldetermine is noun

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim
baseNameFound string* base name found
grammaticalBaseForm int* grammatical base form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineNounPluralVariant()

Function Summary
namereturn typedescription
determineNounPluralVariantbooldetermine noun plural variant

Function Arguments
nametypedescription
wordconst string word
nounBaseFound constEffective LRPpreprocessorMultiwordReductionWord** noun base found
grammaticalBaseTenseForm int* grammatical base tense form

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsConjunction()

Function Summary
namereturn typedescription
determineIsConjunctionbooldetermine is conjunction

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsDeterminer()

Function Summary
namereturn typedescription
determineIsDeterminerbooldetermine is determiner

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAuxiliaryBeing()

Function Summary
namereturn typedescription
determineIsAuxiliaryBeingbooldetermine is auxiliary being

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAuxiliaryHaving()

Function Summary
namereturn typedescription
determineIsAuxiliaryHavingbooldetermine is auxiliary having

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsAuxiliaryDoing()

Function Summary
namereturn typedescription
determineIsAuxiliaryDoingbooldetermine is auxiliary doing

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::detectAuxiliary()

Function Summary
namereturn typedescription
detectAuxiliarybooldetect auxiliary

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::detectModalAuxiliary()

Function Summary
namereturn typedescription
detectModalAuxiliarybooldetect modal auxiliary

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::detectRcmodSameReferenceSetDelimiter()

Function Summary
namereturn typedescription
detectRcmodSameReferenceSetDelimiterbooldetect rcmod same reference set delimiter

Function Arguments
nametypedescription
wordTagconstEffective LRPpreprocessorPlainTextWord* word tag
usePOSprelim const bool use POS prelim

Function Reference List


Function LRPpreprocessorWordIdentificationClass::determineIsWordTypeStringBasic()

Function Summary
namereturn typedescription
determineIsWordTypeStringBasicbooldetermine is word type string basic

Function Arguments
nametypedescription
wordconst string word
GIAposType const int GIA pos type

Function Reference List


Function LRPpreprocessorWordIdentificationClass::findWordInWordList()

Function Summary
namereturn typedescription
findWordInWordListboolfind word in word list

Function Arguments
nametypedescription
wordListunordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word list
word const string word

Function Reference List


Function LRPpreprocessorWordIdentificationClass::findWordInWordList()

Function Summary
namereturn typedescription
findWordInWordListboolfind word in word list

Function Arguments
nametypedescription
wordListunordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word list
word const string word
wordFound LRPpreprocessorMultiwordReductionWord** word found

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::findSentenceInSentenceListBasic()

Function Summary
namereturn typedescription
findSentenceInSentenceListBasicboolfind sentence in sentence list basic

Function Arguments
nametypedescription
sentenceListunordered_map<string,LRPpreprocessorMultiwordReductionBasicSentence*>* sentence list
word const string word
sentenceFound LRPpreprocessorMultiwordReductionBasicSentence** sentence found

Function Reference List
N/A


Function LRPpreprocessorWordIdentificationClass::createWordIndexListFromLRPfiles()

Function Summary
namereturn typedescription
createWordIndexListFromLRPfilesboolcreate word index list from LRP files

Function Reference List


File LRPpreprocessorWordClass Documentation

File Name: LRPpreprocessorWordClass.cpp/.hpp

File Description: LRP preprocessor word class

File Function List


File Diagram (functions hierarchy)


Class LRPpreprocessorWord

Class Data
nametypedescription
tagNamestringtag name
plainTextWordboolplain text word
nextTagLRPpreprocessorWord*next tag

Class LRPpreprocessorMultiwordReductionWord

Class Data
nametypedescription
baseboolbase
grammaticalTenseFormsArray[LRP_PREPROCESSOR_WORD_VERB_DATABASE_TAG_BASE_MAX_NUM_TENSE_FORMS]vector<string>grammatical tense forms array [LRP_PREPROCESSOR_WORD_VERB_DATABASE_TAG_BASE_MAX_NUM_TENSE_FORMS]
grammaticalTenseFormintgrammatical tense form
grammaticalTenseModifierintgrammatical tense modifier
baseNamestringbase name
alternateTagBasicLRPpreprocessorMultiwordReductionWord*alternate tag basic

Class LRPpreprocessorMultiwordReductionPhrasalVerbWord

Class Data
nametypedescription
tagSpecialArbitraryNamebooltag special arbitrary name
tagSpecialArbitraryNameTypeinttag special arbitrary name type
optionalbooloptional
alternateTagLRPpreprocessorMultiwordReductionPhrasalVerbWord*alternate tag

Class LRPpreprocessorMultiwordReductionIrregularVerbWord

Class Data
nametypedescription
alternateTagLRPpreprocessorMultiwordReductionIrregularVerbWord*alternate tag

Class LRPpreprocessorPlainTextWord

Class Data
nametypedescription
featureReferencePrelimGIAfeature*feature reference prelim
featureReferenceOriginalGIAfeature*feature reference original
featureReferenceGIAfeature*feature reference
entityReferenceGIAentityNode*entity reference
wordShortcutToConceptNeuronANNneuron*word shortcut to concept neuron
neuralNetworkPreprocessorWordTypeintneural network preprocessor word type
tagNameOriginalNonLemmastringtag name original non lemma
POStaggerExperiencePermutationsvector<ANNexperience*>POS tagger experience permutations
POStaggerExperienceANNexperience*POS tagger experience
centreWordPOSambiguityInfouint32_tcentre word POS ambiguity info
alreadyFoundMatchboolalready found match
unambiguousPOSindexucharunambiguous POS index
POSambiguityInfouint64_tPOS ambiguity info
wordPOStypeInferredintword POS type inferred
translatorSentenceEntityIndexinttranslator sentence entity index
translatorSentenceWordIndexinttranslator sentence word index
translatorEntityGIAentityNode*translator entity
wordVerbVariantGrammaticalTenseFormintword verb variant grammatical tense form
wordNounVariantGrammaticalTenseFormintword noun variant grammatical tense form

Class LRPpreprocessorMultiwordReductionPlainTextWord

Class Data
nametypedescription
tagNameLemmastringtag name lemma
entityIndexintentity index
collapsedPhrasalVerbExactDefinedSectionboolcollapsed phrasal verb exact defined section
collapsedMultiwordWordboolcollapsed multiword word
collapsedMultiwordWordTypeintcollapsed multiword word type
collapsedMultiwordWordTempboolcollapsed multiword word temp
grammaticalTenseFormDetectedintgrammatical tense form detected
preprocessorUpperLevelWordReferenceLRPpreprocessorMultiwordReductionPlainTextWord*preprocessor upper level word reference
preprocessorUpperLevelWordReferenceSizeintpreprocessor upper level word reference size
preprocessorLowerLevelWordReferenceLRPpreprocessorMultiwordReductionPlainTextWord*preprocessor lower level word reference
characterIndexInSentenceContentsOriginalTextintcharacter index in sentence contents original text
tagNameLRPforNLPstringtag name LRP for NLP

Class LRPpreprocessorMultiwordReductionBasicSentence

Class Data
nametypedescription
firstTagInSentenceLRPpreprocessorMultiwordReductionWord*first tag in sentence
nextSentenceLRPpreprocessorMultiwordReductionBasicSentence*next sentence

Class LRPpreprocessorMultiwordReductionPhrasalVerbSentence

Class Data
nametypedescription
firstTagInSentenceLRPpreprocessorMultiwordReductionPhrasalVerbWord*first tag in sentence
alternateSentenceLRPpreprocessorMultiwordReductionPhrasalVerbSentence*alternate sentence
nextSentenceLRPpreprocessorMultiwordReductionPhrasalVerbSentence*next sentence

Class LRPpreprocessorMultiwordReductionIrregularVerbSentence

Class Data
nametypedescription
firstTagInSentenceLRPpreprocessorMultiwordReductionIrregularVerbWord*first tag in sentence
nextSentenceLRPpreprocessorMultiwordReductionIrregularVerbSentence*next sentence

Class LRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo

Class Data
nametypedescription
wordWithLRPstringword with LRP
lemmaWithLRPstringlemma with LRP
wordWithLRPforNLPonlystringword with LRP for NLP only
entityIndexintentity index
sentenceIndexintsentence index
nextLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo*next

Function LRPpreprocessorWordClassClass::generateTextFromPreprocessorSentenceWordList()

Function Summary
namereturn typedescription
generateTextFromPreprocessorSentenceWordListstringgenerate text from preprocessor sentence word list

Function Arguments
nametypedescription
firstWordInSentenceconstEffective LRPpreprocessorPlainTextWord* first word in sentence

Function Reference List


Function LRPpreprocessorWordClassClass::generateTextFromPreprocessorSentenceWordList()

Function Summary
namereturn typedescription
generateTextFromPreprocessorSentenceWordListstringgenerate text from preprocessor sentence word list

Function Arguments
nametypedescription
firstWordInSentenceconstEffective LRPpreprocessorPlainTextWord* first word in sentence
LRPforNLP const bool LRP for NLP

Function Reference List


Function LRPpreprocessorWordClassClass::generateTextFromVectorWordList()

Function Summary
namereturn typedescription
generateTextFromVectorWordListstringgenerate text from vector word list

Function Arguments
nametypedescription
wordListconst vector<LRPpreprocessorPlainTextWord*>* word list

Function Reference List


Function LRPpreprocessorWordClassClass::generateTextFromVectorWordList()

Function Summary
namereturn typedescription
generateTextFromVectorWordListstringgenerate text from vector word list

Function Arguments
nametypedescription
wordListconst vector<LRPpreprocessorPlainTextWord*>* word list
LRPforNLP const bool LRP for NLP

Function Reference List


Function LRPpreprocessorWordClassClass::generateTextFromPreprocessorSentenceWord()

Function Summary
namereturn typedescription
generateTextFromPreprocessorSentenceWordstringgenerate text from preprocessor sentence word

Function Arguments
nametypedescription
wordconstEffective LRPpreprocessorPlainTextWord* word
LRPforNLP const bool LRP for NLP
isFirstWordInSentence const bool is first word in sentence

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::calculateLengthOfGeneratedVectorWordListText()

Function Summary
namereturn typedescription
calculateLengthOfGeneratedVectorWordListTextintcalculate length of generated vector word list text

Function Arguments
nametypedescription
wordListconst vector<LRPpreprocessorPlainTextWord*>* word list

Function Reference List


Function LRPpreprocessorWordClassClass::generateSentenceWordList()

Function Summary
namereturn typedescription
generateSentenceWordListboolgenerate sentence word list

Function Arguments
nametypedescription
sentenceContentsFirstWordLRPpreprocessorPlainTextWord* sentence contents first word
wordList vector<LRPpreprocessorPlainTextWord*>* word list

Function Reference List


Function LRPpreprocessorWordClassClass::generateSentenceWordList()

Function Summary
namereturn typedescription
generateSentenceWordListboolgenerate sentence word list

Function Arguments
nametypedescription
sentenceContentsFirstWordLRPpreprocessorPlainTextWord* sentence contents first word
wordList vector<LRPpreprocessorPlainTextWord*>* word list
startIndex const int start index
endIndex const int end index

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::generateFlatSentenceWordList()

Function Summary
namereturn typedescription
generateFlatSentenceWordListboolgenerate flat sentence word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
sentenceContentsFirstWord LRPpreprocessorMultiwordReductionPlainTextWord** sentence contents first word

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::addWordListToWordList()

Function Summary
namereturn typedescription
addWordListToWordListbooladd word list to word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
wordListToAdd vector<LRPpreprocessorPlainTextWord*>* word list to add

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::addStringArrayToWordList()

Function Summary
namereturn typedescription
addStringArrayToWordListbooladd string array to word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
stringArrayToAdd const string* string array to add
arraySize const int array size

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::addStringToWordList()

Function Summary
namereturn typedescription
addStringToWordListbooladd string to word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
stringToAdd const string string to add

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::isIntrawordPunctuationMark()

Function Summary
namereturn typedescription
isIntrawordPunctuationMarkboolis intraword punctuation mark

Function Arguments
nametypedescription
indexOfCurrentTokenint index of current token
lineContents string* line contents

Function Reference List


Function LRPpreprocessorWordClassClass::isApostrophePossessionOrOmission()

Function Summary
namereturn typedescription
isApostrophePossessionOrOmissionboolis apostrophe possession or omission

Function Arguments
nametypedescription
indexOfCurrentTokenint index of current token
lineContents string* line contents

Function Reference List


Function LRPpreprocessorWordClassClass::isApostrophePossessionOrOmission()

Function Summary
namereturn typedescription
isApostrophePossessionOrOmissionboolis apostrophe possession or omission

Function Arguments
nametypedescription
wordconst LRPpreprocessorPlainTextWord* word

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::findStringInWordList()

Function Summary
namereturn typedescription
findStringInWordListintfind string in word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
stringToFind const string string to find

Function Reference List


Function LRPpreprocessorWordClassClass::findStringInWordList()

Function Summary
namereturn typedescription
findStringInWordListintfind string in word list

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
stringToFind const string string to find
startIndexToPerformFind int start index to perform find

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::isWordInWordlist()

Function Summary
namereturn typedescription
isWordInWordlistboolis word in wordlist

Function Arguments
nametypedescription
wordListvector<LRPpreprocessorPlainTextWord*>* word list
word LRPpreprocessorPlainTextWord* word

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::printWordList()

Function Summary
namereturn typedescription
printWordListboolprint word list

Function Arguments
nametypedescription
wordListconst vector<LRPpreprocessorPlainTextWord*>* word list

Function Reference List


Function LRPpreprocessorWordClassClass::printWordListString()

Function Summary
namereturn typedescription
printWordListStringstringprint word list string

Function Arguments
nametypedescription
wordListconst vector<LRPpreprocessorPlainTextWord*>* word list

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::preprocessorFillCurrentWord()

Function Summary
namereturn typedescription
preprocessorFillCurrentWordvoidpreprocessor fill current word

Function Arguments
nametypedescription
currentWordInSentenceLRPpreprocessorMultiwordReductionPlainTextWord** current word in sentence
currentWord string* current word
entityIndex int* entity index
lastCharacterIndexOfWordInSentence const int last character index of word in sentence

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::getPOStypeFromName()

Function Summary
namereturn typedescription
getPOStypeFromNameintget POS type from name

Function Arguments
nametypedescription
wordPOStypeNameconst string word POS type name

Function Reference List


Function LRPpreprocessorWordClassClass::isStringNumber()

Function Summary
namereturn typedescription
isStringNumberboolis string number

Function Arguments
nametypedescription
phraseconst string phrase

Function Reference List


Function LRPpreprocessorWordClassClass::isMidSentenceUppercaseWordLikelyProperNoun()

Function Summary
namereturn typedescription
isMidSentenceUppercaseWordLikelyProperNounboolis mid sentence uppercase word likely proper noun

Function Arguments
nametypedescription
contextWordconstEffective LRPpreprocessorPlainTextWord* context word

Function Reference List


Function LRPpreprocessorWordClassClass::wordIsUpperCase()

Function Summary
namereturn typedescription
wordIsUpperCaseboolword is upper case

Function Arguments
nametypedescription
wordTextstring word text

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::convertSentenceContentsIndexToEntityIndex()

Function Summary
namereturn typedescription
convertSentenceContentsIndexToEntityIndexintconvert sentence contents index to entity index

Function Arguments
nametypedescription
sentenceContentsIndexconst int sentence contents index

Function Reference List
N/A


Function LRPpreprocessorWordClassClass::convertEntityIndexToSentenceContentsIndex()

Function Summary
namereturn typedescription
convertEntityIndexToSentenceContentsIndexintconvert entity index to sentence contents index

Function Arguments
nametypedescription
entityIndexconst int entity index

Function Reference List
N/A


File LRPpreprocessorWordReduction Documentation

File Name: LRPpreprocessorWordReduction.cpp/.hpp

File Description: LRP preprocessor word reduction

File Function List


File Diagram (functions hierarchy)


Function LRPpreprocessorWordReductionClass::initialiseLRPreduction()

Function Summary
namereturn typedescription
initialiseLRPreductionboolinitialise LRP reduction

Function Arguments
nametypedescription
irregularVerbListunordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* irregular verb list

Function Reference List


Function LRPpreprocessorWordReductionClass::loadPhrasalVerbDataAndGenerateAllTenseVariants()

Function Summary
namereturn typedescription
loadPhrasalVerbDataAndGenerateAllTenseVariantsboolload phrasal verb data and generate all tense variants

Function Arguments
nametypedescription
phrasalVerbDatabaseFileNameconst string phrasal verb database file name
phrasalVerbList multimap<string, LRPpreprocessorMultiwordReductionPhrasalVerbSentence*>* phrasal verb list
irregularVerbList unordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* irregular verb list

Function Reference List


Function LRPpreprocessorWordReductionClass::getActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo()

Function Summary
namereturn typedescription
getActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfoLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo*get active LRP preprocessor multiword reduction tag text correspondence info

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::setActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo()

Function Summary
namereturn typedescription
setActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfovoidset active LRP preprocessor multiword reduction tag text correspondence info

Function Arguments
nametypedescription
isQueryconst bool is query

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::initialiseActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo()

Function Summary
namereturn typedescription
initialiseActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfovoidinitialise active LRP preprocessor multiword reduction tag text correspondence info

Function Arguments
nametypedescription
isQueryconst bool is query

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::deinitialiseActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo()

Function Summary
namereturn typedescription
deinitialiseActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfovoiddeinitialise active LRP preprocessor multiword reduction tag text correspondence info

Function Arguments
nametypedescription
isQueryconst bool is query

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::parseTextFileAndReduceLanguage()

Function Summary
namereturn typedescription
parseTextFileAndReduceLanguageboolparse text file and reduce language

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
plainTextLRPoutputFileName const string plain text LRP output file name
plainTextLRPforNLPoutputFileName const string plain text LRP for NLP output file name

Function Reference List


Function LRPpreprocessorWordReductionClass::searchAndReplacePhrasalVerbs()

Function Summary
namereturn typedescription
searchAndReplacePhrasalVerbsboolsearch and replace phrasal verbs

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
phrasalVerbList multimap<string, LRPpreprocessorMultiwordReductionPhrasalVerbSentence*>* phrasal verb list
firstLRPpreprocessorMultiwordReductiontagCorrespondenceInfo LRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo* first LRP preprocessor multiword reductiontag correspondence info

Function Reference List


Function LRPpreprocessorWordReductionClass::loadMultiwordWordList()

Function Summary
namereturn typedescription
loadMultiwordWordListboolload multiword word list

Function Arguments
nametypedescription
multiwordWordListFileNameconst string multiword word list file name
multiwordWordList multimap<string, LRPpreprocessorMultiwordReductionBasicSentence*>* multiword word list

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::searchAndReplaceMultiwordWordList()

Function Summary
namereturn typedescription
searchAndReplaceMultiwordWordListboolsearch and replace multiword word list

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
multiwordWordList multimap<string, LRPpreprocessorMultiwordReductionBasicSentence*>* multiword word list
firstLRPpreprocessorMultiwordReductiontagCorrespondenceInfo LRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo* first LRP preprocessor multiword reductiontag correspondence info
wordListType const int word list type

Function Reference List


Function LRPpreprocessorWordReductionClass::searchAndReplaceMultiwordWordListDynamic()

Function Summary
namereturn typedescription
searchAndReplaceMultiwordWordListDynamicboolsearch and replace multiword word list dynamic

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
wordList unordered_map<string,LRPpreprocessorMultiwordReductionWord*>* word list
firstLRPpreprocessorMultiwordReductiontagCorrespondenceInfo LRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo* first LRP preprocessor multiword reductiontag correspondence info
wordListType const int word list type

Function Reference List


Function LRPpreprocessorWordReductionClass::createNewCorrespondenceInfo()

Function Summary
namereturn typedescription
createNewCorrespondenceInfovoidcreate new correspondence info

Function Arguments
nametypedescription
firstLRPpreprocessorMultiwordReductiontagCorrespondenceInfoLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo* first LRP preprocessor multiword reductiontag correspondence info
currentCorrespondenceInfo LRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo** current correspondence info
currentLRPpreprocessorSentenceInList const LRPpreprocessorSentence* current LRP preprocessor sentence in list
firstTagInPlainTextSentence LRPpreprocessorMultiwordReductionPlainTextWord* first tag in plain text sentence
currentTagInPlainTextSentence constEffective LRPpreprocessorMultiwordReductionPlainTextWord** current tag in plain text sentence
entityIndex const int entity index
numberWordsInMultiwordMatched int number words in multiword matched

Function Reference List


Function LRPpreprocessorWordReductionClass::renumberEntityIndiciesInCorrespondenceInfo()

Function Summary
namereturn typedescription
renumberEntityIndiciesInCorrespondenceInfovoidrenumber entity indicies in correspondence info

Function Arguments
nametypedescription
firstLRPpreprocessorMultiwordReductiontagCorrespondenceInfoLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo* first LRP preprocessor multiword reductiontag correspondence info
sentenceIndex const int sentence index
entityIndex const int entity index
numberWordsInMultiwordMatched int number words in multiword matched

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::writeTagListToFile()

Function Summary
namereturn typedescription
writeTagListToFileboolwrite tag list to file

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
plainTextLRPoutputFileName const string plain text LRP output file name
plainTextLRPforNLPoutputFileName const string plain text LRP for NLP output file name
performLRPoutput const bool perform LRP output
performLRPforNLPoutput const bool perform LRP for NLP output

Function Reference List


Function LRPpreprocessorWordReductionClass::generateWordWithLRPforNLPonly()

Function Summary
namereturn typedescription
generateWordWithLRPforNLPonlystringgenerate word with LRP for NLP only

Function Arguments
nametypedescription
currentTagInPlainTextSentenceconst LRPpreprocessorMultiwordReductionPlainTextWord* current tag in plain text sentence

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::revertNLPtagNameToOfficialLRPtagName()

Function Summary
namereturn typedescription
revertNLPtagNameToOfficialLRPtagNamevoidrevert NLP tag name to official LRP tag name

Function Arguments
nametypedescription
featureGIAfeature* feature
currentSentenceInList const GIAsentence* current sentence in list
currentRelationInListForPrepositionsOnly const GIArelation* current relation in list for prepositions only
isPreposition const bool is preposition
foundOfficialLRPreplacementString bool* found official LRP replacement string

Function Reference List


Function LRPpreprocessorWordReductionClass::generateIrregularTenseVariantsOfVerbBase()

Function Summary
namereturn typedescription
generateIrregularTenseVariantsOfVerbBaseboolgenerate irregular tense variants of verb base

Function Arguments
nametypedescription
baseTagLRPpreprocessorMultiwordReductionWord* base tag
irregularVerbList unordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* irregular verb list
grammaticallyStrict const bool grammatically strict

Function Reference List


Function LRPpreprocessorWordReductionClass::generateStandardTenseVariantsOfVerbBase()

Function Summary
namereturn typedescription
generateStandardTenseVariantsOfVerbBaseboolgenerate standard tense variants of verb base

Function Arguments
nametypedescription
baseTagLRPpreprocessorMultiwordReductionWord* base tag
irregularVerbFound const bool irregular verb found
grammaticallyStrict const bool grammatically strict

Function Reference List


Function LRPpreprocessorWordReductionClass::findSentenceInSentenceListIrregularVerb()

Function Summary
namereturn typedescription
findSentenceInSentenceListIrregularVerbboolfind sentence in sentence list irregular verb

Function Arguments
nametypedescription
sentenceListunordered_map<string,LRPpreprocessorMultiwordReductionIrregularVerbSentence*>* sentence list
word const string word
sentenceFound LRPpreprocessorMultiwordReductionIrregularVerbSentence** sentence found

Function Reference List
N/A


Function LRPpreprocessorWordReductionClass::replaceAllNumericalWordsWithNumbers()

Function Summary
namereturn typedescription
replaceAllNumericalWordsWithNumbersboolreplace all numerical words with numbers

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list

Function Reference List


Function LRPpreprocessorWordReductionClass::convertWordToNumber()

Function Summary
namereturn typedescription
convertWordToNumberint64_tconvert word to number

Function Arguments
nametypedescription
numericalWordListvector<LRPpreprocessorPlainTextWord*>* numerical word list

Function Reference List


Function LRPpreprocessorWordReductionClass::parseNumerals()

Function Summary
namereturn typedescription
parseNumeralsint64_tparse numerals

Function Arguments
nametypedescription
numericalWordListSubsetconst vector<LRPpreprocessorPlainTextWord*>* numerical word list subset

Function Reference List


Function LRPpreprocessorWordReductionClass::getValueOf()

Function Summary
namereturn typedescription
getValueOfint64_tget value of

Function Arguments
nametypedescription
wordTextconst string word text

Function Reference List


File SANIrules Documentation

File Name: SANIrules.cpp/.hpp

File Description: SANI rules

File Function List


File Diagram (functions hierarchy)


Function SANIrulesClass::extractSANIrules()

Function Summary
namereturn typedescription
extractSANIrulesboolextract SANI rules

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers

Function Reference List


Function SANIrulesClass::extractSANIGroups()

Function Summary
namereturn typedescription
extractSANIGroupsboolextract SANIG roups

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIrulesClass::parseComponents()

Function Summary
namereturn typedescription
parseComponentsboolparse components

Function Arguments
nametypedescription
firstTxtRelTranslatorRulesFirstComponentTagXMLparserTag* first txt rel translator rules first component tag
groupOwner constEffective SANIGroupNeuralNetwork* group owner
componentsList vector<SANIComponentNeuralNetwork*>* components list
parseSubcomponent const bool parse subcomponent
subComponentOwner constEffective SANIComponentNeuralNetwork* sub component owner

Function Reference List


Function SANIrulesClass::connectGroupsReferences()

Function Summary
namereturn typedescription
connectGroupsReferencesboolconnect groups references

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIrulesClass::connectComponentsReferences()

Function Summary
namereturn typedescription
connectComponentsReferencesboolconnect components references

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
components const vector<SANIComponentNeuralNetwork*>* components
subcomponents const bool subcomponents

Function Reference List


Function SANIrulesClass::extractSANIrulesTokens()

Function Summary
namereturn typedescription
extractSANIrulesTokensboolextract SANI rules tokens

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers

Function Reference List


Function SANIrulesClass::isClassTagWrapper()

Function Summary
namereturn typedescription
isClassTagWrapperboolis class tag wrapper

Function Arguments
nametypedescription
wordconst string word
layerNameToFind const string layer name to find
classNameToFind const string class name to find
classTypeNameToFind const string class type name to find
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers

Function Reference List


Function SANIrulesClass::isClassTag()

Function Summary
namereturn typedescription
isClassTagboolis class tag

Function Arguments
nametypedescription
wordconst string word
layerNameToFind const string layer name to find
classNameToFind const string class name to find
classTypeNameToFind const string class type name to find
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers

Function Reference List


File XMLparserClass Documentation

File Name: XMLparserClass.cpp/.hpp

File Description: XML parser class

File Function List


File Diagram (functions hierarchy)


Class XMLparserAttribute

Class Data
nametypedescription
namestringname
valuestringvalue
charCountintchar count
lineCountintline count
nextAttributeXMLparserAttribute*next attribute

Class XMLparserTag

Class Data
nametypedescription
namestringname
valuestringvalue
nextTagXMLparserTag*next tag
firstLowerLevelTagXMLparserTag*first lower level tag
charCountintchar count
lineCountintline count
firstAttributeXMLparserAttribute*first attribute
currentAttributeXMLparserAttribute*current attribute

Function XMLparserClassClass::parseTagDownALevel()

Function Summary
namereturn typedescription
parseTagDownALevelXMLparserTag*parse tag down AL evel

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag
sectionTagName const string section tag name
result bool* result

Function Reference List
N/A


Function XMLparserClassClass::readXMLfile()

Function Summary
namereturn typedescription
readXMLfileboolread XML file

Function Arguments
nametypedescription
xmlFileNameconst string xml file name
firstTagInXMLfile XMLparserTag* first tag in XML file

Function Reference List


Function XMLparserClassClass::parseTagOpen()

Function Summary
namereturn typedescription
parseTagOpenboolparse tag open

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag* current tag
parentTagName const string parent tag name
isSubTag const bool is sub tag
treeLayer int tree layer

Function Reference List


Function XMLparserClassClass::parseTagName()

Function Summary
namereturn typedescription
parseTagNameboolparse tag name

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag* current tag
parentTagName const string parent tag name
isSubTag const bool is sub tag
treeLayer int tree layer

Function Reference List


Function XMLparserClassClass::parseTagAttributeName()

Function Summary
namereturn typedescription
parseTagAttributeNameboolparse tag attribute name

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag* current tag
parentTagName const string parent tag name
isSubTag const bool is sub tag
treeLayer int tree layer

Function Reference List


Function XMLparserClassClass::parseTagAttributeValue()

Function Summary
namereturn typedescription
parseTagAttributeValueboolparse tag attribute value

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag* current tag
parentTagName const string parent tag name
isSubTag const bool is sub tag
treeLayer const int tree layer

Function Reference List


Function XMLparserClassClass::parseTagValueAssumingExistenceOfSubtagsAndClose()

Function Summary
namereturn typedescription
parseTagValueAssumingExistenceOfSubtagsAndCloseboolparse tag value assuming existence of subtags and close

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag* current tag
treeLayer int tree layer

Function Reference List


Function XMLparserClassClass::parseTagComment()

Function Summary
namereturn typedescription
parseTagCommentboolparse tag comment

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
type const char type

Function Reference List


Function XMLparserClassClass::processTagClose()

Function Summary
namereturn typedescription
processTagCloseboolprocess tag close

Function Arguments
nametypedescription
parseFileObjectifstream* parse file object
currentTag XMLparserTag** current tag
parentTagName const string parent tag name
isSubTag const bool is sub tag
treeLayer int tree layer
endTagFound const bool end tag found
parsingAttributeName const bool parsing attribute name
tagName const string tag name

Function Reference List


Function XMLparserClassClass::createNewTag()

Function Summary
namereturn typedescription
createNewTagXMLparserTag*create new tag

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag

Function Reference List
N/A


Function XMLparserClassClass::isBlankChar()

Function Summary
namereturn typedescription
isBlankCharboolis blank char

Function Arguments
nametypedescription
parseFileObjectconst ifstream* parse file object
c const char c

Function Reference List
N/A


Function XMLparserClassClass::isBlankCharTabOrNewLine()

Function Summary
namereturn typedescription
isBlankCharTabOrNewLineboolis blank char tab or new line

Function Arguments
nametypedescription
parseFileObjectconst ifstream* parse file object
c const char c

Function Reference List
N/A


Function XMLparserClassClass::throwGenericXMLParseError()

Function Summary
namereturn typedescription
throwGenericXMLParseErrorvoidthrow generic XMLP arse error

Function Reference List
N/A


Function XMLparserClassClass::getAttribute()

Function Summary
namereturn typedescription
getAttributeboolget attribute

Function Arguments
nametypedescription
tagXMLparserTag* tag
attributeName const string attribute name
attributeValueFound string* attribute value found

Function Reference List
N/A


Function XMLparserClassClass::createNewAttribute()

Function Summary
namereturn typedescription
createNewAttributeXMLparserAttribute*create new attribute

Function Arguments
nametypedescription
currentAttributeXMLparserAttribute* current attribute

Function Reference List
N/A


Function XMLparserClassClass::writeXMLHeader()

Function Summary
namereturn typedescription
writeXMLHeadervoidwrite XMLH eader

Function Arguments
nametypedescription
writeFileStringstring* write file string

Function Reference List
N/A


Function XMLparserClassClass::writeXMLfile()

Function Summary
namereturn typedescription
writeXMLfileboolwrite XML file

Function Arguments
nametypedescription
xmlFileNameconst string xml file name
firstTagInXMLfile const XMLparserTag* first tag in XML file

Function Reference List


Function XMLparserClassClass::addTagLayerToFileObject()

Function Summary
namereturn typedescription
addTagLayerToFileObjectbooladd tag layer to file object

Function Arguments
nametypedescription
firstTagInCurrentLayerconst XMLparserTag* first tag in current layer
writeFileString string* write file string
treeLayer const int tree layer

Function Reference List


Function XMLparserClassClass::incrementLineAndAddTabsToFileObject()

Function Summary
namereturn typedescription
incrementLineAndAddTabsToFileObjectvoidincrement line and add tabs to file object

Function Arguments
nametypedescription
writeFileStringstring* write file string
treeLayer const int tree layer

Function Reference List
N/A


Function XMLparserClassClass::addTabsToFileObject()

Function Summary
namereturn typedescription
addTabsToFileObjectvoidadd tabs to file object

Function Arguments
nametypedescription
writeFileStringstring* write file string
treeLayer const int tree layer

Function Reference List
N/A


File SANInodes Documentation

File Name: SANInodes.cpp/.hpp

File Description: SANI nodes

File Function List


File Diagram (functions hierarchy)


Function SANInodesClass::setSANIGroupTypesGlobal()

Function Summary
namereturn typedescription
setSANIGroupTypesGlobalvoidset SANIG roup types global

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List
N/A


Function SANInodesClass::getSANIGroupTypesGlobal()

Function Summary
namereturn typedescription
getSANIGroupTypesGlobalvector*get SANIG roup types global

Function Reference List
N/A


Function SANInodesClass::setSANIrulesTokenLayersGlobal()

Function Summary
namereturn typedescription
setSANIrulesTokenLayersGlobalvoidset SANI rules token layers global

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers

Function Reference List
N/A


Function SANInodesClass::getSANIrulesTokenLayersGlobal()

Function Summary
namereturn typedescription
getSANIrulesTokenLayersGlobalvector*get SANI rules token layers global

Function Reference List
N/A


Function SANInodesClass::initialiseNewGroupIndex()

Function Summary
namereturn typedescription
initialiseNewGroupIndexvoidinitialise new group index

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANInodesClass::getNewGroupIndex()

Function Summary
namereturn typedescription
getNewGroupIndexint*get new group index

Function Reference List
N/A


Function SANInodesClass::getSequenceGrammarGroupTypeDefault()

Function Summary
namereturn typedescription
getSequenceGrammarGroupTypeDefaultSANIGroupType*get sequence grammar group type default

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANInodesClass::assignGroupIndex()

Function Summary
namereturn typedescription
assignGroupIndexintassign group index

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group

Function Reference List


Function SANInodesClass::findGroupType()

Function Summary
namereturn typedescription
findGroupTypeboolfind group type

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
groupTypeName const string group type name
groupTypeFound constEffective SANIGroupType** group type found

Function Reference List
N/A


Function SANInodesClass::findGroup()

Function Summary
namereturn typedescription
findGroupboolfind group

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
groupTypeName const string group type name
groupName const string group name
groupTypeFound constEffective SANIGroupType** group type found
groupFound SANIGroupNeuralNetwork** group found

Function Reference List
N/A


Function SANInodesClass::removeLastOptionalComponents()

Function Summary
namereturn typedescription
removeLastOptionalComponentsboolremove last optional components

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANInodesClass::removeOptionalComponent()

Function Summary
namereturn typedescription
removeOptionalComponentboolremove optional component

Function Arguments
nametypedescription
groupTypeSANIGroupType* group type
groupIndex int* group index
groupTypeGroupsSizeOrig const int group type groups size orig
group SANIGroupNeuralNetwork* group
optionalComponentIndex int optional component index

Function Reference List


Function SANInodesClass::copyComponents()

Function Summary
namereturn typedescription
copyComponentsboolcopy components

Function Arguments
nametypedescription
componentsconst vector<SANIComponentParseTree*>* components
componentsNew vector<SANIComponentParseTree*>* components new

Function Reference List
N/A


Function SANInodesClass::copyGroup()

Function Summary
namereturn typedescription
copyGroupSANIGroupActivationMemory*copy group

Function Arguments
nametypedescription
groupconst SANIGroupActivationMemory* group

Function Reference List


Function SANInodesClass::updateComponentsOwnerGroupAndIndexes()

Function Summary
namereturn typedescription
updateComponentsOwnerGroupAndIndexesboolupdate components owner group and indexes

Function Arguments
nametypedescription
groupconstEffective SANIGroupNeuralNetwork* group
components const vector<SANIComponentNeuralNetwork*>* components
isSubcomponent const bool is subcomponent
ownerComponent constEffective SANIComponentNeuralNetwork* owner component

Function Reference List


Function SANInodesClass::currentWordAmbiguous()

Function Summary
namereturn typedescription
currentWordAmbiguousboolcurrent word ambiguous

Function Arguments
nametypedescription
currentWordconst LRPpreprocessorPlainTextWord* current word

Function Reference List
N/A


Function SANInodesClass::countParseTreeLeafSize()

Function Summary
namereturn typedescription
countParseTreeLeafSizeintcount parse tree leaf size

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group

Function Reference List


Function SANInodesClass::countParseTreeLeafSizeUnoptimised()

Function Summary
namereturn typedescription
countParseTreeLeafSizeUnoptimisedintcount parse tree leaf size unoptimised

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group

Function Reference List


Function SANInodesClass::adjustNetworkDepth()

Function Summary
namereturn typedescription
adjustNetworkDepthbooladjust network depth

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group

Function Reference List


Function SANInodesClass::adjustNetworkDepthReset()

Function Summary
namereturn typedescription
adjustNetworkDepthResetbooladjust network depth reset

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group

Function Reference List


Function SANInodesClass::getNeuralNetworkDepth()

Function Summary
namereturn typedescription
getNeuralNetworkDepthboolget neural network depth

Function Arguments
nametypedescription
componentconst SANIComponentNeuralNetwork* component
maxDepth int* max depth

Function Reference List
N/A


Function SANInodesClass::getFirstComponent()

Function Summary
namereturn typedescription
getFirstComponentSANIComponentParseTree*get first component

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentNeuron SANIGroupParseTree* current neuron
fromStart bool from start

Function Reference List
N/A


Function SANInodesClass::deleteComponents()

Function Summary
namereturn typedescription
deleteComponentsbooldelete components

Function Arguments
nametypedescription
componentsconst vector<SANIComponentParseTree*>* components

Function Reference List
N/A


Function SANInodesClass::deleteGroup()

Function Summary
namereturn typedescription
deleteGroupbooldelete group

Function Arguments
nametypedescription
groupconst SANIGroupActivationMemory* group

Function Reference List


Function SANInodesClass::printGroup()

Function Summary
namereturn typedescription
printGroupboolprint group

Function Arguments
nametypedescription
groupconst SANIGroupNeuralNetwork* group
layer const int layer

Function Reference List


Function SANInodesClass::printComponent()

Function Summary
namereturn typedescription
printComponentboolprint component

Function Arguments
nametypedescription
componentconst SANIComponentNeuralNetwork* component
layer const int layer

Function Reference List


Function SANInodesClass::printParseTreeDebugIndentation()

Function Summary
namereturn typedescription
printParseTreeDebugIndentationboolprint parse tree debug indentation

Function Arguments
nametypedescription
layerconst int layer

Function Reference List
N/A


Function SANInodesClass::calculateMinIndexOfMatchesFound()

Function Summary
namereturn typedescription
calculateMinIndexOfMatchesFoundintcalculate min index of matches found

Function Arguments
nametypedescription
sentenceContentsSubsetvector<LRPpreprocessorPlainTextWord*>* sentence contents subset

Function Reference List
N/A


Function SANInodesClass::deleteParseTree()

Function Summary
namereturn typedescription
deleteParseTreevoiddelete parse tree

Function Arguments
nametypedescription
parseTreeGroupToDeleteconst SANIGroupParseTree* parse tree group to delete
level const int level

Function Reference List


Function SANInodesClass::replicateParseTree()

Function Summary
namereturn typedescription
replicateParseTreeSANIGroupParseTree*replicate parse tree

Function Arguments
nametypedescription
parseTreeGroupToReplicateconst SANIGroupParseTree* parse tree group to replicate
level const int level

Function Reference List


Function SANInodesClass::convertNeuralNetworkGroupToParseTreeGroupNew()

Function Summary
namereturn typedescription
convertNeuralNetworkGroupToParseTreeGroupNewSANIGroupParseTree*convert neural network group to parse tree group new

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group

Function Reference List
N/A


Function SANInodesClass::convertNeuralNetworkComponentToParseTreeComponentNew()

Function Summary
namereturn typedescription
convertNeuralNetworkComponentToParseTreeComponentNewSANIComponentParseTree*convert neural network component to parse tree component new

Function Arguments
nametypedescription
componentSANIComponentNeuralNetwork* component

Function Reference List
N/A


Function SANInodesClass::convertNeuralNetworkGroupToMemoryActivationGroupNew()

Function Summary
namereturn typedescription
convertNeuralNetworkGroupToMemoryActivationGroupNewSANIGroupActivationMemory*convert neural network group to memory activation group new

Function Arguments
nametypedescription
groupconst SANIGroupNeuralNetwork* group

Function Reference List


Function SANInodesClass::resetGroupOptimumPathway()

Function Summary
namereturn typedescription
resetGroupOptimumPathwayboolreset group optimum pathway

Function Arguments
nametypedescription
groupconst SANIGroupNeuralNetwork* group

Function Reference List


Function SANInodesClass::resetComponentsOptimumPathway()

Function Summary
namereturn typedescription
resetComponentsOptimumPathwayboolreset components optimum pathway

Function Arguments
nametypedescription
componentsconst vector<SANIComponentNeuralNetwork*>* components

Function Reference List


Function SANInodesClass::calculateCoverage()

Function Summary
namereturn typedescription
calculateCoverageintcalculate coverage

Function Arguments
nametypedescription
activatedNeuronWithMaxWordIndexCoverageconst SANIGroupParseTree* activated neuron with max word index coverage

Function Reference List
N/A


Function SANInodesClass::isNeuronString()

Function Summary
namereturn typedescription
isNeuronStringboolis neuron string

Function Arguments
nametypedescription
currentNeuronconst SANIGroupNeuralNetwork* current neuron

Function Reference List
N/A


Function SANInodesClass::getWordPOStypeFromAmbiguousWord()

Function Summary
namereturn typedescription
getWordPOStypeFromAmbiguousWordboolget word POS type from ambiguous word

Function Arguments
nametypedescription
currentWordconstEffective LRPpreprocessorPlainTextWord* current word
wordPOStype int* word POS type

Function Reference List


Function SANInodesClass::printParseTreeGroupIndices()

Function Summary
namereturn typedescription
printParseTreeGroupIndicesboolprint parse tree group indices

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
layer const int layer

Function Reference List


Function SANInodesClass::printParseTreeGroupIndicesFlat()

Function Summary
namereturn typedescription
printParseTreeGroupIndicesFlatstringprint parse tree group indices flat

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group

Function Reference List


Function SANInodesClass::printParseTree()

Function Summary
namereturn typedescription
printParseTreeboolprint parse tree

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
layer const int layer

Function Reference List


Function SANInodesClass::printNeuralNetwork()

Function Summary
namereturn typedescription
printNeuralNetworkboolprint neural network

Function Arguments
nametypedescription
currentNeuronconst SANIGroupNeuralNetwork* current neuron
layer const int layer

Function Reference List


Function SANInodesClass::hasComponentTypeString()

Function Summary
namereturn typedescription
hasComponentTypeStringboolhas component type string

Function Arguments
nametypedescription
componentconst SANIComponentParseTree* component

Function Reference List
N/A


Function SANInodesClass::calculateComponentTypeString()

Function Summary
namereturn typedescription
calculateComponentTypeStringboolcalculate component type string

Function Arguments
nametypedescription
componentSourceconst SANIGroupNeuralNetwork* component source

Function Reference List
N/A


File XMLrulesClass Documentation

File Name: XMLrulesClass.cpp/.hpp

File Description: XML rules class

File Function List


File Diagram (functions hierarchy)


Class XMLrulesClass

Class Data
nametypedescription
namestringname
stringValuestringstring value
fractionalValuedoublefractional value
attribute4intattribute 4
attribute5intattribute 5
attribute6intattribute 6
attribute7intattribute 7
attribute8intattribute 8
nextXMLrulesClass*next

Function XMLrulesClassClass::parseGIArulesXMLfile()

Function Summary
namereturn typedescription
parseGIArulesXMLfileboolparse GIA rules XML file

Function Reference List


Function XMLrulesClassClass::parseGIARulesTag()

Function Summary
namereturn typedescription
parseGIARulesTagboolparse GIAR ules tag

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag

Function Reference List


Function XMLrulesClassClass::parseANNrulesXMLfile()

Function Summary
namereturn typedescription
parseANNrulesXMLfileboolparse ANN rules XML file

Function Reference List


Function XMLrulesClassClass::parseANNrulesTag()

Function Summary
namereturn typedescription
parseANNrulesTagboolparse ANN rules tag

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag

Function Reference List


Function XMLrulesClassClass::addRulesClassObjectsBasedOnSectionTag()

Function Summary
namereturn typedescription
addRulesClassObjectsBasedOnSectionTagbooladd rules class objects based on section tag

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag
sectionTagName const string section tag name
firstReferenceToObjectClass XMLrulesClass* first reference to object class
tagName const string tag name
numberOfAttributes const int number of attributes
attributeName1 const string attribute name 1
attributeName2 const string attribute name 2
attributeName3 const string attribute name 3
attributeName4 const string attribute name 4
attributeName5 const string attribute name 5
attributeName6 const string attribute name 6
attributeName7 const string attribute name 7
attributeName8 const string attribute name 8

Function Reference List


Function XMLrulesClassClass::addRulesClassObjectBasedOnTag()

Function Summary
namereturn typedescription
addRulesClassObjectBasedOnTagbooladd rules class object based on tag

Function Arguments
nametypedescription
currentTagXMLparserTag* current tag
currentReferenceToObjectClass XMLrulesClass* current reference to object class
tagName const string tag name
numberOfAttributes const int number of attributes
attributeName1 const string attribute name 1
attributeName2 const string attribute name 2
attributeName3 const string attribute name 3
attributeName4 const string attribute name 4
attributeName5 const string attribute name 5
attributeName6 const string attribute name 6
attributeName7 const string attribute name 7
attributeName8 const string attribute name 8

Function Reference List


File GIAtranslatorReferencing Documentation

File Name: GIAtranslatorReferencing.cpp/.hpp

File Description: GIA translator referencing

File Function List


File Diagram (functions hierarchy)


Function GIAtranslatorReferencingClass::identifyComparisonVariableAlternateMethod()

Function Summary
namereturn typedescription
identifyComparisonVariableAlternateMethodvoididentify comparison variable alternate method

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorReferencingClass::entityPosInferredIsPronoun()

Function Summary
namereturn typedescription
entityPosInferredIsPronounboolentity pos inferred is pronoun

Function Arguments
nametypedescription
currentGIAEntityNodeGIAentityNode* current GIAE ntity node

Function Reference List


Function GIAtranslatorReferencingClass::linkPronounReferencesTxtRelTranslator()

Function Summary
namereturn typedescription
linkPronounReferencesTxtRelTranslatorvoidlink pronoun references txt rel translator

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorReferencingClass::linkPronounReferencesRelex()

Function Summary
namereturn typedescription
linkPronounReferencesRelexvoidlink pronoun references relex

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorReferencingClass::linkPronounAndTextualContextReferencesStanfordCoreNLP()

Function Summary
namereturn typedescription
linkPronounAndTextualContextReferencesStanfordCoreNLPvoidlink pronoun and textual context references stanford core NLP

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
firstCoreferenceInList const GIAstanfordCoreNLPcoreference* first coreference in list

Function Reference List


Function GIAtranslatorReferencingClass::fillExplicitReferenceSameSetTags()

Function Summary
namereturn typedescription
fillExplicitReferenceSameSetTagsvoidfill explicit reference same set tags

Function Arguments
nametypedescription
currentSentenceInListGIAsentence* current sentence in list

Function Reference List
N/A


Function GIAtranslatorReferencingClass::identifyReferenceSets()

Function Summary
namereturn typedescription
identifyReferenceSetsintidentify reference sets

Function Arguments
nametypedescription
sentenceNetworkIndexEntityNodesListunordered_map<string,GIAentityNode*>* sentence network index entity nodes list
NLPdependencyRelationsType const bool NLP dependency relations type
referenceSetDefiniteEntityList vector<GIAentityNode*>* reference set definite entity list

Function Reference List


Function GIAtranslatorReferencingClass::resetReferenceSets()

Function Summary
namereturn typedescription
resetReferenceSetsvoidreset reference sets

Function Arguments
nametypedescription
sentenceNetworkIndexEntityNodesListunordered_map<string,GIAentityNode*>* sentence network index entity nodes list

Function Reference List
N/A


Function GIAtranslatorReferencingClass::identifyReferenceSetNetworkIndexEntityEntrance()

Function Summary
namereturn typedescription
identifyReferenceSetNetworkIndexEntityEntrancevoididentify reference set network index entity entrance

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
referenceSetID int* reference set ID
haveSentenceEntityIndexOfDeterminers const bool have sentence entity index of determiners
referenceSetDefiniteEntityList vector<GIAentityNode*>* reference set definite entity list

Function Reference List


Function GIAtranslatorReferencingClass::createGIAcoreferenceInListBasedUponIdentifiedReferenceSets()

Function Summary
namereturn typedescription
createGIAcoreferenceInListBasedUponIdentifiedReferenceSetsvoidcreate GIA coreference in list based upon identified reference sets

Function Arguments
nametypedescription
sentenceNetworkIndexEntityNodesListunordered_map<string,GIAentityNode*>* sentence network index entity nodes list
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes
firstGIAcoreferenceInList GIAcoreference* first GIA coreference in list
referenceSetDefiniteEntityList vector<GIAentityNode*>* reference set definite entity list
sentenceIndex const int sentence index

Function Reference List


Function GIAtranslatorReferencingClass::createGIAcoreferenceInListBasedUponIdentifiedReferenceSet()

Function Summary
namereturn typedescription
createGIAcoreferenceInListBasedUponIdentifiedReferenceSetvoidcreate GIA coreference in list based upon identified reference set

Function Arguments
nametypedescription
entityNodesActiveListNetworkIndexesQueryunordered_map<string,GIAentityNode*>* entity nodes active list network indexes query
entityNodesActiveListNetworkIndexes unordered_map<string,GIAentityNode*>* entity nodes active list network indexes
referenceTraceParameters GIAreferenceTraceParameters* reference trace parameters
maxNumberOfMatchedNodes int* max number of matched nodes
queryEntityWithMaxNumberNodesMatched constEffective GIAentityNode** query entity with max number nodes matched
networkEntityWithMaxNumberNodesMatched GIAentityNode** network entity with max number nodes matched
foundAtLeastOneMatch bool* found at least one match

Function Reference List


Function GIAtranslatorReferencingClass::generateCoreferenceListBasedUponPreviouslyMatchedEntityNode()

Function Summary
namereturn typedescription
generateCoreferenceListBasedUponPreviouslyMatchedEntityNodeGIAcoreference*generate coreference list based upon previously matched entity node

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
currentGIAcoreferenceInList GIAcoreference* current GIA coreference in list
intrasentenceReference bool intrasentence reference

Function Reference List


Function GIAtranslatorReferencingClass::linkAdvancedReferencesGIA()

Function Summary
namereturn typedescription
linkAdvancedReferencesGIAvoidlink advanced references GIA

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
firstCoreferenceInList GIAcoreference* first coreference in list

Function Reference List


Function GIAtranslatorReferencingClass::identifyReferenceSetsSpecificConceptsAndLinkWithConcepts()

Function Summary
namereturn typedescription
identifyReferenceSetsSpecificConceptsAndLinkWithConceptsvoididentify reference sets specific concepts and link with concepts

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorReferencingClass::identifyReferenceSetDetermineNextCourseOfAction()

Function Summary
namereturn typedescription
identifyReferenceSetDetermineNextCourseOfActionboolidentify reference set determine next course of action

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
sameReferenceSet const bool same reference set
referenceSetID int reference set ID
minimumEntityIndexOfReferenceSet int minimum entity index of reference set
connection const GIAentityConnection* connection

Function Reference List


Function GIAtranslatorReferencingClass::identifyReferenceSet()

Function Summary
namereturn typedescription
identifyReferenceSetvoididentify reference set

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
referenceSetID int reference set ID
minimumEntityIndexOfReferenceSet int minimum entity index of reference set

Function Reference List


File GIAquery Documentation

File Name: GIAquery.cpp/.hpp

File Description: GIA query

File Function List


File Diagram (functions hierarchy)


Class GIAqueryTraceParameters

Class Data
nametypedescription
detectComparisonVariablebooldetect comparison variable
comparisonVariableNodeGIAentityNode*comparison variable node
foundAnswerboolfound answer
queryAnswerNodeGIAentityNode*query answer node
queryAnswerContextstringquery answer context
numberAnswersFoundintnumber answers found
queryAnswerNodesvector<GIAentityNode*>query answer nodes
queryAnswerContextsvector<string>query answer contexts
numberOfMatchedNodesAtPreviousAnswerNodeintnumber of matched nodes at previous answer node
thisIsInstanceAndPreviousNodeWasDefinitionboolthis is instance and previous node was definition
nonMatchingSourceConditionsboolnon matching source conditions
isConditionboolis condition
sourceEntityNodeGIAentityNode*source entity node
sourceContextstringsource context
levelintlevel
skipOverPropertyAndDefinitionRelationshipEntitiesboolskip over property and definition relationship entities

Class GIAreferenceTraceParameters

Class Data
nametypedescription
traceModebooltrace mode
traceModeAssertSameReferenceSetIDbooltrace mode assert same reference set ID
referenceSetIDintreference set ID
linkSpecificConceptsAndActionsboollink specific concepts and actions
intrasentenceReferenceboolintrasentence reference
doNotParseQuerySubnetsWithConceptsbooldo not parse query subnets with concepts
referenceSetDefiniteEntityGIAentityNode*reference set definite entity
testReferenceSetContextbooltest reference set context
ensureSameReferenceSetQueryConnectionsboolensure same reference set query connections
sameReferenceSetTestsboolsame reference set tests
traceConceptsOnlybooltrace concepts only
logicalConditionDisableTraceConceptsboollogical condition disable trace concepts
skipOverPropertyAndDefinitionRelationshipEntitiesboolskip over property and definition relationship entities
exactReferenceSetSearchboolexact reference set search

Function GIAqueryClass::answerQueryOrFindAndTagForHighlightingMatchingStructureInSemanticNetwork()

Function Summary
namereturn typedescription
answerQueryOrFindAndTagForHighlightingMatchingStructureInSemanticNetworkGIAentityNode*answer query or find and tag for highlighting matching structure in semantic network

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
translatorVariablesQuery GIAtranslatorVariablesClass* translator variables query
detectComparisonVariable const bool detect comparison variable
comparisonVariableNode GIAentityNode* comparison variable node
foundAnswer bool* found answer
queryAnswerNode GIAentityNode* query answer node
numberOfMatchedNodes double* number of matched nodes
queryAnswerContext string* query answer context

Function Reference List


Function GIAqueryClass::testEntityNodeForQueryOrReferenceSet()

Function Summary
namereturn typedescription
testEntityNodeForQueryOrReferenceSetbooltest entity node for query or reference set

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodes int* number of matched nodes
knownBestMatch const bool known best match
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters

Function Reference List


Function GIAqueryClass::testReferencedEntityNodeForExactNameMatch()

Function Summary
namereturn typedescription
testReferencedEntityNodeForExactNameMatchinttest referenced entity node for exact name match

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodes int* number of matched nodes
knownBestMatch const bool known best match
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters

Function Reference List


Function GIAqueryClass::verifyThatAnswerEntityIsDefinedByComparisonVariableNode()

Function Summary
namereturn typedescription
verifyThatAnswerEntityIsDefinedByComparisonVariableNodeboolverify that answer entity is defined by comparison variable node

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
comparisonVariableNodeName const string comparison variable node name

Function Reference List


Function GIAqueryClass::determineMatchParameters()

Function Summary
namereturn typedescription
determineMatchParametersbooldetermine match parameters

Function Arguments
nametypedescription
exactMatchFoundTempconst bool exact match found temp
traceIsQuery const bool trace is query
referenceTraceParametersTraceMode const int reference trace parameters trace mode
numberOfMatchedNodesTempMax const int number of matched nodes temp max

Function Reference List
N/A


Function GIAqueryClass::determineIfBestAnswerCandidate()

Function Summary
namereturn typedescription
determineIfBestAnswerCandidatebooldetermine if best answer candidate

Function Arguments
nametypedescription
traceModeIsQueryconst bool trace mode is query
queryTraceParametersTempFoundAnswer const bool query trace parameters temp found answer
alreadyFoundAnAnswer const bool already found an answer
numberOfMatchedNodesTemp const int number of matched nodes temp
numberOfMatchedNodesTempMax const int number of matched nodes temp max
numberOfMatchedNodesRequiredSynonymnDetectionTemp const int number of matched nodes required synonymn detection temp
numberOfMatchedNodesRequiredSynonymnDetectionTempAtMax const int number of matched nodes required synonymn detection temp at max
referenceTraceParametersTraceMode const int reference trace parameters trace mode
exactMatchTemp const int exact match temp

Function Reference List
N/A


Function GIAqueryClass::testEntityNodeForQueryOrReferenceSet2()

Function Summary
namereturn typedescription
testEntityNodeForQueryOrReferenceSet2booltest entity node for query or reference set 2

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodes int* number of matched nodes
knownBestMatch const bool known best match
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters

Function Reference List


Function GIAqueryClass::testReferencedEntityNodeForExactNameMatch2()

Function Summary
namereturn typedescription
testReferencedEntityNodeForExactNameMatch2booltest referenced entity node for exact name match 2

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodes int* number of matched nodes
knownBestMatch const bool known best match
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters

Function Reference List


Function GIAqueryClass::compareEntitySynonyms()

Function Summary
namereturn typedescription
compareEntitySynonymsboolcompare entity synonyms

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node

Function Reference List


Function GIAqueryClass::compareEntityAliases()

Function Summary
namereturn typedescription
compareEntityAliasesboolcompare entity aliases

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node

Function Reference List
N/A


Function GIAqueryClass::generateTexualContextBackwards()

Function Summary
namereturn typedescription
generateTexualContextBackwardsvoidgenerate texual context backwards

Function Arguments
nametypedescription
queryAnswerContextstring* query answer context
sourceContext string source context
entityNode GIAentityNode* entity node

Function Reference List


Function GIAqueryClass::generateTexualContextEntityString()

Function Summary
namereturn typedescription
generateTexualContextEntityStringvoidgenerate texual context entity string

Function Arguments
nametypedescription
texualContextEntityStringstring* texual context entity string
entityNode GIAentityNode* entity node

Function Reference List


Function GIAqueryClass::determineMaxConfidenceOfQuerySemanticNetwork()

Function Summary
namereturn typedescription
determineMaxConfidenceOfQuerySemanticNetworkdoubledetermine max confidence of query semantic network

Function Arguments
nametypedescription
entityNodesActiveListNetworkIndexesQueryunordered_map<string,GIAentityNode*>* entity nodes active list network indexes query

Function Reference List


Function GIAqueryClass::traceEntityNode()

Function Summary
namereturn typedescription
traceEntityNodevoidtrace entity node

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
function const int function
numberOfMatchedNodes int* number of matched nodes
printEntityNodeString string* print entity node string
referenceSetID const int reference set ID
traceInstantiations const bool trace instantiations

Function Reference List


Function GIAqueryClass::traceEntityNodeDetermineNextCourseOfAction()

Function Summary
namereturn typedescription
traceEntityNodeDetermineNextCourseOfActionvoidtrace entity node determine next course of action

Function Arguments
nametypedescription
printEntityNodeStringstring* print entity node string
entityNode GIAentityNode* entity node
context string context
function const int function
numberOfMatchedNodes int* number of matched nodes
referenceSetID const int reference set ID
traceInstantiations const bool trace instantiations

Function Reference List


Function GIAqueryClass::printEntityNodeQualitiesOnly()

Function Summary
namereturn typedescription
printEntityNodeQualitiesOnlyvoidprint entity node qualities only

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
printEntityNodeString string* print entity node string

Function Reference List


Function GIAqueryClass::printEntityTimeConditionNodeOnly()

Function Summary
namereturn typedescription
printEntityTimeConditionNodeOnlyvoidprint entity time condition node only

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
printEntityNodeString string* print entity node string

Function Reference List
N/A


Function GIAqueryClass::compareEntityStandard()

Function Summary
namereturn typedescription
compareEntityStandardboolcompare entity standard

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters const GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters

Function Reference List


Function GIAqueryClass::compareEntityReferenceTrace()

Function Summary
namereturn typedescription
compareEntityReferenceTracevoidcompare entity reference trace

Function Arguments
nametypedescription
queryEntityNodeGIAentityNode* query entity node
entityNode GIAentityNode* entity node
numberOfMatchedNodes int* number of matched nodes
knownBestMatch const bool known best match
numberOfMatchedNodesRequiredSynonymnDetection int* number of matched nodes required synonymn detection
traceModeIsQuery const bool trace mode is query
queryTraceParameters GIAqueryTraceParameters* query trace parameters
referenceTraceParameters const GIAreferenceTraceParameters* reference trace parameters
compareEntityNamesResult const bool compare entity names result
exactMatch bool* exact match
simplifiedSearch const bool simplified search
resultOld int* result old

Function Reference List


File GIAwordnet Documentation

File Name: GIAwordnet.cpp/.hpp

File Description: GIA wordnet

File Function List


File Diagram (functions hierarchy)


Function GIAwordnetClass::initialiseWordNet()

Function Summary
namereturn typedescription
initialiseWordNetvoidinitialise word net

Function Arguments
nametypedescription
newSynonymnDetectionStatusconst int new synonymn detection status

Function Reference List


Function GIAwordnetClass::getSynonymnDetectionStatus()

Function Summary
namereturn typedescription
getSynonymnDetectionStatusintget synonymn detection status

Function Reference List
N/A


Function GIAwordnetClass::checkIfWordIsContainedWithinOtherWordsSynsetsOrViceVersa()

Function Summary
namereturn typedescription
checkIfWordIsContainedWithinOtherWordsSynsetsOrViceVersaboolcheck if word is contained within other words synsets or vice versa

Function Arguments
nametypedescription
wordconst string* word
otherWord const string* other word
wordNetPOS const int word net POS

Function Reference List


Function GIAwordnetClass::checkIfWordIsContainedWithinAnotherWordsSynsets()

Function Summary
namereturn typedescription
checkIfWordIsContainedWithinAnotherWordsSynsetsboolcheck if word is contained within another words synsets

Function Arguments
nametypedescription
wordconst string* word
otherWord const string* other word
wordNetPOS const int word net POS

Function Reference List


Function GIAwordnetClass::findSynsets()

Function Summary
namereturn typedescription
findSynsetsSynsetPtrfind synsets

Function Arguments
nametypedescription
wordconst string* word
wordIsFound bool* word is found
wordNetPOS const int word net POS
similarityType const int similarity type

Function Reference List
N/A


Function GIAwordnetClass::checkIfSynsetListContainsSynonymousEntityNamesAndRecordMostPopularSynset()

Function Summary
namereturn typedescription
checkIfSynsetListContainsSynonymousEntityNamesAndRecordMostPopularSynsetSynsetPtrcheck if synset list contains synonymous entity names and record most popular synset

Function Arguments
nametypedescription
firstSenseInListSynsetPtr first sense in list
wordNetPOS const int word net POS
maximumNumberOfTags int* maximum number of tags
entityNamesAreSynonymous bool* entity names are synonymous
word const string* word
otherWord const string* other word
compareEntityNames const bool compare entity names
senseOutputWithHighestTagsPassedNewSynsetMustFree bool* sense output with highest tags passed new synset must free

Function Reference List
N/A


File GIAsemRelTranslatorParser Documentation

File Name: GIAsemRelTranslatorParser.cpp/.hpp

File Description: GIA sem rel translator parser

File Function List


File Diagram (functions hierarchy)


Function GIAsemRelTranslatorParserClass::convertSentenceSemanticRelationsIntoGIAnetworkNodes()

Function Summary
namereturn typedescription
convertSentenceSemanticRelationsIntoGIAnetworkNodesboolconvert sentence semantic relations into GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
linkPreestablishedReferencesGIA const bool link preestablished references GIA
firstGIAcoreferenceInList GIAcoreference* first GIA coreference in list

Function Reference List


Function GIAsemRelTranslatorParserClass::locateAndAddAllNetworkIndexEntitiesBasedOnSemanticRelations()

Function Summary
namereturn typedescription
locateAndAddAllNetworkIndexEntitiesBasedOnSemanticRelationsvoidlocate and add all network index entities based on semantic relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::fillGrammaticalTenseArraysStanfordBasedOnSemanticRelations()

Function Summary
namereturn typedescription
fillGrammaticalTenseArraysStanfordBasedOnSemanticRelationsvoidfill grammatical tense arrays stanford based on semantic relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::fillGrammaticalTenseArraysStanfordBasedOnSemanticRelationsMultiwordAuxiliary()

Function Summary
namereturn typedescription
fillGrammaticalTenseArraysStanfordBasedOnSemanticRelationsMultiwordAuxiliaryvoidfill grammatical tense arrays stanford based on semantic relations multiword auxiliary

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
modalAuxiliaryIndex const int modal auxiliary index
entity const GIAentityNode* entity

Function Reference List
N/A


Function GIAsemRelTranslatorParserClass::defineSubstancesBasedOnSemanticRelations()

Function Summary
namereturn typedescription
defineSubstancesBasedOnSemanticRelationsvoiddefine substances based on semantic relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::identifyComparisonVariableBasedOnSemanticRelations()

Function Summary
namereturn typedescription
identifyComparisonVariableBasedOnSemanticRelationsvoididentify comparison variable based on semantic relations

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::defineConnectionsBasedOnSemanticRelations()

Function Summary
namereturn typedescription
defineConnectionsBasedOnSemanticRelationsvoiddefine connections based on semantic relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::findMatchingObject()

Function Summary
namereturn typedescription
findMatchingObjectboolfind matching object

Function Arguments
nametypedescription
translatorVariablesconstEffective GIAtranslatorVariablesClass* translator variables
semanticRelationName const string semantic relation name
entity2Index const int entity 2I ndex
currentRelationInList2 GIArelation** current relation in list 2
entity2Index2 int* entity 2I ndex 2

Function Reference List
N/A


Function GIAsemRelTranslatorParserClass::invertOrDuplicateConditionsIfRequiredSemantic()

Function Summary
namereturn typedescription
invertOrDuplicateConditionsIfRequiredSemanticvoidinvert or duplicate conditions if required semantic

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entity1 GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
entity3condition GIAentityNode* entity 3condition
sameReferenceSet bool same reference set

Function Reference List


Function GIAsemRelTranslatorParserClass::createNewInverseConditionEntitySemantic()

Function Summary
namereturn typedescription
createNewInverseConditionEntitySemanticGIAentityNode*create new inverse condition entity semantic

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
inverseConditionName string inverse condition name

Function Reference List


Function GIAsemRelTranslatorParserClass::applyAdvancedFeaturesBasedOnSemanticRelations()

Function Summary
namereturn typedescription
applyAdvancedFeaturesBasedOnSemanticRelationsvoidapply advanced features based on semantic relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::defineQuantitiesBasedOnSemanticRelations()

Function Summary
namereturn typedescription
defineQuantitiesBasedOnSemanticRelationsvoiddefine quantities based on semantic relations

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::generateAllPermutationsFromSemanticRelationsFile()

Function Summary
namereturn typedescription
generateAllPermutationsFromSemanticRelationsFileboolgenerate all permutations from semantic relations file

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::defineQualitiesBasedOnSemanticRelations()

Function Summary
namereturn typedescription
defineQualitiesBasedOnSemanticRelationsvoiddefine qualities based on semantic relations

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsemRelTranslatorParserClass::convertSentenceSemanticRelationsIntoGIAnetworkNodesEndPart1()

Function Summary
namereturn typedescription
convertSentenceSemanticRelationsIntoGIAnetworkNodesEndPart1boolconvert sentence semantic relations into GIA network nodes end part 1

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entityNodesActiveListSentence vector<GIAentityNode*>* entity nodes active list sentence

Function Reference List


File GIAsemRelTranslatorOperations Documentation

File Name: GIAsemRelTranslatorOperations.cpp/.hpp

File Description: GIA sem rel translator operations

File Function List


File Diagram (functions hierarchy)


Function GIAsemRelTranslatorOperationsClass::GIA2nonHeuristicImplementationGenerateExperiencesForConnectionistNetworkTrain()

Function Summary
namereturn typedescription
GIA2nonHeuristicImplementationGenerateExperiencesForConnectionistNetworkTrainGIArelation*GIA2 non heuristic implementation generate experiences for connectionist network train

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
connectionType int connection type
entityIndex1 int entity index 1
entityIndex2 int entity index 2
sameReferenceSet bool same reference set

Function Reference List


Function GIAsemRelTranslatorOperationsClass::GIA2nonHeuristicImplementationGenerateExperiencesForConnectionistNetworkTrainSpecial()

Function Summary
namereturn typedescription
GIA2nonHeuristicImplementationGenerateExperiencesForConnectionistNetworkTrainSpecialvoidGIA2 non heuristic implementation generate experiences for connectionist network train special

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
linkPreestablishedReferencesGIA const bool link preestablished references GIA

Function Reference List


Function GIAsemRelTranslatorOperationsClass::generateGIA2semanticDependencyRelation()

Function Summary
namereturn typedescription
generateGIA2semanticDependencyRelationvoidgenerate GIA2 semantic dependency relation

Function Arguments
nametypedescription
GIAentityNodeArrayconst vector<GIAentityNode*>* GIA entity node array
connectionType int connection type
entityIndex1 int entity index 1
entityIndex2 int entity index 2
sameReferenceSet bool same reference set
GIA2semanticDependencyRelationText string* GIA2 semantic dependency relation text
GIA2semanticDependencyRelation GIArelation* GIA2 semantic dependency relation

Function Reference List


Function GIAsemRelTranslatorOperationsClass::determineGIAconnectionistNetworkPOStypeNames()

Function Summary
namereturn typedescription
determineGIAconnectionistNetworkPOStypeNamesvoiddetermine GIA connectionist network POS type names

Function Arguments
nametypedescription
firstFeatureInListGIAfeature* first feature in list
NLPfeatureParser const int NLP feature parser

Function Reference List


Function GIAsemRelTranslatorOperationsClass::determineGIAconnectionistNetworkPOStypeNameStanford()

Function Summary
namereturn typedescription
determineGIAconnectionistNetworkPOStypeNameStanfordvoiddetermine GIA connectionist network POS type name stanford

Function Arguments
nametypedescription
currentFeatureInSentenceGIAfeature* current feature in sentence

Function Reference List


Function GIAsemRelTranslatorOperationsClass::determineGIAconnectionistNetworkPOStypeNameRelex()

Function Summary
namereturn typedescription
determineGIAconnectionistNetworkPOStypeNameRelexvoiddetermine GIA connectionist network POS type name relex

Function Arguments
nametypedescription
currentFeatureInSentenceGIAfeature* current feature in sentence

Function Reference List


Function GIAsemRelTranslatorOperationsClass::determineGIAconnectionistNetworkPOStypeNameShared()

Function Summary
namereturn typedescription
determineGIAconnectionistNetworkPOStypeNameSharedvoiddetermine GIA connectionist network POS type name shared

Function Arguments
nametypedescription
currentFeatureInSentenceconst GIAfeature* current feature in sentence
GIAsemRelTranslatorPOStype int* GIA sem rel translator POS type

Function Reference List
N/A


Function GIAsemRelTranslatorOperationsClass::generateOptimisedFeatureSubsetBasedOnContextualConjunctions()

Function Summary
namereturn typedescription
generateOptimisedFeatureSubsetBasedOnContextualConjunctionsGIAfeature*generate optimised feature subset based on contextual conjunctions

Function Arguments
nametypedescription
firstFeatureInSentenceSubsetGIAfeature* first feature in sentence subset
centralWord const int central word
optimisedBasedOnContextualConjunctions bool* optimised based on contextual conjunctions

Function Reference List


Function GIAsemRelTranslatorOperationsClass::calculateFirstWordInTupleIndexRelative()

Function Summary
namereturn typedescription
calculateFirstWordInTupleIndexRelativeintcalculate first word in tuple index relative

Function Arguments
nametypedescription
firstWordInTupleIndexconst int first word in tuple index
firstWordInSentenceSubsetIndex const int first word in sentence subset index

Function Reference List
N/A


Function GIAsemRelTranslatorOperationsClass::generateGIA2semanticDependencyRelationText()

Function Summary
namereturn typedescription
generateGIA2semanticDependencyRelationTextstringgenerate GIA2 semantic dependency relation text

Function Arguments
nametypedescription
entityName1const string entity name 1
entityName2 const string entity name 2
semanticRelation const string semantic relation
entityIndex1 const int entity index 1
entityIndex2 const int entity index 2
sameReferenceSet const bool same reference set

Function Reference List


Function GIAsemRelTranslatorOperationsClass::createSameReferenceSetRecord()

Function Summary
namereturn typedescription
createSameReferenceSetRecordstringcreate same reference set record

Function Arguments
nametypedescription
sameReferenceSetconst bool same reference set

Function Reference List


File GIAsemRelTranslatorDatabase Documentation

File Name: GIAsemRelTranslatorDatabase.cpp/.hpp

File Description: GIA sem rel translator database

File Function List


File Diagram (functions hierarchy)


Function GIAsemRelTranslatorDatabaseClass::initialiseSemanticParserDatabase()

Function Summary
namereturn typedescription
initialiseSemanticParserDatabasevoidinitialise semantic parser database

Function Arguments
nametypedescription
newSemanticParserDatabaseFolderNameconst string new semantic parser database folder name

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::prepareSemanticParserDatabaseForWriting()

Function Summary
namereturn typedescription
prepareSemanticParserDatabaseForWritingvoidprepare semantic parser database for writing

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::semanticParserDBgenerateFolderName()

Function Summary
namereturn typedescription
semanticParserDBgenerateFolderNamestringsemantic parser DB generate folder name

Function Arguments
nametypedescription
firstFeatureInListconst GIAfeature* first feature in list

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::prepareSemanticParserCorpusDatabaseFileTextForWriting()

Function Summary
namereturn typedescription
prepareSemanticParserCorpusDatabaseFileTextForWritingvoidprepare semantic parser corpus database file text for writing

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::saveTextLineToCorpusFileString()

Function Summary
namereturn typedescription
saveTextLineToCorpusFileStringvoidsave text line to corpus file string

Function Arguments
nametypedescription
sentenceTextconst string sentence text

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::saveTextToCorpusFileString()

Function Summary
namereturn typedescription
saveTextToCorpusFileStringvoidsave text to corpus file string

Function Arguments
nametypedescription
sentenceTextconst string sentence text

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::writeSemanticParserCorpusFile()

Function Summary
namereturn typedescription
writeSemanticParserCorpusFilevoidwrite semantic parser corpus file

Function Arguments
nametypedescription
firstFeatureInSentenceconst GIAfeature* first feature in sentence

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::writeSemanticParserCorpusFile()

Function Summary
namereturn typedescription
writeSemanticParserCorpusFilevoidwrite semantic parser corpus file

Function Arguments
nametypedescription
firstFeatureInSentenceconst GIAfeature* first feature in sentence
sentenceSemanticRelationsText const string* sentence semantic relations text

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::semanticParserCorpusDBgenerateFileName()

Function Summary
namereturn typedescription
semanticParserCorpusDBgenerateFileNamestringsemantic parser corpus DB generate file name

Function Arguments
nametypedescription
firstFeatureInListconst GIAfeature* first feature in list

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::generateCorpusFileHeaderText()

Function Summary
namereturn typedescription
generateCorpusFileHeaderTextstringgenerate corpus file header text

Function Arguments
nametypedescription
firstFeatureInSentenceconst GIAfeature* first feature in sentence
addPOSinfo const bool add POS info

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::loadSemanticParserOptimisedDatabaseFile()

Function Summary
namereturn typedescription
loadSemanticParserOptimisedDatabaseFileboolload semantic parser optimised database file

Function Arguments
nametypedescription
firstFeatureInListorSubsetconst GIAfeature* first feature in listor subset
indexOfFirstWordInTupleBeingAssessedForSemanticRelationAssignment const int index of first word in tuple being assessed for semantic relation assignment
GIA2semanticDependencyRelationProbabilityArray[] int GIA2 semantic dependency relation probability array []
GIA2semanticDependencyRelationAssignedArray[] int GIA2 semantic dependency relation assigned array []
GIA2semanticDependencyRelationRejectedArray[] int GIA2 semantic dependency relation rejected array []

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::writeSemanticParserOptimisedDatabaseFile()

Function Summary
namereturn typedescription
writeSemanticParserOptimisedDatabaseFilevoidwrite semantic parser optimised database file

Function Arguments
nametypedescription
firstFeatureInListorSubsetconst GIAfeature* first feature in listor subset
firstWordInTupleIndex const int first word in tuple index
semanticDependencyRelationType const int semantic dependency relation type
directionGovernorToDependent const bool direction governor to dependent
sameReferenceSet const bool same reference set

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::initialiseIntArray()

Function Summary
namereturn typedescription
initialiseIntArrayvoidinitialise int array

Function Arguments
nametypedescription
intArray[]int int array []
size const int size
value int value

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::calculateSemanticRelationTypeOptimisedDatabase()

Function Summary
namereturn typedescription
calculateSemanticRelationTypeOptimisedDatabaseintcalculate semantic relation type optimised database

Function Arguments
nametypedescription
semanticDependencyRelationTypeconst int semantic dependency relation type
directionGovernorToDependent const bool direction governor to dependent
sameReferenceSet const bool same reference set

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::semanticParserOptimisedDBgenerateFileName()

Function Summary
namereturn typedescription
semanticParserOptimisedDBgenerateFileNamestringsemantic parser optimised DB generate file name

Function Arguments
nametypedescription
firstFeatureInListconst GIAfeature* first feature in list
indexOfFirstWordInTupleBeingAssessedForSemanticRelationAssignment const int index of first word in tuple being assessed for semantic relation assignment

Function Reference List


Function GIAsemRelTranslatorDatabaseClass::generateGIA2semanticDependencyRelationObject()

Function Summary
namereturn typedescription
generateGIA2semanticDependencyRelationObjectvoidgenerate GIA2 semantic dependency relation object

Function Arguments
nametypedescription
GIA2semanticDependencyRelationGIArelation* GIA2 semantic dependency relation
entityName1 string entity name 1
entityName2 string entity name 2
semanticRelation string semantic relation
entityIndex1 int entity index 1
entityIndex2 int entity index 2
sameReferenceSet bool same reference set

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::getFirstRelationInSemanticParserSentenceList()

Function Summary
namereturn typedescription
getFirstRelationInSemanticParserSentenceListGIArelation*get first relation in semantic parser sentence list

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::getCurrentRelationInSemanticParserSentenceList()

Function Summary
namereturn typedescription
getCurrentRelationInSemanticParserSentenceListGIArelation*get current relation in semantic parser sentence list

Function Reference List
N/A


Function GIAsemRelTranslatorDatabaseClass::prepareSemanticParserSemanticRelationListForWriting()

Function Summary
namereturn typedescription
prepareSemanticParserSemanticRelationListForWritingvoidprepare semantic parser semantic relation list for writing

Function Reference List
N/A


File GIAnlp Documentation

File Name: GIAnlp.cpp/.hpp

File Description: GIA nlp

File Function List


File Diagram (functions hierarchy)


Function GIAnlpClass::executeNLPparser()

Function Summary
namereturn typedescription
executeNLPparservoidexecute NLP parser

Function Arguments
nametypedescription
inputTextPlainTXTfileNameconst string input text plain TXT file name
inputTextNLPXMLfileName const string input text NLPXML file name
translatorVariables const GIAtranslatorVariablesClass* translator variables
parseRelationsOrFeatures const bool parse relations or features

Function Reference List


Function GIAnlpClass::parseNLPparserFile()

Function Summary
namereturn typedescription
parseNLPparserFileboolparse NLP parser file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
NLPfeatureParser const int NLP feature parser
NLPdependencyRelationsParser const int NLP dependency relations parser
NLPrelexCompatibilityMode bool NLP relex compatibility mode

Function Reference List


Function GIAnlpClass::parseNLPparserFeaturesFile()

Function Summary
namereturn typedescription
parseNLPparserFeaturesFileboolparse NLP parser features file

Function Arguments
nametypedescription
inputTextNLPfeatureXMLfileNameconst string input text NLP feature XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
NLPfeatureParser const int NLP feature parser
createNewSentences bool* create new sentences

Function Reference List


Function GIAnlpClass::parseNLPparserRelationsFile()

Function Summary
namereturn typedescription
parseNLPparserRelationsFileboolparse NLP parser relations file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
NLPdependencyRelationsParser const int NLP dependency relations parser
NLPrelexCompatibilityMode bool NLP relex compatibility mode
createNewSentences const bool create new sentences
onlyParseIfCorpusLookupFailed const bool only parse if corpus lookup failed

Function Reference List


Function GIAnlpClass::parseRelexFile()

Function Summary
namereturn typedescription
parseRelexFileboolparse relex file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
parseRelations const bool parse relations
parseFeatures const bool parse features
NLPrelexCompatibilityMode bool NLP relex compatibility mode
createNewSentences const bool create new sentences
onlyParseIfCorpusLookupFailed const bool only parse if corpus lookup failed

Function Reference List


Function GIAnlpClass::parseStanfordCoreNLPfile()

Function Summary
namereturn typedescription
parseStanfordCoreNLPfileboolparse stanford core NLP file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
parseRelations const bool parse relations
parseFeatures const bool parse features
createNewSentences const bool create new sentences
onlyParseIfCorpusLookupFailed const bool only parse if corpus lookup failed

Function Reference List


Function GIAnlpClass::parseStanfordParserFile()

Function Summary
namereturn typedescription
parseStanfordParserFileboolparse stanford parser file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
createNewSentences const bool create new sentences
onlyParseIfCorpusLookupFailed const bool only parse if corpus lookup failed

Function Reference List


Function GIAnlpClass::parseStanfordParserFile()

Function Summary
namereturn typedescription
parseStanfordParserFileboolparse stanford parser file

Function Arguments
nametypedescription
inputTextNLPrelationXMLfileNameconst string input text NLP relation XML file name
isQuery const bool is query
firstSentenceInList GIAsentence* first sentence in list
createNewSentences const bool create new sentences
parseGIA2file bool parse GIA2 file
onlyParseIfCorpusLookupFailed const bool only parse if corpus lookup failed

Function Reference List


Function GIAnlpClass::countSubstring()

Function Summary
namereturn typedescription
countSubstringintcount substring

Function Arguments
nametypedescription
strconst std::string& str
sub const std::string& sub

Function Reference List
N/A


Function GIAnlpClass::outputInternalRelationsInRelexFormat()

Function Summary
namereturn typedescription
outputInternalRelationsInRelexFormatvoidoutput internal relations in relex format

Function Arguments
nametypedescription
nameOfRelexCompactFormatCFFfilestring* name of relex compact format CFF file
originalInputFileName const string* original input file name
firstSentenceInList const GIAsentence* first sentence in list
NLPdependencyRelationsParser const int NLP dependency relations parser
NLPfeatureParser const int NLP feature parser
NLPexeFolderArray[] const string NLP exe folder array []

Function Reference List


File GIAnlpParser Documentation

File Name: GIAnlpParser.cpp/.hpp

File Description: GIA nlp parser

File Function List


File Diagram (functions hierarchy)


Function GIAnlpParserClass::GIATHparseStanfordParseWordsAndPOStagsText()

Function Summary
namereturn typedescription
GIATHparseStanfordParseWordsAndPOStagsTextvoidGIATH parse stanford parse words and POS tags text

Function Arguments
nametypedescription
POStagsTextconst string* POS tags text
currentSentenceInList GIAsentence* current sentence in list
numberOfWordsInSentence int* number of words in sentence
createFeaturesGIA2only const bool create features GIA2 only

Function Reference List
N/A


Function GIAnlpParserClass::findReplicateRelation()

Function Summary
namereturn typedescription
findReplicateRelationboolfind replicate relation

Function Arguments
nametypedescription
currentSentenceInListconst GIAsentence* current sentence in list
relation const GIArelation* relation

Function Reference List


Function GIAnlpParserClass::compareRelations()

Function Summary
namereturn typedescription
compareRelationsboolcompare relations

Function Arguments
nametypedescription
relation1const GIArelation* relation 1
relation2 const GIArelation* relation 2

Function Reference List
N/A


Function GIAnlpParserClass::findString()

Function Summary
namereturn typedescription
findStringboolfind string

Function Arguments
nametypedescription
entityNamestring entity name
stringToFind string string to find

Function Reference List
N/A


Function GIAnlpParserClass::createSameReferenceSetRecord2()

Function Summary
namereturn typedescription
createSameReferenceSetRecord2stringcreate same reference set record 2

Function Arguments
nametypedescription
sameReferenceSetconst bool same reference set

Function Reference List


Function GIAnlpParserClass::GIATHparseStanfordParserRelationsText()

Function Summary
namereturn typedescription
GIATHparseStanfordParserRelationsTextvoidGIATH parse stanford parser relations text

Function Arguments
nametypedescription
relationsTextconst string* relations text
currentSentenceInList GIAsentence* current sentence in list
numberOfWordsInSentence int* number of words in sentence
featuresNotPreviouslyFilled const bool features not previously filled
parseGIA2file const bool parse GIA2 file
NLPrelexCompatibilityMode const bool NLP relex compatibility mode

Function Reference List


Function GIAnlpParserClass::convertStanfordRelationToRelex()

Function Summary
namereturn typedescription
convertStanfordRelationToRelexvoidconvert stanford relation to relex

Function Arguments
nametypedescription
currentRelationInListGIArelation* current relation in list
currentSentenceInList GIAsentence* current sentence in list

Function Reference List


Function GIAnlpParserClass::convertPrepositionToRelex2()

Function Summary
namereturn typedescription
convertPrepositionToRelex2stringconvert preposition to relex 2

Function Arguments
nametypedescription
prepositionconst string* preposition
prepositionFound bool* preposition found

Function Reference List
N/A


Function GIAnlpParserClass::convertStanfordRelationToRelexLRPreversion()

Function Summary
namereturn typedescription
convertStanfordRelationToRelexLRPreversionvoidconvert stanford relation to relex LRP reversion

Function Arguments
nametypedescription
currentRelationInListGIArelation* current relation in list
currentSentenceInList GIAsentence* current sentence in list
stanfordPrepositionFound const bool stanford preposition found
tempRelexPrepositionString const string temp relex preposition string
relationTypeRelexStandard string* relation type relex standard

Function Reference List


Function GIAnlpParserClass::GIATHparseRelexFeaturesText()

Function Summary
namereturn typedescription
GIATHparseRelexFeaturesTextvoidGIATH parse relex features text

Function Arguments
nametypedescription
featuresTextconst string* features text
currentSentenceInList GIAsentence* current sentence in list
numberOfWordsInSentence int* number of words in sentence

Function Reference List


Function GIAnlpParserClass::GIATHparseRelexRelationsText()

Function Summary
namereturn typedescription
GIATHparseRelexRelationsTextvoidGIATH parse relex relations text

Function Arguments
nametypedescription
relationsTextconst string* relations text
currentSentenceInList GIAsentence* current sentence in list
numberOfWordsInSentence int* number of words in sentence
NLPrelexCompatibilityMode const bool NLP relex compatibility mode

Function Reference List


Function GIAnlpParserClass::generateRelexCFFfeatureTagContent()

Function Summary
namereturn typedescription
generateRelexCFFfeatureTagContentstringgenerate relex CFF feature tag content

Function Arguments
nametypedescription
firstFeatureInListconst GIAfeature* first feature in list

Function Reference List


Function GIAnlpParserClass::generateRelexCFFrelationTagContent()

Function Summary
namereturn typedescription
generateRelexCFFrelationTagContentstringgenerate relex CFF relation tag content

Function Arguments
nametypedescription
firstRelationInListconst GIArelation* first relation in list

Function Reference List


File GIAtranslatorGrammar Documentation

File Name: GIAtranslatorGrammar.cpp/.hpp

File Description: GIA translator grammar

File Function List


File Diagram (functions hierarchy)


Function GIAtranslatorGrammarClass::calculateGrammarUsingInferredPosTypes()

Function Summary
namereturn typedescription
calculateGrammarUsingInferredPosTypesboolcalculate grammar using inferred pos types

Function Arguments
nametypedescription
currentWordLRPpreprocessorPlainTextWord* current word
currentFeature GIAfeature* current feature

Function Reference List


Function GIAtranslatorGrammarClass::locateAndAddAllFeatureTempEntities()

Function Summary
namereturn typedescription
locateAndAddAllFeatureTempEntitiesvoidlocate and add all feature temp entities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorGrammarClass::locateAndAddAllNetworkIndexEntities()

Function Summary
namereturn typedescription
locateAndAddAllNetworkIndexEntitiesvoidlocate and add all network index entities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorGrammarClass::fillGrammaticalArraysRelex()

Function Summary
namereturn typedescription
fillGrammaticalArraysRelexvoidfill grammatical arrays relex

Function Arguments
nametypedescription
currentSentenceInListGIAsentence* current sentence in list

Function Reference List


Function GIAtranslatorGrammarClass::fillGrammaticalArraysStanford()

Function Summary
namereturn typedescription
fillGrammaticalArraysStanfordvoidfill grammatical arrays stanford

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAtranslatorGrammarClass::extractPastTense()

Function Summary
namereturn typedescription
extractPastTensevoidextract past tense

Function Arguments
nametypedescription
featureWithEntityIndexGIAfeature* feature with entity index
entityIndexContainingTenseIndication const int entity index containing tense indication
firstFeatureInList const GIAfeature* first feature in list
NLPfeatureParser const int NLP feature parser

Function Reference List


Function GIAtranslatorGrammarClass::extractPastTenseFromPOStag()

Function Summary
namereturn typedescription
extractPastTenseFromPOStagvoidextract past tense from POS tag

Function Arguments
nametypedescription
POStagconst string* POS tag
feature GIAfeature* feature

Function Reference List
N/A


Function GIAtranslatorGrammarClass::extractGrammaticalInformationStanford()

Function Summary
namereturn typedescription
extractGrammaticalInformationStanfordvoidextract grammatical information stanford

Function Arguments
nametypedescription
firstFeatureInListGIAfeature* first feature in list
NLPfeatureParser const int NLP feature parser

Function Reference List


Function GIAtranslatorGrammarClass::extractPOSrelatedGrammaticalInformationStanford()

Function Summary
namereturn typedescription
extractPOSrelatedGrammaticalInformationStanfordvoidextract POS related grammatical information stanford

Function Arguments
nametypedescription
currentFeatureGIAfeature* current feature
grammaticallyStrict bool grammatically strict

Function Reference List


Function GIAtranslatorGrammarClass::extractGrammaticalInformationFromStanfordPOStag()

Function Summary
namereturn typedescription
extractGrammaticalInformationFromStanfordPOStagvoidextract grammatical information from stanford POS tag

Function Arguments
nametypedescription
POStagconst string* POS tag
feature GIAfeature* feature

Function Reference List


Function GIAtranslatorGrammarClass::applyGrammaticalInfoToAllEntities()

Function Summary
namereturn typedescription
applyGrammaticalInfoToAllEntitiesvoidapply grammatical info to all entities

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
firstFeatureInSentence GIAfeature* first feature in sentence

Function Reference List


Function GIAtranslatorGrammarClass::applyPOSrelatedGrammaticalInfoToEntity()

Function Summary
namereturn typedescription
applyPOSrelatedGrammaticalInfoToEntityvoidapply POS related grammatical info to entity

Function Arguments
nametypedescription
entityGIAentityNode* entity
currentFeatureInList GIAfeature* current feature in list

Function Reference List
N/A


Function GIAtranslatorGrammarClass::findSubjObjRelationMatchingAuxiliaryAndSetNotSameReferenceSet()

Function Summary
namereturn typedescription
findSubjObjRelationMatchingAuxiliaryAndSetNotSameReferenceSetvoidfind subj obj relation matching auxiliary and set not same reference set

Function Arguments
nametypedescription
currentSentenceInListGIAsentence* current sentence in list
subjectObjectEntityWithAuxiliaryEntityIndex const int subject object entity with auxiliary entity index
subjectObjectEntityWithAuxiliaryEntityName const string* subject object entity with auxiliary entity name

Function Reference List
N/A


File GIAsynRelTranslatorGeneric Documentation

File Name: GIAsynRelTranslatorGeneric.cpp/.hpp

File Description: GIA syn rel translator generic

File Function List


File Diagram (functions hierarchy)


Class GIAgenericDepRelInterpretationParameters

Class Data
nametypedescription
translatorVariablesGIAtranslatorVariablesClasstranslator variables
executeOrReassignboolexecute or reassign
linkPreestablishedReferencesGIAboollink preestablished references GIA
numberOfRelationsintnumber of relations
parseDisabledRelation[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]boolparse disabled relation [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
parseDisabledRelationDuringLink[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]boolparse disabled relation during link [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
relation[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]GIArelation*relation [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
relationEntity[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]stringrelation entity [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationEntityIndex[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation entity index [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationEntityPrepFound[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]boolrelation entity prep found [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
relationEntityOriginal[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]stringrelation entity original [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationEntityIndexOriginal[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation entity index original [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationFinalResult[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]GIArelation*relation final result [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
relationEntityFinalResult[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]stringrelation entity final result [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationEntityIndexFinalResult[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation entity index final result [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRelationTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse relation test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]stringrelation test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationTestIsNegative[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolrelation test is negative [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRelationArrayTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse relation array test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationArrayTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]string*relation array test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationArrayTestSize[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation array test size [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationArrayTestIsNegative[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolrelation array test is negative [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
expectToFindPrepositionTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]boolexpect to find preposition test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
specialCaseCharacteristicsTestAndVector[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]vector<GIAentityCharacteristic*>special case characteristics test and vector [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsTestOrVector[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]vector<GIAentityCharacteristic*>special case characteristics test or vector [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsTestOr2Vector[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]vector<GIAentityCharacteristic*>special case characteristics test or 2V ector [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsTestOr3Vector[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]vector<GIAentityCharacteristic*>special case characteristics test or 3V ector [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRelationIndexTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse relation index test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationIndexTestRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation index test relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationIndexTestEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intrelation index test entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
relationIndexTestIsNegative[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolrelation index test is negative [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useSpecialCaseCharacteristicsRelationIndexTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse special case characteristics relation index test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationIndexTestRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intspecial case characteristics relation index test relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationIndexTestEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intspecial case characteristics relation index test entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationIndexTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]GIAentityCharacteristicspecial case characteristics relation index test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeRelationEntityIndexReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse redistribute relation entity index reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeRelationEntityIndexReassignmentRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intredistribute relation entity index reassignment relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeRelationEntityIndexReassignmentRelationEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intredistribute relation entity index reassignment relation entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeRelationEntityIndexReassignmentUseOriginalValues[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolredistribute relation entity index reassignment use original values [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeRelationEntityReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse redistribute relation entity reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeRelationEntityReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]stringredistribute relation entity reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeSpecialCaseAuxiliaryIndicatesDifferentReferenceSetCheck[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booluse redistribute special case auxiliary indicates different reference set check [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
useRedistributeSpecialCaseAuxiliaryIndicatesDifferentReferenceSet[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booluse redistribute special case auxiliary indicates different reference set [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
useRedistributeSpecialCaseRcmodIndicatesSameReferenceSet[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booluse redistribute special case rcmod indicates same reference set [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
useRedistributeSpecialCaseRelationEntityReassignmentConcatonate[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse redistribute special case relation entity reassignment concatonate [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeSpecialCaseRelationEntityIndexReassignmentConcatonateRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION][2]intredistribute special case relation entity index reassignment concatonate relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION][2]
redistributeSpecialCaseRelationEntityIndexReassignmentConcatonateRelationEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION][2]intredistribute special case relation entity index reassignment concatonate relation entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION][2]
redistributeSpecialCaseRelationEntityReassignmentConcatonateType[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intredistribute special case relation entity reassignment concatonate type [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeSpecialCaseRelationEntityNameReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse redistribute special case relation entity name reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeSpecialCaseRelationEntityNameReassignmentRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intredistribute special case relation entity name reassignment relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeSpecialCaseRelationEntityNameReassignmentRelationEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intredistribute special case relation entity name reassignment relation entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
redistributeSpecialCaseRelationEntityNameReassignmentUseOriginalValues[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolredistribute special case relation entity name reassignment use original values [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeSpecialCaseDisableInstanceAndNetworkIndex[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse redistribute special case disable instance and network index [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsAssignmentVector[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]vector<GIAentityCharacteristic*>special case characteristics assignment vector [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useSpecialCaseCharacteristicsRelationEntityIndexReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booluse special case characteristics relation entity index reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationEntityIndexReassignmentRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intspecial case characteristics relation entity index reassignment relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationEntityIndexReassignmentRelationEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]intspecial case characteristics relation entity index reassignment relation entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
specialCaseCharacteristicsRelationEntityIndexReassignment[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]GIAentityCharacteristicspecial case characteristics relation entity index reassignment [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
useRedistributeSpecialCaseRcmodIndicatesSameReferenceSetNotTest[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booluse redistribute special case rcmod indicates same reference set not test [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
defaultSameSetRelationIDintdefault same set relation ID
defaultSameSetReferenceValuebooldefault same set reference value
functionEntityRelationID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_FUNCTION]intfunction entity relation ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_FUNCTION]
functionEntityRelationEntityID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_FUNCTION]intfunction entity relation entity ID[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_FUNCTION]
functionToExecuteUponFindintfunction to execute upon find
mustGenerateConditionNameboolmust generate condition name
conditionEntityDefaultNamestringcondition entity default name
disableEntity[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booldisable entity [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
disableEntityUseOriginalValues[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]booldisable entity use original values [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
enableEntity[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]boolenable entity [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS][GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_ENTITIES_PER_RELATION]
disableRelation[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booldisable relation [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
disableRelationDuringLink[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booldisable relation during link [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]
functionNamestringfunction name
useRedistributeSpecialCaseNonExistantRelationCheck[GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]booluse redistribute special case non existant relation check [GIA_GENERIC_DEP_REL_INTERP_MAX_NUM_RELATIONS]

Class GIAgenericEntityInterpretationParameters

Class Data
nametypedescription
translatorVariablesGIAtranslatorVariablesClasstranslator variables
executeOrReassignboolexecute or reassign
linkPreestablishedReferencesGIAboollink preestablished references GIA
parseDisabledEntityboolparse disabled entity
useEntityTestbooluse entity test
entityTeststringentity test
entityTestIsNegativeboolentity test is negative
useEntityArrayTestbooluse entity array test
entityArrayTeststring*entity array test
entityArrayTestSizeintentity array test size
entityArrayTestIsNegativeboolentity array test is negative
specialCaseCharacteristicsTestAndVectorvector<GIAentityCharacteristic*>special case characteristics test and vector
specialCaseCharacteristicsTestOrVectorvector<GIAentityCharacteristic*>special case characteristics test or vector
specialCaseCharacteristicsAssignmentVectorvector<GIAentityCharacteristic*>special case characteristics assignment vector
functionToExecuteUponFindintfunction to execute upon find
disableEntitybooldisable entity
functionNamestringfunction name

Function GIAsynRelTranslatorGenericClass::genericDependecyRelationInterpretation()

Function Summary
namereturn typedescription
genericDependecyRelationInterpretationboolgeneric dependecy relation interpretation

Function Arguments
nametypedescription
paramGIAgenericDepRelInterpretationParameters* param
currentRelationID int current relation ID

Function Reference List


Function GIAsynRelTranslatorGenericClass::genericEntityInterpretation()

Function Summary
namereturn typedescription
genericEntityInterpretationboolgeneric entity interpretation

Function Arguments
nametypedescription
paramGIAgenericEntityInterpretationParameters* param

Function Reference List


Function GIAsynRelTranslatorGenericClass::determineFeatureIndexOfPreposition()

Function Summary
namereturn typedescription
determineFeatureIndexOfPrepositionbooldetermine feature index of preposition

Function Arguments
nametypedescription
currentSentenceInListGIAsentence* current sentence in list
prepositionRelation const GIArelation* preposition relation
indexOfPreposition int* index of preposition

Function Reference List
N/A


File GIAsynRelTranslatorRedistributeRelations Documentation

File Name: GIAsynRelTranslatorRedistributeRelations.cpp/.hpp

File Description: GIA syn rel translator redistribute relations

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorRedistributeRelationsClass::redistributeStanfordAndRelexRelationsCorrectPOStagsAndLemmasOfAllVerbs()

Function Summary
namereturn typedescription
redistributeStanfordAndRelexRelationsCorrectPOStagsAndLemmasOfAllVerbsvoidredistribute stanford and relex relations correct POS tags and lemmas of all verbs

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorRedistributeRelationsClass::correctVerbPOStagAndLemma()

Function Summary
namereturn typedescription
correctVerbPOStagAndLemmaboolcorrect verb POS tag and lemma

Function Arguments
nametypedescription
actionOrSubstanceEntityGIAentityNode* action or substance entity
currentFeature GIAfeature* current feature

Function Reference List


File GIAsynRelTranslatorLinkEntitiesDynamic Documentation

File Name: GIAsynRelTranslatorLinkEntitiesDynamic.cpp/.hpp

File Description: GIA syn rel translator link entities dynamic

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::linkEntitiesDynamic()

Function Summary
namereturn typedescription
linkEntitiesDynamicvoidlink entities dynamic

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::linkEntitiesDynamicPrenominalModifierOfNoun()

Function Summary
namereturn typedescription
linkEntitiesDynamicPrenominalModifierOfNounvoidlink entities dynamic prenominal modifier of noun

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::linkEntitiesDynamicPrenominalModifierOfNounDirection()

Function Summary
namereturn typedescription
linkEntitiesDynamicPrenominalModifierOfNounDirectionboollink entities dynamic prenominal modifier of noun direction

Function Arguments
nametypedescription
currentRelationInListconst GIArelation* current relation in list
translatorVariables GIAtranslatorVariablesClass* translator variables
entity1 GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
entity1Index int entity 1I ndex
entity2Index int entity 2I ndex
relationTypeIndex int relation type index
direction const bool direction

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::linkEntitiesDynamicFromConditions()

Function Summary
namereturn typedescription
linkEntitiesDynamicFromConditionsvoidlink entities dynamic from conditions

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::findPreviousRelationship()

Function Summary
namereturn typedescription
findPreviousRelationshipboolfind previous relationship

Function Arguments
nametypedescription
instanceEntityGIAentityNode* instance entity
comparisonEntity const GIAentityNode* comparison entity
targetEntityFound GIAentityNode** target entity found
previousDefinitionRelationshipFound bool* previous definition relationship found
previousPropertyRelationshipFound bool* previous property relationship found
previousConditionRelationshipFound bool* previous condition relationship found

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::connectDefinitionToEntityFull()

Function Summary
namereturn typedescription
connectDefinitionToEntityFullvoidconnect definition to entity full

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entity1 GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
entity1Index int entity 1I ndex
entity2Index int entity 2I ndex
sameReferenceSet bool same reference set

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::connectPropertyToEntityFull()

Function Summary
namereturn typedescription
connectPropertyToEntityFullvoidconnect property to entity full

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entity1 GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
entity1Index int entity 1I ndex
entity2Index int entity 2I ndex
sameReferenceSet bool same reference set

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::connectConditionToEntityFull()

Function Summary
namereturn typedescription
connectConditionToEntityFullintconnect condition to entity full

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entity1 GIAentityNode* entity 1
entity2 GIAentityNode* entity 2
entity1Index int entity 1I ndex
entity2Index int entity 2I ndex
conditionEntityName const string condition entity name
conditionIndex int condition index
sameReferenceSet bool same reference set

Function Reference List


Function GIAsynRelTranslatorLinkEntitiesDynamicClass::getEntityIndex()

Function Summary
namereturn typedescription
getEntityIndexintget entity index

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
instanceEntity const GIAentityNode* instance entity

Function Reference List


File GIAsynRelTranslatorDefineSubstances Documentation

File Name: GIAsynRelTranslatorDefineSubstances.cpp/.hpp

File Description: GIA syn rel translator define substances

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorDefineSubstancesClass::defineSubstancesAllNodes()

Function Summary
namereturn typedescription
defineSubstancesAllNodesvoiddefine substances all nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorDefineSubstancesClass::defineSubstancesActionNetworkIndexes()

Function Summary
namereturn typedescription
defineSubstancesActionNetworkIndexesvoiddefine substances action network indexes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


File GIAsynRelTranslatorApplyAdvancedFeatures Documentation

File Name: GIAsynRelTranslatorApplyAdvancedFeatures.cpp/.hpp

File Description: GIA syn rel translator apply advanced features

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::applyAdvancedFeatures()

Function Summary
namereturn typedescription
applyAdvancedFeaturesvoidapply advanced features

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractDates()

Function Summary
namereturn typedescription
extractDatesvoidextract dates

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractDatesRelex()

Function Summary
namereturn typedescription
extractDatesRelexvoidextract dates relex

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractDatesStanfordCoreNLP()

Function Summary
namereturn typedescription
extractDatesStanfordCoreNLPvoidextract dates stanford core NLP

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::addTimeToSubstance()

Function Summary
namereturn typedescription
addTimeToSubstancevoidadd time to substance

Function Arguments
nametypedescription
timeConditionEntityGIAentityNode* time condition entity

Function Reference List
N/A


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractQuantities()

Function Summary
namereturn typedescription
extractQuantitiesvoidextract quantities

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractQuantitiesRelex()

Function Summary
namereturn typedescription
extractQuantitiesRelexvoidextract quantities relex

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::extractQuantitiesStanfordCoreNLP()

Function Summary
namereturn typedescription
extractQuantitiesStanfordCoreNLPvoidextract quantities stanford core NLP

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::defineTenseOnlyTimeConditions()

Function Summary
namereturn typedescription
defineTenseOnlyTimeConditionsvoiddefine tense only time conditions

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::defineActionConcepts2()

Function Summary
namereturn typedescription
defineActionConcepts2voiddefine action concepts 2

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorApplyAdvancedFeaturesClass::updateConceptDesignationBasedPropertyOwnerContext()

Function Summary
namereturn typedescription
updateConceptDesignationBasedPropertyOwnerContextvoidupdate concept designation based property owner context

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


File GIAbot Documentation

File Name: GIAbot.cpp/.hpp

File Description: GIA bot

File Function List


File Diagram (functions hierarchy)


Function GIAbotClass::botSwitchFirstAndSecondPersonSyntactic()

Function Summary
namereturn typedescription
botSwitchFirstAndSecondPersonSyntacticvoidbot switch first and second person syntactic

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


Function GIAbotClass::botSwitchFirstAndSecondPersonSemantic()

Function Summary
namereturn typedescription
botSwitchFirstAndSecondPersonSemanticvoidbot switch first and second person semantic

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


File GIAposRelTranslatorParser Documentation

File Name: GIAposRelTranslatorParser.cpp/.hpp

File Description: GIA pos rel translator parser

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorParserClass::createSANItranslatorVariablesFromGIAtranslatorVariables()

Function Summary
namereturn typedescription
createSANItranslatorVariablesFromGIAtranslatorVariablesvoidcreate SANI translator variables from GIA translator variables

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
SANItranslatorVariables SANItranslatorVariablesClass* SANI translator variables

Function Reference List
N/A


Function GIAposRelTranslatorParserClass::convertSentenceTxtRelationsIntoGIAnetworkNodes()

Function Summary
namereturn typedescription
convertSentenceTxtRelationsIntoGIAnetworkNodesboolconvert sentence txt relations into GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
linkPreestablishedReferencesGIA const bool link preestablished references GIA
firstGIAcoreferenceInList GIAcoreference* first GIA coreference in list

Function Reference List


Function GIAposRelTranslatorParserClass::locateAndAddAllNetworkIndexEntitiesBasedOnTxtRelations()

Function Summary
namereturn typedescription
locateAndAddAllNetworkIndexEntitiesBasedOnTxtRelationsboollocate and add all network index entities based on txt relations

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::identifyComparisonVariable()

Function Summary
namereturn typedescription
identifyComparisonVariablevoididentify comparison variable

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::generateSemanticRelationsFromTxtRelationsWrapperSentences()

Function Summary
namereturn typedescription
generateSemanticRelationsFromTxtRelationsWrapperSentencesboolgenerate semantic relations from txt relations wrapper sentences

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::generateSemanticRelationsFromTxtRelationsWrapper()

Function Summary
namereturn typedescription
generateSemanticRelationsFromTxtRelationsWrapperboolgenerate semantic relations from txt relations wrapper

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::reconcileSameReferenceSetConnectionsForAllRelationshipEntities()

Function Summary
namereturn typedescription
reconcileSameReferenceSetConnectionsForAllRelationshipEntitiesboolreconcile same reference set connections for all relationship entities

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::setPreprocessorSentenceTranslatorEntityReferences()

Function Summary
namereturn typedescription
setPreprocessorSentenceTranslatorEntityReferencesvoidset preprocessor sentence translator entity references

Function Arguments
nametypedescription
currentPreprocessorSentenceInListLRPpreprocessorSentence* current preprocessor sentence in list
GIAentityNodeArray const vector<GIAentityNode*>* GIA entity node array

Function Reference List


Function GIAposRelTranslatorParserClass::defineSubstancesBasedOnNetworkAndDeterminerInfo()

Function Summary
namereturn typedescription
defineSubstancesBasedOnNetworkAndDeterminerInfovoiddefine substances based on network and determiner info

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::relinkDynamicConnections()

Function Summary
namereturn typedescription
relinkDynamicConnectionsboolrelink dynamic connections

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorParserClass::findIdealSemanticRelationshipSourceInSentenceSubnet()

Function Summary
namereturn typedescription
findIdealSemanticRelationshipSourceInSentenceSubnetboolfind ideal semantic relationship source in sentence subnet

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
relationshipSourceIsSubject const bool relationship source is subject
relationshipEntity const GIAentityNode* relationship entity
relationshipSourceEntity const GIAentityNode* relationship source entity
relationshipTargetEntity const GIAentityNode* relationship target entity
relationshipSourceNewFound constEffective GIAentityNode** relationship source new found

Function Reference List


Function GIAposRelTranslatorParserClass::calculateSimilarityOfSubnets()

Function Summary
namereturn typedescription
calculateSimilarityOfSubnetsboolcalculate similarity of subnets

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
relationshipEntity const GIAentityNode* relationship entity
relationshipSourceEntity const GIAentityNode* relationship source entity
relationshipTargetEntity const GIAentityNode* relationship target entity
subsetSimilarity const int* subset similarity

Function Reference List
N/A


File GIAsynRelTranslatorParser Documentation

File Name: GIAsynRelTranslatorParser.cpp/.hpp

File Description: GIA syn rel translator parser

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorParserClass::convertSentenceSyntacticRelationsIntoGIAnetworkNodes()

Function Summary
namereturn typedescription
convertSentenceSyntacticRelationsIntoGIAnetworkNodesboolconvert sentence syntactic relations into GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
firstGIAcoreferenceInList GIAcoreference* first GIA coreference in list

Function Reference List


Function GIAsynRelTranslatorParserClass::convertSentenceSyntacticRelationsIntoGIAnetworkNodesEndPart1()

Function Summary
namereturn typedescription
convertSentenceSyntacticRelationsIntoGIAnetworkNodesEndPart1boolconvert sentence syntactic relations into GIA network nodes end part 1

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
entityNodesActiveListSentence vector<GIAentityNode*>* entity nodes active list sentence

Function Reference List


Function GIAsynRelTranslatorParserClass::convertSentenceRelationsIntoGIAnetworkNodesEndPart2()

Function Summary
namereturn typedescription
convertSentenceRelationsIntoGIAnetworkNodesEndPart2boolconvert sentence relations into GIA network nodes end part 2

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entityNodesActiveListSentence vector<GIAentityNode*>* entity nodes active list sentence

Function Reference List


Function GIAsynRelTranslatorParserClass::disableNetworkIndexEntitiesBasedOnFeatureTempEntityNodeArray()

Function Summary
namereturn typedescription
disableNetworkIndexEntitiesBasedOnFeatureTempEntityNodeArrayvoiddisable network index entities based on feature temp entity node array

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorParserClass::disableEntitiesBasedOnFeatureTempEntityNodeArray()

Function Summary
namereturn typedescription
disableEntitiesBasedOnFeatureTempEntityNodeArrayvoiddisable entities based on feature temp entity node array

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorParserClass::invertOrDuplicateConditionsIfRequired()

Function Summary
namereturn typedescription
invertOrDuplicateConditionsIfRequiredvoidinvert or duplicate conditions if required

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorParserClass::createNewInverseConditionEntity()

Function Summary
namereturn typedescription
createNewInverseConditionEntityvoidcreate new inverse condition entity

Function Arguments
nametypedescription
currentRelationInListGIArelation* current relation in list
translatorVariables GIAtranslatorVariablesClass* translator variables
inverseConditionName string inverse condition name

Function Reference List
N/A


Function GIAsynRelTranslatorParserClass::addSentenceToPreprocessorSentence()

Function Summary
namereturn typedescription
addSentenceToPreprocessorSentencebooladd sentence to preprocessor sentence

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorParserClass::getPreprocessorSentence()

Function Summary
namereturn typedescription
getPreprocessorSentenceboolget preprocessor sentence

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListconstEffective LRPpreprocessorSentence* first LRP preprocessor sentence in list
sentenceIndex const int sentence index
sentenceFound constEffective LRPpreprocessorSentence** sentence found

Function Reference List
N/A


Function GIAsynRelTranslatorParserClass::addSentenceFeatureOutputToPreprocessorSentenceWordList()

Function Summary
namereturn typedescription
addSentenceFeatureOutputToPreprocessorSentenceWordListbooladd sentence feature output to preprocessor sentence word list

Function Arguments
nametypedescription
preprocessorSentenceWordListvector<LRPpreprocessorPlainTextWord*>* preprocessor sentence word list
translatorVariables const GIAtranslatorVariablesClass* translator variables
originalNLPfeatures const bool original NLP features

Function Reference List


Function GIAsynRelTranslatorParserClass::addSentenceEntityOutputToPreprocessorSentenceWordList()

Function Summary
namereturn typedescription
addSentenceEntityOutputToPreprocessorSentenceWordListbooladd sentence entity output to preprocessor sentence word list

Function Arguments
nametypedescription
preprocessorSentenceWordListvector<LRPpreprocessorPlainTextWord*>* preprocessor sentence word list
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


File GIAsynRelTranslatorRules Documentation

File Name: GIAsynRelTranslatorRules.cpp/.hpp

File Description: GIA syn rel translator rules

File Function List


File Diagram (functions hierarchy)


Function GIAsynRelTranslatorRulesClass::applyGIATranslatorGenericXMLfunctions()

Function Summary
namereturn typedescription
applyGIATranslatorGenericXMLfunctionsboolapply GIAT ranslator generic XML functions

Function Arguments
nametypedescription
translatorFileNameconst string translator file name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAsynRelTranslatorRulesClass::applyGIATranslatorGenericXMLparam()

Function Summary
namereturn typedescription
applyGIATranslatorGenericXMLparamboolapply GIAT ranslator generic XML param

Function Arguments
nametypedescription
currentParamTagXMLparserTag* current param tag
depRelOrEntity const bool dep rel or entity
executeOrReassign bool execute or reassign
translatorVariables GIAtranslatorVariablesClass* translator variables
functionName const string function name

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericDepRelInterpretationApplyOptions()

Function Summary
namereturn typedescription
genericDepRelInterpretationApplyOptionsboolgeneric dep rel interpretation apply options

Function Arguments
nametypedescription
paramDepRelGIAgenericDepRelInterpretationParameters* param dep rel
xmlTag const XMLparserTag* xml tag
REL int REL
REL_ENT int REL_ENT
FUNC_ENT int FUNC_ENT
swapIndex int swap index

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericDepRelInterpretationApplyOption()

Function Summary
namereturn typedescription
genericDepRelInterpretationApplyOptionboolgeneric dep rel interpretation apply option

Function Arguments
nametypedescription
paramDepRelGIAgenericDepRelInterpretationParameters* param dep rel
xmlAttribute const XMLparserAttribute* xml attribute
REL int REL
REL_ENT int REL_ENT
FUNC_ENT int FUNC_ENT
swapIndex int swap index

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOptions()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionsboolgeneric entity interpretation apply options

Function Arguments
nametypedescription
paramEntityGIAgenericEntityInterpretationParameters* param entity
xmlTag const XMLparserTag* xml tag

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOption()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionboolgeneric entity interpretation apply option

Function Arguments
nametypedescription
paramEntityGIAgenericEntityInterpretationParameters* param entity
xmlAttribute const XMLparserAttribute* xml attribute

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOptionbool()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionboolboolgeneric entity interpretation apply optionbool

Function Arguments
nametypedescription
paramValbool* param val
xmlAttribute const XMLparserAttribute* xml attribute
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOptionint()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionintboolgeneric entity interpretation apply optionint

Function Arguments
nametypedescription
paramValint* param val
xmlAttribute const XMLparserAttribute* xml attribute
iterationVariable const string iteration variable
foundMatch bool* found match
subtractOne const bool subtract one

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOptionstring()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionstringboolgeneric entity interpretation apply optionstring

Function Arguments
nametypedescription
paramValstring* param val
xmlAttribute const XMLparserAttribute* xml attribute
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List
N/A


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplyOptionstringarray()

Function Summary
namereturn typedescription
genericEntityInterpretationApplyOptionstringarrayboolgeneric entity interpretation apply optionstringarray

Function Arguments
nametypedescription
paramValstring** param val
xmlAttribute const XMLparserAttribute* xml attribute
iterationVariable const string iteration variable
foundMatch bool* found match

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericInterpretationGenerateSpecialCase()

Function Summary
namereturn typedescription
genericInterpretationGenerateSpecialCaseboolgeneric interpretation generate special case

Function Arguments
nametypedescription
xmlTagXMLparserTag* xml tag
entityCharacteristics GIAentityCharacteristic* entity characteristics
type string* type

Function Reference List


Function GIAsynRelTranslatorRulesClass::genericDepRelInterpretationApplySpecialCase()

Function Summary
namereturn typedescription
genericDepRelInterpretationApplySpecialCaseboolgeneric dep rel interpretation apply special case

Function Arguments
nametypedescription
entityCharacteristicsGIAentityCharacteristic* entity characteristics
paramDepRel GIAgenericDepRelInterpretationParameters* param dep rel
REL int REL
REL_ENT int REL_ENT
type const string type

Function Reference List
N/A


Function GIAsynRelTranslatorRulesClass::genericEntityInterpretationApplySpecialCase()

Function Summary
namereturn typedescription
genericEntityInterpretationApplySpecialCaseboolgeneric entity interpretation apply special case

Function Arguments
nametypedescription
entityCharacteristicsGIAentityCharacteristic* entity characteristics
paramEntity GIAgenericEntityInterpretationParameters* param entity
type const string type

Function Reference List
N/A


File LRPpreprocessor Documentation

File Name: LRPpreprocessor.cpp/.hpp

File Description: LRP preprocessor

File Function List


File Diagram (functions hierarchy)


Function LRPpreprocessorClass::preprocessTextForGIAwrapper()

Function Summary
namereturn typedescription
preprocessTextForGIAwrapperboolpreprocess text for GIA wrapper

Function Arguments
nametypedescription
useLRPconst bool use LRP
inputTextPlainTXTfileName string* input text plain TXT file name
outputLRPTextPlainTXTFileName const string output LRPT ext plain TXTF ile name
isQuery bool is query
translatorVariables LRPtranslatorVariablesClass* translator variables
useInputTextPlainTXTFile bool* use input text plain TXTF ile
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name

Function Reference List


Function LRPpreprocessorClass::preprocessTextForGIA()

Function Summary
namereturn typedescription
preprocessTextForGIAboolpreprocess text for GIA

Function Arguments
nametypedescription
inputTextPlainTXTfileNamestring* input text plain TXT file name
outputLRPTextPlainTXTFileName const string output LRPT ext plain TXTF ile name
isQuery bool is query
translatorVariables LRPtranslatorVariablesClass* translator variables
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name

Function Reference List


Function LRPpreprocessorClass::preprocessSentencesForGIAwrapper()

Function Summary
namereturn typedescription
preprocessSentencesForGIAwrapperboolpreprocess sentences for GIA wrapper

Function Arguments
nametypedescription
translatorVariablesLRPtranslatorVariablesClass* translator variables
outputLRPTextPlainTXTFileName const string output LRPT ext plain TXTF ile name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
outputFileName string output file name
outputFileNameLRPforNLP string output file name LRP for NLP
isQuery bool is query

Function Reference List


Function LRPpreprocessorClass::regenerateFileFromPreprocessedTextWithoutLRP()

Function Summary
namereturn typedescription
regenerateFileFromPreprocessedTextWithoutLRPboolregenerate file from preprocessed text without LRP

Function Arguments
nametypedescription
inputTextPlainTXTfileNamestring* input text plain TXT file name
outputLRPTextPlainTXTFileName const string output LRPT ext plain TXTF ile name
translatorVariables const LRPtranslatorVariablesClass* translator variables

Function Reference List


Function LRPpreprocessorClass::createPreprocessSentencesForGIA()

Function Summary
namereturn typedescription
createPreprocessSentencesForGIAboolcreate preprocess sentences for GIA

Function Arguments
nametypedescription
inputFileNameconst string input file name
translatorVariables LRPtranslatorVariablesClass* translator variables

Function Reference List


Function LRPpreprocessorClass::createPreprocessSentences()

Function Summary
namereturn typedescription
createPreprocessSentencesboolcreate preprocess sentences

Function Arguments
nametypedescription
fileContentsstring file contents
firstLRPpreprocessorSentenceInList LRPpreprocessorSentence* first LRP preprocessor sentence in list
interpretNewLinesAsNewSentences const bool interpret new lines as new sentences
splitMultisentenceLines const bool split multisentence lines

Function Reference List


Function LRPpreprocessorClass::extractIndentationFromCurrentLine()

Function Summary
namereturn typedescription
extractIndentationFromCurrentLineboolextract indentation from current line

Function Arguments
nametypedescription
lineContentsstring* line contents
indexOfCurrentToken int* index of current token
currentIndentation int* current indentation
indentationContents string* indentation contents

Function Reference List
N/A


File LRPpreprocessorPOStagger Documentation

File Name: LRPpreprocessorPOStagger.cpp/.hpp

File Description: LRP preprocessor POS tagger

File Function List


File Diagram (functions hierarchy)


Function LRPpreprocessorPOStaggerClass::generatePOSambiguityInfoUnambiguousPermutationArray()

Function Summary
namereturn typedescription
generatePOSambiguityInfoUnambiguousPermutationArrayvoidgenerate POS ambiguity info unambiguous permutation array

Function Arguments
nametypedescription
POSambiguityInfoUnambiguousPermutationArrayvector<vector<uint64_t>*>* POS ambiguity info unambiguous permutation array
POSambiguityInfoPermutation vector<uint64_t>* POS ambiguity info permutation
POSambiguityInfoUnambiguousPermutationLocal vector<uint64_t>* POS ambiguity info unambiguous permutation local
wordIndex int word index

Function Reference List


Function LRPpreprocessorPOStaggerClass::determinePOSambiguityInfoWrapper()

Function Summary
namereturn typedescription
determinePOSambiguityInfoWrapperbooldetermine POS ambiguity info wrapper

Function Arguments
nametypedescription
sentenceContentsvector<LRPpreprocessorPlainTextWord*>* sentence contents
POSambiguityInfoPermutation vector<uint64_t>* POS ambiguity info permutation
explicitWordList vector<string>* explicit word list

Function Reference List


Function LRPpreprocessorPOStaggerClass::determinePOSambiguityInfo()

Function Summary
namereturn typedescription
determinePOSambiguityInfobooldetermine POS ambiguity info

Function Arguments
nametypedescription
contextWordconstEffective LRPpreprocessorPlainTextWord* context word
contextWordPOSambiguityInfo uint64_t* context word POS ambiguity info
contextWordPOSisAmbiguous bool* context word POS is ambiguous
contextWordUnambiguousPOSindex uchar* context word unambiguous POS index
identifiedEveryWordInDatabasePOSpermutation bool* identified every word in database POS permutation

Function Reference List


Function LRPpreprocessorPOStaggerClass::findWordInWordListAllTypesWithPOSambiguityInfo()

Function Summary
namereturn typedescription
findWordInWordListAllTypesWithPOSambiguityInfoboolfind word in word list all types with POS ambiguity info

Function Arguments
nametypedescription
wordconst string word
wordFound LRPpreprocessorMultiwordReductionWord** word found
POSambiguityInfoFound uint64_t* POS ambiguity info found

Function Reference List


Function LRPpreprocessorPOStaggerClass::printPOSambiguityInfo()

Function Summary
namereturn typedescription
printPOSambiguityInfoboolprint POS ambiguity info

Function Arguments
nametypedescription
POSambiguityInfoconst uint64_t POS ambiguity info

Function Reference List


Function LRPpreprocessorPOStaggerClass::printPOSambiguityInfoPermutationAssumeUnambiguous()

Function Summary
namereturn typedescription
printPOSambiguityInfoPermutationAssumeUnambiguousboolprint POS ambiguity info permutation assume unambiguous

Function Arguments
nametypedescription
POSambiguityInfoPermutationconst vector<uint64_t>* POS ambiguity info permutation

Function Reference List


Function LRPpreprocessorPOStaggerClass::setSentenceContentsWordsUnambiguousPOSindex()

Function Summary
namereturn typedescription
setSentenceContentsWordsUnambiguousPOSindexboolset sentence contents words unambiguous POS index

Function Arguments
nametypedescription
sentenceContentsvector<LRPpreprocessorPlainTextWord*>* sentence contents
POSambiguityInfoPermutationTemp const vector<uint64_t>* POS ambiguity info permutation temp

Function Reference List


File LRPpreprocessorPOStaggerDatabase Documentation

File Name: LRPpreprocessorPOStaggerDatabase.cpp/.hpp

File Description: LRP preprocessor POS tagger database

File Function List


File Diagram (functions hierarchy)


Function LRPpreprocessorPOStaggerDatabaseClass::initialisePOStaggerDatabase()

Function Summary
namereturn typedescription
initialisePOStaggerDatabasevoidinitialise POS tagger database

Function Arguments
nametypedescription
newLRPposTaggerDatabaseFolderNameconst string new LRP pos tagger database folder name

Function Reference List


Function LRPpreprocessorPOStaggerDatabaseClass::determinePOSambiguityInfoIsAmbiguous()

Function Summary
namereturn typedescription
determinePOSambiguityInfoIsAmbiguousbooldetermine POS ambiguity info is ambiguous

Function Arguments
nametypedescription
POSambiguityInfoconst uint64_t POS ambiguity info
unambiguousPOSinfoIndex uchar* unambiguous POS info index
treatWordAsAmbiguousIfNullPOSvalue const bool treat word as ambiguous if null POS value

Function Reference List


File GIAposRelTranslatorHybrid Documentation

File Name: GIAposRelTranslatorHybrid.cpp/.hpp

File Description: GIA pos rel translator hybrid

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorHybridClass::executePrelimFeatureProcessingOnSentences()

Function Summary
namereturn typedescription
executePrelimFeatureProcessingOnSentencesboolexecute prelim feature processing on sentences

Function Arguments
nametypedescription
outputLRPTextPlainTXTFileNameconst string output LRPT ext plain TXTF ile name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::executeTxtRelTranslatorDepreciated()

Function Summary
namereturn typedescription
executeTxtRelTranslatorDepreciatedboolexecute txt rel translator depreciated

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
outputFileName string output file name
outputFileNameLRPforNLP string output file name LRP for NLP

Function Reference List


Function GIAposRelTranslatorHybridClass::executeTxtRelTranslatorDepreciatedSentence()

Function Summary
namereturn typedescription
executeTxtRelTranslatorDepreciatedSentenceboolexecute txt rel translator depreciated sentence

Function Arguments
nametypedescription
currentLRPpreprocessorSentenceInListLRPpreprocessorSentence* current LRP preprocessor sentence in list
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers

Function Reference List


Function GIAposRelTranslatorHybridClass::generateTxtRelTranslatorHybridSentenceNLPparsablePhrases()

Function Summary
namereturn typedescription
generateTxtRelTranslatorHybridSentenceNLPparsablePhrasesboolgenerate txt rel translator hybrid sentence NLP parsable phrases

Function Arguments
nametypedescription
firstLogicReferenceInListGIAposRelTranslatorHybridLogicReference* first logic reference in list
sentenceIndex int* sentence index
outputTextContentsSentence string* output text contents sentence
outputTextContentsSentenceForNLP string* output text contents sentence for NLP

Function Reference List


Function GIAposRelTranslatorHybridClass::generateLogicReferenceSetContentsWithVariableNamesAndAddToSentenceContentsPreprocessedLogicReference()

Function Summary
namereturn typedescription
generateLogicReferenceSetContentsWithVariableNamesAndAddToSentenceContentsPreprocessedLogicReferencevoidgenerate logic reference set contents with variable names and add to sentence contents preprocessed logic reference

Function Arguments
nametypedescription
sentenceContentsPreprocessedLogicReferencestring* sentence contents preprocessed logic reference
sentenceContentsPreprocessedLogicReferenceForNLP string* sentence contents preprocessed logic reference for NLP
currentLogicReferenceInList GIAposRelTranslatorHybridLogicReference* current logic reference in list
sentenceIndex int* sentence index

Function Reference List


Function GIAposRelTranslatorHybridClass::generateLogicReferenceSetContentsWithVariableNamesConjunction()

Function Summary
namereturn typedescription
generateLogicReferenceSetContentsWithVariableNamesConjunctionvoidgenerate logic reference set contents with variable names conjunction

Function Arguments
nametypedescription
logicReferenceSetContentsWithVariableNamesstring* logic reference set contents with variable names
conjunctionLogicReference GIAposRelTranslatorHybridLogicReference* conjunction logic reference
sentenceIndex const int* sentence index

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::addSentenceToSentenceContentsPreprocessedLogicReferenceVariables()

Function Summary
namereturn typedescription
addSentenceToSentenceContentsPreprocessedLogicReferenceVariablesvoidadd sentence to sentence contents preprocessed logic reference variables

Function Arguments
nametypedescription
sentenceContentsPreprocessedLogicReferenceVariablesstring* sentence contents preprocessed logic reference variables
sentenceContentsPreprocessedLogicReferenceVariablesForNLP string* sentence contents preprocessed logic reference variables for NLP
referenceSet LRPpreprocessorSubReferenceSet* reference set
sentenceIndex int* sentence index
referenceSetType const int reference set type

Function Reference List


Function GIAposRelTranslatorHybridClass::updateLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo()

Function Summary
namereturn typedescription
updateLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfoboolupdate LRP preprocessor multiword reduction tag text correspondence info

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListconstEffective LRPpreprocessorSentence* first LRP preprocessor sentence in list
isQuery bool is query

Function Reference List


Function GIAposRelTranslatorHybridClass::getLRPpreprocessorSentence()

Function Summary
namereturn typedescription
getLRPpreprocessorSentenceboolget LRP preprocessor sentence

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListconstEffective LRPpreprocessorSentence* first LRP preprocessor sentence in list
sentenceIndexOriginal const int sentence index original
LRPpreprocessorSentenceFound constEffective LRPpreprocessorSentence** LRP preprocessor sentence found

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::getGIAposRelTranslatorHybridReferenceSet()

Function Summary
namereturn typedescription
getGIAposRelTranslatorHybridReferenceSetboolget GIA pos rel translator hybrid reference set

Function Arguments
nametypedescription
firstLRPpreprocessorSubReferenceInListconstEffective LRPpreprocessorSubReferenceSet* first LRP preprocessor sub reference in list
entityIndexOriginal const int entity index original
LRPpreprocessorSubReferenceSetFound constEffective LRPpreprocessorSubReferenceSet** LRP preprocessor sub reference set found

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::connectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntitiesWrapper()

Function Summary
namereturn typedescription
connectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntitiesWrapperboolconnect preprocessor sentence reference set entities to logic reference entities wrapper

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListLRPpreprocessorSentence* first LRP preprocessor sentence in list
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::connectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntities()

Function Summary
namereturn typedescription
connectPreprocessorSentenceReferenceSetEntitiesToLogicReferenceEntitiesboolconnect preprocessor sentence reference set entities to logic reference entities

Function Arguments
nametypedescription
currentLRPpreprocessorSentenceInListLRPpreprocessorSentence* current LRP preprocessor sentence in list
firstLogicReferenceInList GIAposRelTranslatorHybridLogicReference* first logic reference in list
translatorVariables GIAtranslatorVariablesClass* translator variables
parentLogicReferenceEntity GIAentityNode* parent logic reference entity

Function Reference List


Function GIAposRelTranslatorHybridClass::changeSentenceIndexOfEntityNodesAndConnectionsForReferenceSet()

Function Summary
namereturn typedescription
changeSentenceIndexOfEntityNodesAndConnectionsForReferenceSetvoidchange sentence index of entity nodes and connections for reference set

Function Arguments
nametypedescription
firstSubReferenceSetInListLRPpreprocessorSubReferenceSet* first sub reference set in list
sentenceIndexNew int sentence index new
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::changeSentenceIndexOfEntityNodesAndConnections()

Function Summary
namereturn typedescription
changeSentenceIndexOfEntityNodesAndConnectionsvoidchange sentence index of entity nodes and connections

Function Arguments
nametypedescription
sentenceIndexOriginalint sentence index original
sentenceIndexNew int sentence index new
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::updateRelationshipType()

Function Summary
namereturn typedescription
updateRelationshipTypeboolupdate relationship type

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity
relationshipReference LRPpreprocessorSubReferenceSet* relationship reference
relationshipObject LRPpreprocessorSubReferenceSet* relationship object
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::updateRelationshipTenseInformation()

Function Summary
namereturn typedescription
updateRelationshipTenseInformationboolupdate relationship tense information

Function Arguments
nametypedescription
relationshipEntityGIAentityNode* relationship entity
delimiterEntityTempTenseInformation LRPpreprocessorSubReferenceSet* delimiter entity temp tense information
translatorVariables const GIAtranslatorVariablesClass* translator variables

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::findFirstImplicitConjunctionLogicReferenceSetBefore()

Function Summary
namereturn typedescription
findFirstImplicitConjunctionLogicReferenceSetBeforeboolfind first implicit conjunction logic reference set before

Function Arguments
nametypedescription
conjunctionLogicReferenceInListGIAposRelTranslatorHybridLogicReference* conjunction logic reference in list
firstImplicitConjunction constEffective GIAposRelTranslatorHybridLogicReference** first implicit conjunction

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::findPrimaryEntityAndReconcileSubReferenceSets()

Function Summary
namereturn typedescription
findPrimaryEntityAndReconcileSubReferenceSetsboolfind primary entity and reconcile sub reference sets

Function Arguments
nametypedescription
primaryEntityGIAentityNode** primary entity
firstSubReferenceSetInList LRPpreprocessorSubReferenceSet* first sub reference set in list
primaryDelimiterEntity GIAentityNode* primary delimiter entity
translatorVariables GIAtranslatorVariablesClass* translator variables
referenceSetType const int reference set type

Function Reference List


Function GIAposRelTranslatorHybridClass::deleteExternalConnectionsToConnection()

Function Summary
namereturn typedescription
deleteExternalConnectionsToConnectionvoiddelete external connections to connection

Function Arguments
nametypedescription
connectionGIAentityConnection* connection

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::findPrimaryEntityBasedOnSentenceIndexAndTypeAndDeleteDummyVariableConnections()

Function Summary
namereturn typedescription
findPrimaryEntityBasedOnSentenceIndexAndTypeAndDeleteDummyVariableConnectionsboolfind primary entity based on sentence index and type and delete dummy variable connections

Function Arguments
nametypedescription
currentSubReferenceSetInListLRPpreprocessorSubReferenceSet* current sub reference set in list
translatorVariables GIAtranslatorVariablesClass* translator variables
referenceSetType const int reference set type
primaryEntity GIAentityNode** primary entity
primaryDelimiterEntity GIAentityNode* primary delimiter entity

Function Reference List


Function GIAposRelTranslatorHybridClass::findParentEntityBasedOnSentenceIndex()

Function Summary
namereturn typedescription
findParentEntityBasedOnSentenceIndexboolfind parent entity based on sentence index

Function Arguments
nametypedescription
currentSubReferenceSetInListLRPpreprocessorSubReferenceSet* current sub reference set in list
translatorVariables GIAtranslatorVariablesClass* translator variables
parentEntityName string parent entity name
parentEntity GIAentityNode** parent entity

Function Reference List


Function GIAposRelTranslatorHybridClass::findSameSentenceRelationshipEntityNodePointerInVector()

Function Summary
namereturn typedescription
findSameSentenceRelationshipEntityNodePointerInVectorboolfind same sentence relationship entity node pointer in vector

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
direction const bool direction
connectionFound GIAentityConnection** connection found
sentenceIndex const int sentence index

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::transferPropertyAndConditionConnectionsBetweenDummyDelimiterAndRealDelimiter()

Function Summary
namereturn typedescription
transferPropertyAndConditionConnectionsBetweenDummyDelimiterAndRealDelimiterbooltransfer property and condition connections between dummy delimiter and real delimiter

Function Arguments
nametypedescription
dummyDelimiterEntityGIAentityNode* dummy delimiter entity
primaryDelimiterEntity GIAentityNode* primary delimiter entity

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::findSameSentenceSubjectObjectEntityNodePointerInVector()

Function Summary
namereturn typedescription
findSameSentenceSubjectObjectEntityNodePointerInVectorboolfind same sentence subject object entity node pointer in vector

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
connectionType const int connection type
connectionFound GIAentityConnection** connection found
sentenceIndex const int sentence index

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::findSameSentenceEntityNodePointerInVector()

Function Summary
namereturn typedescription
findSameSentenceEntityNodePointerInVectorboolfind same sentence entity node pointer in vector

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
entityNameToFind const string entity name to find
connectionFound GIAentityConnection** connection found
sentenceIndex const int sentence index

Function Reference List
N/A


Function GIAposRelTranslatorHybridClass::getRelationshipNameAndType()

Function Summary
namereturn typedescription
getRelationshipNameAndTypeboolget relationship name and type

Function Arguments
nametypedescription
relationshipReferenceLRPpreprocessorSubReferenceSet* relationship reference
relationshipObject LRPpreprocessorSubReferenceSet* relationship object
relationshipEntityType int* relationship entity type
relationshipName string* relationship name

Function Reference List


Function GIAposRelTranslatorHybridClass::getPreprocessorSentenceSubReferenceSet()

Function Summary
namereturn typedescription
getPreprocessorSentenceSubReferenceSetboolget preprocessor sentence sub reference set

Function Arguments
nametypedescription
firstLogicReferenceInListGIAposRelTranslatorHybridLogicReference* first logic reference in list
sentenceIndex const int sentence index
subReferenceSetFound constEffective LRPpreprocessorSubReferenceSet** sub reference set found

Function Reference List


Function GIAposRelTranslatorHybridClass::createNewRelationshipAndConnectToSource()

Function Summary
namereturn typedescription
createNewRelationshipAndConnectToSourceGIAentityNode*create new relationship and connect to source

Function Arguments
nametypedescription
sourceEntityGIAentityNode* source entity
logicReferenceVariable GIAposRelTranslatorHybridLogicReferenceVariable* logic reference variable
sameReferenceSet bool same reference set
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::createNewRelationshipAndConnectToSource()

Function Summary
namereturn typedescription
createNewRelationshipAndConnectToSourceGIAentityNode*create new relationship and connect to source

Function Arguments
nametypedescription
sourceEntityGIAentityNode* source entity
relationshipReference LRPpreprocessorSubReferenceSet* relationship reference
relationshipObject LRPpreprocessorSubReferenceSet* relationship object
sameReferenceSet bool same reference set
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::createNewRelationship()

Function Summary
namereturn typedescription
createNewRelationshipGIAentityNode*create new relationship

Function Arguments
nametypedescription
logicReferenceVariableGIAposRelTranslatorHybridLogicReferenceVariable* logic reference variable
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::createNewRelationship()

Function Summary
namereturn typedescription
createNewRelationshipGIAentityNode*create new relationship

Function Arguments
nametypedescription
relationshipReferenceLRPpreprocessorSubReferenceSet* relationship reference
relationshipObject LRPpreprocessorSubReferenceSet* relationship object
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAposRelTranslatorHybridClass::createNewRelationshipEntity()

Function Summary
namereturn typedescription
createNewRelationshipEntityGIAentityNode*create new relationship entity

Function Arguments
nametypedescription
relationshipEntityNamestring relationship entity name
relationshipEntityType int relationship entity type
translatorVariables GIAtranslatorVariablesClass* translator variables

Function Reference List


File GIAposRelTranslatorHybridLogicReference Documentation

File Name: GIAposRelTranslatorHybridLogicReference.cpp/.hpp

File Description: GIA pos rel translator hybrid logic reference

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorHybridLogicReferenceClass::executeLogicReferencePreprocessor()

Function Summary
namereturn typedescription
executeLogicReferencePreprocessorboolexecute logic reference preprocessor

Function Arguments
nametypedescription
sentenceContentsWordListvector<LRPpreprocessorPlainTextWord*>* sentence contents word list
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::logicReferenceClassIsPreposition()

Function Summary
namereturn typedescription
logicReferenceClassIsPrepositionboollogic reference class is preposition

Function Arguments
nametypedescription
logicReferenceconst GIAposRelTranslatorHybridLogicReference* logic reference

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::initialiseNextLogicReferenceConjunction()

Function Summary
namereturn typedescription
initialiseNextLogicReferenceConjunctionboolinitialise next logic reference conjunction

Function Arguments
nametypedescription
currentLogicReferenceInListGIAposRelTranslatorHybridLogicReference** current logic reference in list
wordIndexSentence const int word index sentence

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::initialiseNewSubLogicReferenceConjunctionInferred()

Function Summary
namereturn typedescription
initialiseNewSubLogicReferenceConjunctionInferredboolinitialise new sub logic reference conjunction inferred

Function Arguments
nametypedescription
currentLogicReferenceInListGIAposRelTranslatorHybridLogicReference** current logic reference in list
wordIndexSentence const int word index sentence
copySubLogicReferences const bool copy sub logic references

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::initialiseNewSubLogicReferenceConjunction()

Function Summary
namereturn typedescription
initialiseNewSubLogicReferenceConjunctionboolinitialise new sub logic reference conjunction

Function Arguments
nametypedescription
currentLogicReferenceInListGIAposRelTranslatorHybridLogicReference** current logic reference in list
logicReferenceContents vector<LRPpreprocessorPlainTextWord*> logic reference contents
logicReferenceClass int logic reference class
logicReferenceClassType string logic reference class type
wordIndexSentence const int word index sentence
copySubLogicReferences const bool copy sub logic references

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::initialiseNewSubLogicReference()

Function Summary
namereturn typedescription
initialiseNewSubLogicReferenceboolinitialise new sub logic reference

Function Arguments
nametypedescription
currentLogicReferenceInListGIAposRelTranslatorHybridLogicReference* current logic reference in list
logicReferenceContents vector<LRPpreprocessorPlainTextWord*> logic reference contents
logicReferenceClass int logic reference class
logicReferenceClassType string logic reference class type
wordIndexSentence const int word index sentence

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::fillLogicReferenceVariable()

Function Summary
namereturn typedescription
fillLogicReferenceVariableboolfill logic reference variable

Function Arguments
nametypedescription
currentLogicReferenceInListGIAposRelTranslatorHybridLogicReference* current logic reference in list
logicReferenceVariableWordList vector<LRPpreprocessorPlainTextWord*>* logic reference variable word list
logicReferenceVariableNameIndex int* logic reference variable name index
expectToFindSubjectAuxObjectLogicReferenceVariable bool* expect to find subject aux object logic reference variable
wordIndexSentence int word index sentence

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::identifyImplicitLogicReferenceSets()

Function Summary
namereturn typedescription
identifyImplicitLogicReferenceSetsboolidentify implicit logic reference sets

Function Arguments
nametypedescription
explicitConjunctionLogicReferenceInListGIAposRelTranslatorHybridLogicReference* explicit conjunction logic reference in list
logicReferenceContents vector<LRPpreprocessorPlainTextWord*> logic reference contents
logicReferenceClass int logic reference class
logicReferenceClassType string logic reference class type

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::generateLogicReferenceContents()

Function Summary
namereturn typedescription
generateLogicReferenceContentsvectorgenerate logic reference contents

Function Arguments
nametypedescription
logicReferenceWordLRPpreprocessorPlainTextWord* logic reference word
logicReferenceClassType const string logic reference class type
logicReferenceClass const int logic reference class
logicReferenceVariableWordList vector<LRPpreprocessorPlainTextWord*>* logic reference variable word list

Function Reference List


Function GIAposRelTranslatorHybridLogicReferenceClass::generateLogicReferenceContentsBase()

Function Summary
namereturn typedescription
generateLogicReferenceContentsBasevectorgenerate logic reference contents base

Function Arguments
nametypedescription
logicReferenceWordLRPpreprocessorPlainTextWord* logic reference word
logicReferenceClassType const string logic reference class type

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::setLogicReferenceInfo()

Function Summary
namereturn typedescription
setLogicReferenceInfovoidset logic reference info

Function Arguments
nametypedescription
logicReferenceGIAposRelTranslatorHybridLogicReference* logic reference
logicReferenceContents vector<LRPpreprocessorPlainTextWord*> logic reference contents
logicReferenceClass int logic reference class
logicReferenceClassType string logic reference class type

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::islogicReferenceExplitOrImplicitConjunctionComponent()

Function Summary
namereturn typedescription
islogicReferenceExplitOrImplicitConjunctionComponentboolislogic reference explit or implicit conjunction component

Function Arguments
nametypedescription
currentLogicReferenceInListconst GIAposRelTranslatorHybridLogicReference* current logic reference in list

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::islogicReferenceConjunctionComponentNotFirst()

Function Summary
namereturn typedescription
islogicReferenceConjunctionComponentNotFirstboolislogic reference conjunction component not first

Function Arguments
nametypedescription
currentLogicReferenceInListconst GIAposRelTranslatorHybridLogicReference* current logic reference in list
firstLogicReferenceInList const GIAposRelTranslatorHybridLogicReference* first logic reference in list

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::islogicReferenceParentConjunctionComponentNotFirst()

Function Summary
namereturn typedescription
islogicReferenceParentConjunctionComponentNotFirstboolislogic reference parent conjunction component not first

Function Arguments
nametypedescription
currentLogicReferenceInListconst GIAposRelTranslatorHybridLogicReference* current logic reference in list
firstLogicReferenceInList GIAposRelTranslatorHybridLogicReference* first logic reference in list

Function Reference List
N/A


Function GIAposRelTranslatorHybridLogicReferenceClass::printLogicReferenceLayer()

Function Summary
namereturn typedescription
printLogicReferenceLayerboolprint logic reference layer

Function Arguments
nametypedescription
firstLogicReferenceInLayerGIAposRelTranslatorHybridLogicReference* first logic reference in layer

Function Reference List


File GIAposRelTranslatorHybridReferenceSet Documentation

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 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 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 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 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 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 GIAposRelTranslatorHybridReferenceSetClass::hasReferenceSet()

Function Summary
namereturn typedescription
hasReferenceSetboolhas reference set

Function Arguments
nametypedescription
referenceSetLRPpreprocessorSubReferenceSet* reference set

Function Reference List
N/A


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 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 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


File SANIposRelTranslatorPermutations Documentation

File Name: SANIposRelTranslatorPermutations.cpp/.hpp

File Description: SANI pos rel translator permutations

File Function List


File Diagram (functions hierarchy)


Function SANIposRelTranslatorPermutationsClass::executePosRelTranslatorWrapper()

Function Summary
namereturn typedescription
executePosRelTranslatorWrapperboolexecute pos rel translator wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIposRelTranslatorPermutationsClass::executePosRelTranslatorWrapper2()

Function Summary
namereturn typedescription
executePosRelTranslatorWrapper2boolexecute pos rel translator wrapper 2

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list

Function Reference List


Function SANIposRelTranslatorPermutationsClass::executePosRelTranslatorOnPOSunambiguousSentenceSubsets()

Function Summary
namereturn typedescription
executePosRelTranslatorOnPOSunambiguousSentenceSubsetsboolexecute pos rel translator on POS unambiguous sentence subsets

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
POSambiguityInfoPermutation const vector<uint64_t>* POS ambiguity info permutation

Function Reference List


Function SANIposRelTranslatorPermutationsClass::executePosRelTranslatorOnPOSunambiguousSentenceSubset()

Function Summary
namereturn typedescription
executePosRelTranslatorOnPOSunambiguousSentenceSubsetboolexecute pos rel translator on POS unambiguous sentence subset

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
POSambiguityInfoPermutationSubset vector<uint64_t>* POS ambiguity info permutation subset

Function Reference List


Function SANIposRelTranslatorPermutationsClass::executePosRelTranslator()

Function Summary
namereturn typedescription
executePosRelTranslatorboolexecute pos rel translator

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
POSambiguityInfoPermutation vector<uint64_t>* POS ambiguity info permutation

Function Reference List


Function SANIposRelTranslatorPermutationsClass::generateParseTreeIntroWrapper()

Function Summary
namereturn typedescription
generateParseTreeIntroWrapperboolgenerate parse tree intro wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
firstParseTreeGroup SANIGroupParseTree* first parse tree group
performance int* performance
parseIsolatedSubreferenceSets bool parse isolated subreference sets
POSambiguityInfoUnambiguousPermutationArray const vector<vector<uint64_t>*>* POS ambiguity info unambiguous permutation array
iOptimum int* iOptimum
minIndexOfMatchesFoundBackupOptimum int* min index of matches found backup optimum

Function Reference List


Function SANIposRelTranslatorPermutationsClass::generateParseTreeIntroWrapper()

Function Summary
namereturn typedescription
generateParseTreeIntroWrapperboolgenerate parse tree intro wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIrulesTokenLayers vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
firstParseTreeGroup SANIGroupParseTree* first parse tree group
performance int* performance
parseIsolatedSubreferenceSets bool parse isolated subreference sets
POSambiguityInfoPermutation const vector<uint64_t>* POS ambiguity info permutation

Function Reference List


Function SANIposRelTranslatorPermutationsClass::updatePerformanceNeuralNetwork()

Function Summary
namereturn typedescription
updatePerformanceNeuralNetworkboolupdate performance neural network

Function Arguments
nametypedescription
performanceTempint performance temp
performance int* performance
currentLRPpreprocessorSentenceInList LRPpreprocessorSentence* current LRP preprocessor sentence in list
firstParseTreeGroupTemp SANIGroupParseTree* first parse tree group temp
passedTemp const bool passed temp
permutationIndex int permutation index
performanceMaxPermutationIndex int* performance max permutation index

Function Reference List


Function SANIposRelTranslatorPermutationsClass::transferParseTreePOStypeInferredToWordList()

Function Summary
namereturn typedescription
transferParseTreePOStypeInferredToWordListbooltransfer parse tree POS type inferred to word list

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables

Function Reference List


Function SANIposRelTranslatorPermutationsClass::transferParseTreePOStypeInferredToWordList()

Function Summary
namereturn typedescription
transferParseTreePOStypeInferredToWordListbooltransfer parse tree POS type inferred to word list

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
layer int layer

Function Reference List


Function SANIposRelTranslatorPermutationsClass::detectLongConsecutivePOS()

Function Summary
namereturn typedescription
detectLongConsecutivePOSbooldetect long consecutive POS

Function Arguments
nametypedescription
POSambiguityInfoPermutationconst vector<uint64_t>* POS ambiguity info permutation

Function Reference List
N/A


File SANIformation Documentation

File Name: SANIformation.cpp/.hpp

File Description: SANI formation

File Function List


File Diagram (functions hierarchy)


Function SANIformationClass::getFirstGroupInInputLayerSectionWordOrig()

Function Summary
namereturn typedescription
getFirstGroupInInputLayerSectionWordOrigSANIGroupNeuralNetwork*get first group in input layer section word orig

Function Reference List
N/A


Function SANIformationClass::getExplicitWordList()

Function Summary
namereturn typedescription
getExplicitWordListvector*get explicit word list

Function Reference List
N/A


Function SANIformationClass::getInputLayerSectionExplicitWordMap()

Function Summary
namereturn typedescription
getInputLayerSectionExplicitWordMapunordered_map*get input layer section explicit word map

Function Reference List
N/A


Function SANIformationClass::getInputLayerSectionTokensLayerMap()

Function Summary
namereturn typedescription
getInputLayerSectionTokensLayerMapunordered_map*get input layer section tokens layer map

Function Reference List
N/A


Function SANIformationClass::getFirstGroupInInputLayerSectionWordPOStype()

Function Summary
namereturn typedescription
getFirstGroupInInputLayerSectionWordPOStypeSANIGroupNeuralNetwork*get first group in input layer section word POS type

Function Reference List
N/A


Function SANIformationClass::getFirstInputGroupInNetwork()

Function Summary
namereturn typedescription
getFirstInputGroupInNetworkSANIGroupNeuralNetwork*get first input group in network

Function Reference List
N/A


Function SANIformationClass::createSANI()

Function Summary
namereturn typedescription
createSANIboolcreate SANI

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIformationClass::createInputNeuronLayer()

Function Summary
namereturn typedescription
createInputNeuronLayerboolcreate input neuron layer

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIformationClass::createInputNeuronLayerSectionWordOrig()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionWordOrigboolcreate input neuron layer section word orig

Function Arguments
nametypedescription
currentGroupInInputLayerSectionWordOrigconst SANIGroupNeuralNetwork** current group in input layer section word orig
numberOfGroupsInSection const int* number of groups in section

Function Reference List
N/A


Function SANIformationClass::addInputNeuronLayerSectionWordOrig()

Function Summary
namereturn typedescription
addInputNeuronLayerSectionWordOrigbooladd input neuron layer section word orig

Function Arguments
nametypedescription
currentWordconst LRPpreprocessorPlainTextWord* current word
currentGroupInInputLayerSection constEffective SANIGroupNeuralNetwork** current group in input layer section

Function Reference List


Function SANIformationClass::findInputNeuronLayerSectionWordOrig()

Function Summary
namereturn typedescription
findInputNeuronLayerSectionWordOrigboolfind input neuron layer section word orig

Function Arguments
nametypedescription
currentWordconst LRPpreprocessorPlainTextWord* current word
currentGroupInInputLayerSection SANIGroupNeuralNetwork** current group in input layer section

Function Reference List
N/A


Function SANIformationClass::createInputNeuronLayerSectionWordPOStype()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionWordPOStypeboolcreate input neuron layer section word POS type

Function Arguments
nametypedescription
currentGroupInInputLayerSectionWordPOStypeSANIGroupNeuralNetwork** current group in input layer section word POS type
numberOfGroupsInSection int* number of groups in section

Function Reference List


Function SANIformationClass::createInputNeuronLayerSectionNounVariantType()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionNounVariantTypeboolcreate input neuron layer section noun variant type

Function Arguments
nametypedescription
currentGroupInInputLayerSectionWordPOStypeSANIGroupNeuralNetwork* current group in input layer section word POS type
currentGroupInInputLayerSectionWordNounVariantType SANIGroupNeuralNetwork** current group in input layer section word noun variant type
numberOfGroupsInSection int* number of groups in section

Function Reference List


Function SANIformationClass::createInputNeuronLayerSectionVerbVariantType()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionVerbVariantTypeboolcreate input neuron layer section verb variant type

Function Arguments
nametypedescription
currentGroupInInputLayerSectionWordPOStypeSANIGroupNeuralNetwork* current group in input layer section word POS type
currentGroupInInputLayerSectionWordVerbVariantType SANIGroupNeuralNetwork** current group in input layer section word verb variant type
numberOfGroupsInSection int* number of groups in section

Function Reference List


Function SANIformationClass::createInputNeuronLayerSectionExplicitWord()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionExplicitWordboolcreate input neuron layer section explicit word

Function Arguments
nametypedescription
componentsconst vector<SANIComponentNeuralNetwork*>* components
subcomponents const bool subcomponents
explicitWordList vector<string>* explicit word list

Function Reference List


Function SANIformationClass::createInputNeuronLayerSectionTokensLayer()

Function Summary
namereturn typedescription
createInputNeuronLayerSectionTokensLayerboolcreate input neuron layer section tokens layer

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
currentGroupInInputLayerSectionTokensLayer SANIGroupNeuralNetwork** current group in input layer section tokens layer
numberOfGroupsInSectionTokensLayer int* number of groups in section tokens layer

Function Reference List


Function SANIformationClass::createNeuronLayerIntro()

Function Summary
namereturn typedescription
createNeuronLayerIntroboolcreate neuron layer intro

Function Arguments
nametypedescription
SANIrulesTokenLayersconst vector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIformationClass::createNeuronLayerGroupType()

Function Summary
namereturn typedescription
createNeuronLayerGroupTypeboolcreate neuron layer group type

Function Arguments
nametypedescription
SANIrulesTokenLayersconst vector<XMLparserTag*>* SANI rules token layers
higherLevelComponent SANIComponentNeuralNetwork* higher level component
groupType const SANIGroupType* group type

Function Reference List


Function SANIformationClass::createNeuronLayerGroup()

Function Summary
namereturn typedescription
createNeuronLayerGroupboolcreate neuron layer group

Function Arguments
nametypedescription
SANIrulesTokenLayersconst vector<XMLparserTag*>* SANI rules token layers
group SANIGroupNeuralNetwork* group

Function Reference List


Function SANIformationClass::createNeuronLayerComponents()

Function Summary
namereturn typedescription
createNeuronLayerComponentsboolcreate neuron layer components

Function Arguments
nametypedescription
SANIrulesTokenLayersconst vector<XMLparserTag*>* SANI rules token layers
group const SANIGroupNeuralNetwork* group
components const vector<SANIComponentNeuralNetwork*>* components
subcomponents const bool subcomponents
higherLevelComponent const SANIComponentNeuralNetwork* higher level component

Function Reference List


Function SANIformationClass::findTokensLayerClassType()

Function Summary
namereturn typedescription
findTokensLayerClassTypeboolfind tokens layer class type

Function Arguments
nametypedescription
layerNameconst string layer name
layerClassName const string layer class name
layerClassTypeName const string layer class type name
groupFound SANIGroupNeuralNetwork** group found

Function Reference List


Function SANIformationClass::findTokensLayerClass()

Function Summary
namereturn typedescription
findTokensLayerClassboolfind tokens layer class

Function Arguments
nametypedescription
layerNameconst string layer name
layerClassName const string layer class name
layerClassGroupFound SANIGroupNeuralNetwork** layer class group found

Function Reference List
N/A


Function SANIformationClass::findWordInList()

Function Summary
namereturn typedescription
findWordInListboolfind word in list

Function Arguments
nametypedescription
wordconst string word
explicitWordList vector<string>* explicit word list

Function Reference List
N/A


Function SANIformationClass::findWordInGroupMap()

Function Summary
namereturn typedescription
findWordInGroupMapboolfind word in group map

Function Arguments
nametypedescription
wordstring word
wordMap unordered_map<string,SANIGroupNeuralNetwork*>* word map
groupFound constEffective SANIGroupNeuralNetwork** group found

Function Reference List
N/A


Function SANIformationClass::getInputGroupLayerSection()

Function Summary
namereturn typedescription
getInputGroupLayerSectionSANIGroupNeuralNetwork*get input group layer section

Function Arguments
nametypedescription
firstGroupInInputLayerSectionSANIGroupNeuralNetwork* first group in input layer section
groupIndexInSection const int group index in section

Function Reference List
N/A


Function SANIformationClass::addGroupToLayer()

Function Summary
namereturn typedescription
addGroupToLayervoidadd group to layer

Function Arguments
nametypedescription
currentGroupInLayerSANIGroupNeuralNetwork** current group in layer
numberOfGroupsInSection int* number of groups in section

Function Reference List
N/A


Function SANIformationClass::createGroupANNconnectionIO()

Function Summary
namereturn typedescription
createGroupANNconnectionIOboolcreate group ANN connection IO

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
higherLevelGroup SANIGroupNeuralNetwork* higher level group

Function Reference List


Function SANIformationClass::createGroupANNconnectionIObasic()

Function Summary
namereturn typedescription
createGroupANNconnectionIObasicboolcreate group ANN connection IO basic

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
higherLevelGroup SANIGroupNeuralNetwork* higher level group

Function Reference List
N/A


Function SANIformationClass::createGroupANNconnection()

Function Summary
namereturn typedescription
createGroupANNconnectionboolcreate group ANN connection

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
higherLevelComponent SANIComponentNeuralNetwork* higher level component

Function Reference List


Function SANIformationClass::createANNconnection()

Function Summary
namereturn typedescription
createANNconnectionANNneuronConnection*create ANN connection

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
higherLevelComponent SANIComponentNeuralNetwork* higher level component
connectionStrength double connection strength

Function Reference List


Function SANIformationClass::createANNconnection()

Function Summary
namereturn typedescription
createANNconnectionANNneuronConnection*create ANN connection

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
higherLevelGroup SANIGroupNeuralNetwork* higher level group

Function Reference List
N/A


Function SANIformationClass::deleteANNconnections()

Function Summary
namereturn typedescription
deleteANNconnectionsvoiddelete ANN connections

Function Arguments
nametypedescription
groupconst SANIGroupNeuralNetwork* group
component SANIComponentNeuralNetwork* component

Function Reference List
N/A


Function SANIformationClass::createANNconnectivity()

Function Summary
namereturn typedescription
createANNconnectivityboolcreate ANN connectivity

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIformationClass::createANNconnectivityReset()

Function Summary
namereturn typedescription
createANNconnectivityResetboolcreate ANN connectivity reset

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List


File SANIgenerateCompact Documentation

File Name: SANIgenerateCompact.cpp/.hpp

File Description: SANI generate compact

File Function List


File Diagram (functions hierarchy)


Function SANIgenerateCompactClass::generatePosRelTranslatorNeuralNetwork()

Function Summary
namereturn typedescription
generatePosRelTranslatorNeuralNetworkboolgenerate pos rel translator neural network

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
sentenceContents vector<LRPpreprocessorPlainTextWord*>* sentence contents
topLevelParseTreeGroup SANIGroupParseTree** top level parse tree group
parseIsolatedSubreferenceSets bool parse isolated subreference sets
parserEnabled bool parser enabled
performance int* performance
createNewConnections const bool create new connections

Function Reference List


Function SANIgenerateCompactClass::generateSentenceNetworkNodes()

Function Summary
namereturn typedescription
generateSentenceNetworkNodesboolgenerate sentence network nodes

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIgenerateCompactClass::testSentenceNetworkNodes()

Function Summary
namereturn typedescription
testSentenceNetworkNodesbooltest sentence network nodes

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup SANIGroupParseTree** top level parse tree group

Function Reference List


File SANIpropagateOperations Documentation

File Name: SANIpropagateOperations.cpp/.hpp

File Description: SANI propagate operations

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateOperationsClass::setParseSentenceReverse()

Function Summary
namereturn typedescription
setParseSentenceReversevoidset parse sentence reverse

Function Arguments
nametypedescription
normalDirectionconst bool normal direction
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List
N/A


Function SANIpropagateOperationsClass::propagateWordThroughNetworkGroupVerifyComponentSequenceActivationReady()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupVerifyComponentSequenceActivationReadyboolpropagate word through network group verify component sequence activation ready

Function Arguments
nametypedescription
forwardPropogationSignalDataSANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
testComponent const SANIComponentNeuralNetwork* test component
components vector<SANIComponentNeuralNetwork*>* components
activationSequenceCompleted bool* activation sequence completed
firstActiveComponentInGroup bool* first active component in group
previousActiveComponent SANIComponentNeuralNetwork** previous active component
finalActiveComponent SANIComponentNeuralNetwork** final active component
existingActivationFoundStartComponent bool* existing activation found start component

Function Reference List


Function SANIpropagateOperationsClass::propagateWordThroughNetworkGroupVerifyComponentSequenceActivationReady()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupVerifyComponentSequenceActivationReadyboolpropagate word through network group verify component sequence activation ready

Function Arguments
nametypedescription
forwardPropogationSignalDataSANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
testComponent const SANIComponentNeuralNetwork* test component
components vector<SANIComponentNeuralNetwork*>* components
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
activationSequenceCompleted bool* activation sequence completed
firstActiveComponentInGroup bool* first active component in group
previousActiveComponent SANIComponentNeuralNetwork** previous active component
finalActiveComponent SANIComponentNeuralNetwork** final active component
existingActivationFoundStartComponent bool* existing activation found start component
existingActivationFoundEndComponent bool* existing activation found end component
missingStartComponentFound bool* missing start component found
missingOrVariableStartComponentFound bool* missing or variable start component found
missingOrVariableEndComponentFound bool* missing or variable end component found
numberOfInactiveComponentsRemaining int* number of inactive components remaining
ownerGroup SANIGroupNeuralNetwork* owner group
componentWordConnectivityTestsResult const bool component word connectivity tests result

Function Reference List


Function SANIpropagateOperationsClass::propagateWordThroughNetworkGroupVerifyComponentSequenceOrActivationReady()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupVerifyComponentSequenceOrActivationReadyboolpropagate word through network group verify component sequence or activation ready

Function Arguments
nametypedescription
forwardPropogationWordDataconst SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
testComponent const SANIComponentNeuralNetwork* test component
components const vector<SANIComponentNeuralNetwork*>* components
existingActivationFoundStartComponent bool* existing activation found start component

Function Reference List
N/A


Function SANIpropagateOperationsClass::propagateWordThroughNetworkGroupVerifyComponentSequenceRepeatActivationReady()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupVerifyComponentSequenceRepeatActivationReadyboolpropagate word through network group verify component sequence repeat activation ready

Function Arguments
nametypedescription
forwardPropogationWordDataconst SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
testComponent const SANIComponentNeuralNetwork* test component
components const vector<SANIComponentNeuralNetwork*>* components
repeatDetected bool* repeat detected
existingActivationFoundStartComponent const bool* existing activation found start component

Function Reference List
N/A


Function SANIpropagateOperationsClass::componentWordConnectivityTestsWrapper()

Function Summary
namereturn typedescription
componentWordConnectivityTestsWrapperboolcomponent word connectivity tests wrapper

Function Arguments
nametypedescription
forwardPropogationWordDataconst SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
ownerGroup SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
existingActivationFoundStartComponent const bool existing activation found start component

Function Reference List


Function SANIpropagateOperationsClass::componentWordConnectivityTestsWrapper()

Function Summary
namereturn typedescription
componentWordConnectivityTestsWrapperboolcomponent word connectivity tests wrapper

Function Arguments
nametypedescription
forwardPropogationWordDataconst SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
ownerGroup SANIGroupNeuralNetwork* owner group
currentParseTreeGroupTemp SANIGroupParseTree* current parse tree group temp
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
existingActivationFoundStartComponent const bool existing activation found start component
existingActivationFoundEndComponent const bool existing activation found end component

Function Reference List


Function SANIpropagateOperationsClass::componentWordConnectivityTests()

Function Summary
namereturn typedescription
componentWordConnectivityTestsboolcomponent word connectivity tests

Function Arguments
nametypedescription
forwardPropogationWordDataconst SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
ownerGroup SANIGroupNeuralNetwork* owner group
prospectiveNewlyActiveComponentInParseTreeParseTreeGroupRef const SANIGroupParseTree* prospective newly active component in parse tree parse tree group ref
lastActiveComponent SANIComponent* last active component
lastActiveComponentInParseTreeParseTreeGroupRef const SANIGroupParseTree* last active component in parse tree parse tree group ref
lastActiveComponentInParseTree const SANIComponentParseTree* last active component in parse tree
previousActiveComponentInParseTreeParseTreeGroupRef const SANIGroupParseTree* previous active component in parse tree parse tree group ref
existingActivationFoundStartComponent const bool existing activation found start component

Function Reference List


Function SANIpropagateOperationsClass::componentTests1()

Function Summary
namereturn typedescription
componentTests1boolcomponent tests 1

Function Arguments
nametypedescription
currentComponentconst SANIComponentNeuralNetwork* current component
group const SANIGroupNeuralNetwork* group
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List
N/A


Function SANIpropagateOperationsClass::findPreviousWordInSentence()

Function Summary
namereturn typedescription
findPreviousWordInSentenceboolfind previous word in sentence

Function Arguments
nametypedescription
sentenceContentsvector<LRPpreprocessorPlainTextWord*>* sentence contents
currentWord const LRPpreprocessorPlainTextWord* current word
previousWordPOStype const int previous word POS type

Function Reference List


Function SANIpropagateOperationsClass::findPreceedingWordInSentence()

Function Summary
namereturn typedescription
findPreceedingWordInSentenceboolfind preceeding word in sentence

Function Arguments
nametypedescription
sentenceContentsvector<LRPpreprocessorPlainTextWord*>* sentence contents
currentWord const LRPpreprocessorPlainTextWord* current word
existsPreceedingWordPOStype const int exists preceeding word POS type

Function Reference List


Function SANIpropagateOperationsClass::checkWordPOStype()

Function Summary
namereturn typedescription
checkWordPOStypeboolcheck word POS type

Function Arguments
nametypedescription
currentWordconst LRPpreprocessorPlainTextWord* current word
unambiguousPOSindex const int unambiguous POS index

Function Reference List


Function SANIpropagateOperationsClass::resetAllNeuronComponents()

Function Summary
namereturn typedescription
resetAllNeuronComponentsboolreset all neuron components

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
groupBoolIndexType const int group bool index type

Function Reference List


Function SANIpropagateOperationsClass::resetGroupActivation()

Function Summary
namereturn typedescription
resetGroupActivationboolreset group activation

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group

Function Reference List


Function SANIpropagateOperationsClass::resetComponentsActivation()

Function Summary
namereturn typedescription
resetComponentsActivationboolreset components activation

Function Arguments
nametypedescription
componentsconst vector<SANIComponentNeuralNetwork*>* components

Function Reference List


Function SANIpropagateOperationsClass::restoreGroupActivation()

Function Summary
namereturn typedescription
restoreGroupActivationboolrestore group activation

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
groupOrig SANIGroupNeuralNetwork* group orig

Function Reference List


Function SANIpropagateOperationsClass::restoreComponentsActivation()

Function Summary
namereturn typedescription
restoreComponentsActivationboolrestore components activation

Function Arguments
nametypedescription
componentsconst vector<SANIComponentNeuralNetwork*>* components
componentsOrig const vector<SANIComponentNeuralNetwork*>* components orig

Function Reference List


Function SANIpropagateOperationsClass::doesRequireResetGroupActivation()

Function Summary
namereturn typedescription
doesRequireResetGroupActivationbooldoes require reset group activation

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
Xcomponent SANIComponentNeuralNetwork* Xcomponent
indexOfXcomponentInGroup const int index of xcomponent in group
ownerGroup const SANIGroupNeuralNetwork* owner group
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data

Function Reference List


Function SANIpropagateOperationsClass::findNextAvailableComponent()

Function Summary
namereturn typedescription
findNextAvailableComponentboolfind next available component

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
indexOfXcomponentInGroup const int index of xcomponent in group
ownerGroup const SANIGroupNeuralNetwork* owner group

Function Reference List
N/A


File SANIpropagateOperationsParseTree Documentation

File Name: SANIpropagateOperationsParseTree.cpp/.hpp

File Description: SANI propagate operations parse tree

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateOperationsParseTreeClass::getMinMaxWordIndexInParseTree()

Function Summary
namereturn typedescription
getMinMaxWordIndexInParseTreeboolget min max word index in parse tree

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
findMaxOrMinWordIndex const bool find max or min word index
wordIndexMaxOrMin int* word index max or min
level int level

Function Reference List


Function SANIpropagateOperationsParseTreeClass::componentWordConnectivityTestsCompareToMemory()

Function Summary
namereturn typedescription
componentWordConnectivityTestsCompareToMemoryboolcomponent word connectivity tests compare to memory

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
wordIndexProspectiveFirst const int word index prospective first
ownerGroup SANIGroupNeuralNetwork* owner group
lastActiveComponent SANIComponent* last active component

Function Reference List
N/A


Function SANIpropagateOperationsParseTreeClass::calculatePerformanceWeightOfParseTree()

Function Summary
namereturn typedescription
calculatePerformanceWeightOfParseTreeboolcalculate performance weight of parse tree

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
maxWeight int* max weight

Function Reference List


Function SANIpropagateOperationsParseTreeClass::updatePerformance()

Function Summary
namereturn typedescription
updatePerformanceboolupdate performance

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer const int layer

Function Reference List


Function SANIpropagateOperationsParseTreeClass::updatePerformanceGroup()

Function Summary
namereturn typedescription
updatePerformanceGroupboolupdate performance group

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer const int layer

Function Reference List


Function SANIpropagateOperationsParseTreeClass::traceBackpropParseTree()

Function Summary
namereturn typedescription
traceBackpropParseTreebooltrace backprop parse tree

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
level int level
print const bool print
performancePreprocess const bool performance preprocess
performance int* performance
sentenceContents vector<LRPpreprocessorPlainTextWord*>* sentence contents

Function Reference List


Function SANIpropagateOperationsParseTreeClass::traceBackpropParseTree()

Function Summary
namereturn typedescription
traceBackpropParseTreebooltrace backprop parse tree

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
level int level
print const bool print
performancePreprocess const bool performance preprocess
performance int* performance
sentenceContents vector<LRPpreprocessorPlainTextWord*>* sentence contents
calculateMaxWeight const bool calculate max weight
maxWeight int* max weight

Function Reference List


Function SANIpropagateOperationsParseTreeClass::resetGroupParseTreeGroupRef()

Function Summary
namereturn typedescription
resetGroupParseTreeGroupRefboolreset group parse tree group ref

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
deleteExistingParseTreeGroupRef const bool delete existing parse tree group ref

Function Reference List


Function SANIpropagateOperationsParseTreeClass::restoreGroupParseTreeGroupRef()

Function Summary
namereturn typedescription
restoreGroupParseTreeGroupRefboolrestore group parse tree group ref

Function Arguments
nametypedescription
groupSANIGroupNeuralNetwork* group
parseTreeGroupOrig SANIGroupParseTree* parse tree group orig

Function Reference List


Function SANIpropagateOperationsParseTreeClass::resetNeuronBackprop()

Function Summary
namereturn typedescription
resetNeuronBackpropboolreset neuron backprop

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
groupBoolIndexType const int group bool index type

Function Reference List


Function SANIpropagateOperationsParseTreeClass::initialiseParseTreeGroupList()

Function Summary
namereturn typedescription
initialiseParseTreeGroupListboolinitialise parse tree group list

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
parseTreeGroupList vector<SANIGroupParseTree*>* parse tree group list

Function Reference List
N/A


Function SANIpropagateOperationsParseTreeClass::deinitialiseParseTreeGroupList()

Function Summary
namereturn typedescription
deinitialiseParseTreeGroupListbooldeinitialise parse tree group list

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
parseTreeGroupList vector<SANIGroupParseTree*>* parse tree group list

Function Reference List


Function SANIpropagateOperationsParseTreeClass::updateParseTreeMaxMinWordIndexOfParent()

Function Summary
namereturn typedescription
updateParseTreeMaxMinWordIndexOfParentvoidupdate parse tree max min word index of parent

Function Arguments
nametypedescription
parentGroupSANIGroupParseTree* parent group
parentComponent SANIComponentParseTree* parent component
childGroup SANIGroupParseTree* child group

Function Reference List
N/A


Function SANIpropagateOperationsParseTreeClass::updateParseTreeMaxMinWordIndexOfParentBasic()

Function Summary
namereturn typedescription
updateParseTreeMaxMinWordIndexOfParentBasicvoidupdate parse tree max min word index of parent basic

Function Arguments
nametypedescription
parentGroupSANIGroupParseTree* parent group
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
childGroup SANIGroupParseTree* child group

Function Reference List
N/A


File SANIpropagateCompactOperations Documentation

File Name: SANIpropagateCompactOperations.cpp/.hpp

File Description: SANI propagate compact operations

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateCompactOperationsClass::identifySequentialActivationFound()

Function Summary
namereturn typedescription
identifySequentialActivationFoundboolidentify sequential activation found

Function Arguments
nametypedescription
forwardPropogationSignalDataconst SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
i const int i
currentComponent const SANIComponentNeuralNetwork* current component
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
sequentialActivationFound bool* sequential activation found
existingActivationFoundStartComponent bool* existing activation found start component
existingActivationFoundEndComponent bool* existing activation found end component
ownerGroup SANIGroupNeuralNetwork* owner group
componentWordConnectivityTestsResult const bool component word connectivity tests result

Function Reference List


Function SANIpropagateCompactOperationsClass::identifyMissingStartComponentFound()

Function Summary
namereturn typedescription
identifyMissingStartComponentFoundboolidentify missing start component found

Function Arguments
nametypedescription
forwardPropogationSignalDataconst SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
i const int i
currentComponent const SANIComponentNeuralNetwork* current component
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
missingStartComponentFound bool* missing start component found
stillParsingActiveComponents bool* still parsing active components

Function Reference List


Function SANIpropagateCompactOperationsClass::upperNeuronContainsWordIndexOfProspectiveComponent()

Function Summary
namereturn typedescription
upperNeuronContainsWordIndexOfProspectiveComponentboolupper neuron contains word index of prospective component

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
neuronComponentConnectionActiveWordRecord const LRPpreprocessorPlainTextWord* neuron component connection active word record
component const SANIComponentNeuralNetwork* component
group const SANIGroupNeuralNetwork* group

Function Reference List


Function SANIpropagateCompactOperationsClass::repeatedSequenceDetected()

Function Summary
namereturn typedescription
repeatedSequenceDetectedboolrepeated sequence detected

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
currentParseTreeGroupTemp const SANIGroupParseTree* current parse tree group temp
wordTranslatorSentenceWordIndex const int word translator sentence word index

Function Reference List


Function SANIpropagateCompactOperationsClass::consecutiveSequenceDetected()

Function Summary
namereturn typedescription
consecutiveSequenceDetectedboolconsecutive sequence detected

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
components const vector<SANIComponentNeuralNetwork*>* components
component const SANIComponentNeuralNetwork* component

Function Reference List
N/A


Function SANIpropagateCompactOperationsClass::findValidDualLowerLevelConnectionAlternate()

Function Summary
namereturn typedescription
findValidDualLowerLevelConnectionAlternateboolfind valid dual lower level connection alternate

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
component const SANIComponentNeuralNetwork* component

Function Reference List


Function SANIpropagateCompactOperationsClass::findGroup1InFirstSectionOfGroup2BackConnection()

Function Summary
namereturn typedescription
findGroup1InFirstSectionOfGroup2BackConnectionboolfind group 1I n first section of group 2B ack connection

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentGroup2 SANIGroupNeuralNetwork* current group 2
group1ToFound const SANIGroupNeuralNetwork* group 1T o found

Function Reference List


Function SANIpropagateCompactOperationsClass::findValidDualLowerLevelConnection()

Function Summary
namereturn typedescription
findValidDualLowerLevelConnectionboolfind valid dual lower level connection

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
component const SANIComponentNeuralNetwork* component
assumeFirstComponentActive const bool assume first component active

Function Reference List
N/A


File SANIpropagateCompactGenerateOperations Documentation

File Name: SANIpropagateCompactGenerateOperations.cpp/.hpp

File Description: SANI propagate compact generate operations

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateCompactGenerateOperationsClass::verifyMissingOrVariableStartComponentFound()

Function Summary
namereturn typedescription
verifyMissingOrVariableStartComponentFoundboolverify missing or variable start component found

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
layer const int layer
ownerGroup SANIGroupNeuralNetwork* owner group
testComponent const SANIComponentNeuralNetwork* test component
components const vector<SANIComponentNeuralNetwork*>* components
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted bool* activation sequence completed
firstActiveComponentInGroup const bool first active component in group
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
finalActiveComponent const SANIComponentNeuralNetwork* final active component
existingActivationFoundStartComponent const bool* existing activation found start component
missingStartComponentFound const bool* missing start component found
variableStartComponentFound bool* variable start component found
componentWordConnectivityTests const bool component word connectivity tests
missingOrVariableStartComponentFound bool* missing or variable start component found
numberOfInactiveComponentsRemaining const int number of inactive components remaining
sequentialActivationFound bool* sequential activation found
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::verifyMissingOrVariableStartComponentFoundAllowedWordIndices()

Function Summary
namereturn typedescription
verifyMissingOrVariableStartComponentFoundAllowedWordIndicesboolverify missing or variable start component found allowed word indices

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
layer const int layer
ownerGroup const SANIGroupNeuralNetwork* owner group
testComponent const SANIComponentNeuralNetwork* test component
components const vector<SANIComponentNeuralNetwork*>* components
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool* activation sequence completed
firstActiveComponentInGroup const bool first active component in group
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
finalActiveComponent const SANIComponentNeuralNetwork* final active component
existingActivationFoundStartComponent const bool* existing activation found start component
missingStartComponentFound const bool* missing start component found
variableStartComponentFound const bool* variable start component found
componentWordConnectivityTests const bool component word connectivity tests
missingOrVariableStartComponentFound const bool* missing or variable start component found
numberOfInactiveComponentsRemaining const int number of inactive components remaining
sequentialActivationFound bool* sequential activation found
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::propagateVariableEndComponentRemoveLastParseTreeComponent()

Function Summary
namereturn typedescription
propagateVariableEndComponentRemoveLastParseTreeComponentboolpropagate variable end component remove last parse tree component

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
layer const int layer
ownerGroup SANIGroupNeuralNetwork* owner group
testComponent const SANIComponentNeuralNetwork* test component
components vector<SANIComponentNeuralNetwork*>* components
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted bool* activation sequence completed
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
finalActiveComponent const SANIComponentNeuralNetwork* final active component
existingActivationFoundEndComponent bool* existing activation found end component
componentWordConnectivityTests const bool component word connectivity tests
sequentialActivationFound bool* sequential activation found
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::updateActivatedNeuronWithMaxWordIndexCoverageWrapper()

Function Summary
namereturn typedescription
updateActivatedNeuronWithMaxWordIndexCoverageWrapperboolupdate activated neuron with max word index coverage wrapper

Function Arguments
nametypedescription
ownerGroupSANIGroupNeuralNetwork* owner group
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool activation sequence completed
sequentialActivationFound const bool sequential activation found
missingStartComponentFound const bool missing start component found
missingOrVariableStartComponentFound bool missing or variable start component found
missingOrVariableEndComponentFound bool missing or variable end component found

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::updateActivatedNeuronWithMaxWordIndexCoverage()

Function Summary
namereturn typedescription
updateActivatedNeuronWithMaxWordIndexCoverageboolupdate activated neuron with max word index coverage

Function Arguments
nametypedescription
ownerGroupSANIGroupNeuralNetwork* owner group
currentParseTreeGroupTemp SANIGroupParseTree* current parse tree group temp
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
missingStartComponentFound const bool missing start component found
missingOrVariableStartComponentFound bool missing or variable start component found
missingOrVariableEndComponentFound bool missing or variable end component found
candidateCoveragePartial bool candidate coverage partial

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::verifyActivatedNeuronWithMaxWordIndexCoverage()

Function Summary
namereturn typedescription
verifyActivatedNeuronWithMaxWordIndexCoverageboolverify activated neuron with max word index coverage

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
activatedNeuronBaseline SANIGroupParseTree* activated neuron baseline
activatedNeuronCandidate SANIGroupParseTree* activated neuron candidate
testWordIndicesAllowed const bool test word indices allowed
testMinNumComponents const bool test min num components
candidateCoveragePartial const bool candidate coverage partial
missingOrVariableStartComponentFound const bool missing or variable start component found
missingOrVariableEndComponentFound const bool missing or variable end component found

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::verifyActivatedNeuronWithMaxWordIndexAllowed()

Function Summary
namereturn typedescription
verifyActivatedNeuronWithMaxWordIndexAllowedboolverify activated neuron with max word index allowed

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
activatedNeuronCandidate const SANIGroupParseTree* activated neuron candidate
strictStartingCondition const bool strict starting condition

Function Reference List
N/A


Function SANIpropagateCompactGenerateOperationsClass::verifyNeverSplitGroupBetweenTwoIdenticalComponents()

Function Summary
namereturn typedescription
verifyNeverSplitGroupBetweenTwoIdenticalComponentsboolverify never split group between two identical components

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
activatedNeuronWithMaxWordIndexCoverage SANIGroupParseTree* activated neuron with max word index coverage
candidateCoveragePartial const bool candidate coverage partial

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::neuronFirstOrLastActivatedComponentWordIndexEncapsulatesPartOfRepeatedPOSsectionOfSentenceWordSequence()

Function Summary
namereturn typedescription
neuronFirstOrLastActivatedComponentWordIndexEncapsulatesPartOfRepeatedPOSsectionOfSentenceWordSequenceboolneuron first or last activated component word index encapsulates part of repeated POS section of sentence word sequence

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
activatedNeuronWithMaxWordIndexCoverage const SANIGroupParseTree* activated neuron with max word index coverage

Function Reference List
N/A


Function SANIpropagateCompactGenerateOperationsClass::verifyActivatedNeuronsAtLeastOneBasic()

Function Summary
namereturn typedescription
verifyActivatedNeuronsAtLeastOneBasicboolverify activated neurons at least one basic

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
activatedNeuronWithMaxWordIndexCoverage const SANIGroupParseTree* activated neuron with max word index coverage

Function Reference List
N/A


Function SANIpropagateCompactGenerateOperationsClass::verifyActivatedNeuronsAtLeastOne()

Function Summary
namereturn typedescription
verifyActivatedNeuronsAtLeastOneboolverify activated neurons at least one

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
activatedNeuronWithMaxWordIndexCoverage const SANIGroupParseTree* activated neuron with max word index coverage
newNeuronSequenceGroup1 const SANIGroupNeuralNetwork* new neuron sequence group 1

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::identifyComponentIndexFirstAndLastActivatedIndexUnordered()

Function Summary
namereturn typedescription
identifyComponentIndexFirstAndLastActivatedIndexUnorderedboolidentify component index first and last activated index unordered

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
parseTreeGroupNeuron SANIGroupParseTree* parse tree group neuron
firstActivatedIndex int* first activated index
lastActivatedIndex int* last activated index

Function Reference List
N/A


Function SANIpropagateCompactGenerateOperationsClass::identifyComponentIndexLastActivatedAndFirstUnactivatedIndex()

Function Summary
namereturn typedescription
identifyComponentIndexLastActivatedAndFirstUnactivatedIndexboolidentify component index last activated and first unactivated index

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
parseTreeGroupNeuron SANIGroupParseTree* parse tree group neuron
lastActivatedIndex int* last activated index
firstUnactivatedIndex int* first unactivated index

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::identifyMissingOrVariableStartComponentFound()

Function Summary
namereturn typedescription
identifyMissingOrVariableStartComponentFoundboolidentify missing or variable start component found

Function Arguments
nametypedescription
forwardPropogationSignalDataconst SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
i const int i
currentComponent const SANIComponentNeuralNetwork* current component
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
missingOrVariableStartComponentFound bool* missing or variable start component found

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::identifyMissingOrVariableStartComponentFound()

Function Summary
namereturn typedescription
identifyMissingOrVariableStartComponentFoundboolidentify missing or variable start component found

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
currentComponent const SANIComponentNeuralNetwork* current component

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::identifyMissingOrVariableEndComponentFound()

Function Summary
namereturn typedescription
identifyMissingOrVariableEndComponentFoundboolidentify missing or variable end component found

Function Arguments
nametypedescription
forwardPropogationSignalDataconst SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
components vector<SANIComponentNeuralNetwork*>* components
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
i const int i
currentComponent const SANIComponentNeuralNetwork* current component
previousActiveComponent const SANIComponentNeuralNetwork* previous active component
missingOrVariableEndComponentFound bool* missing or variable end component found

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::identifyMissingOrVariableEndComponentFound()

Function Summary
namereturn typedescription
identifyMissingOrVariableEndComponentFoundboolidentify missing or variable end component found

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
components const vector<SANIComponentNeuralNetwork*>* components
currentComponent const SANIComponentNeuralNetwork* current component

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::calculateVariableComponentPassCriteria()

Function Summary
namereturn typedescription
calculateVariableComponentPassCriteriaboolcalculate variable component pass criteria

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
component const SANIComponentNeuralNetwork* component
components const vector<SANIComponentNeuralNetwork*>* components
testFirstComponentNotString const bool test first component not string
testLastComponentNotString const bool test last component not string
testFirstComponentSubgroupsUnique const bool test first component subgroups unique
testLastComponentSubgroupsUnique const bool test last component subgroups unique
testNotDualLowerLevelConnections const bool test not dual lower level connections

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::groupContainsNeuronWithinProspectiveAlternateSubgroupEfficient()

Function Summary
namereturn typedescription
groupContainsNeuronWithinProspectiveAlternateSubgroupEfficientboolgroup contains neuron within prospective alternate subgroup efficient

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::groupContainsNeuronWithinProspectiveAlternateSubgroupReset()

Function Summary
namereturn typedescription
groupContainsNeuronWithinProspectiveAlternateSubgroupResetboolgroup contains neuron within prospective alternate subgroup reset

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::calculateNextIndexInSequenceProspective()

Function Summary
namereturn typedescription
calculateNextIndexInSequenceProspectiveintcalculate next index in sequence prospective

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
activatedNeuronWithMaxWordIndexCoverageProspective const SANIGroupParseTree* activated neuron with max word index coverage prospective

Function Reference List
N/A


Function SANIpropagateCompactGenerateOperationsClass::variableEdgeComponentSourcePOSisIdenticalWrapper1()

Function Summary
namereturn typedescription
variableEdgeComponentSourcePOSisIdenticalWrapper1boolvariable edge component source POS is identical wrapper 1

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
generatedNeuron SANIGroupNeuralNetwork* generated neuron
candidateMatchGroup SANIGroupNeuralNetwork* candidate match group
identifyVariableFirstOrLastComponent bool identify variable first or last component

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::variableEdgeComponentSourcePOSisIdenticalWrapper2()

Function Summary
namereturn typedescription
variableEdgeComponentSourcePOSisIdenticalWrapper2boolvariable edge component source POS is identical wrapper 2

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
neuronWithNewVariableComponent SANIGroupNeuralNetwork* neuron with new variable component
edgeNeuron SANIGroupNeuralNetwork* edge neuron
identifyVariableFirstOrLastComponent bool identify variable first or last component

Function Reference List


Function SANIpropagateCompactGenerateOperationsClass::variableEdgeComponentSourcePOSisIdentical()

Function Summary
namereturn typedescription
variableEdgeComponentSourcePOSisIdenticalboolvariable edge component source POS is identical

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
neuronToDetect const SANIGroupNeuralNetwork* neuron to detect
edgeNeuron SANIGroupNeuralNetwork* edge neuron
identifyVariableFirstOrLastComponent bool identify variable first or last component

Function Reference List


File SANIpropagateCompact Documentation

File Name: SANIpropagateCompact.cpp/.hpp

File Description: SANI propagate compact

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateCompactClass::defineFirstLayer()

Function Summary
namereturn typedescription
defineFirstLayerbooldefine first layer

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIpropagateCompactClass::executePosRelTranslatorNeuralNetworkPart1()

Function Summary
namereturn typedescription
executePosRelTranslatorNeuralNetworkPart1boolexecute pos rel translator neural network part 1

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup constEffective SANIGroupParseTree** top level parse tree group
parseIsolatedSubreferenceSets const bool parse isolated subreference sets
parserEnabled bool parser enabled
performance int* performance

Function Reference List


Function SANIpropagateCompactClass::executePosRelTranslatorNeuralNetworkPart2()

Function Summary
namereturn typedescription
executePosRelTranslatorNeuralNetworkPart2boolexecute pos rel translator neural network part 2

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
SANIGroupTypes const vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup constEffective SANIGroupParseTree** top level parse tree group
parseIsolatedSubreferenceSets const bool parse isolated subreference sets
parserEnabled const bool parser enabled
performance int* performance

Function Reference List
N/A


Function SANIpropagateCompactClass::performPropagationTest()

Function Summary
namereturn typedescription
performPropagationTestboolperform propagation test

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
recordTopLevelParseTreeGroup const bool record top level parse tree group
topLevelParseTreeGroup constEffective SANIGroupParseTree** top level parse tree group

Function Reference List


Function SANIpropagateCompactClass::performPropagation()

Function Summary
namereturn typedescription
performPropagationboolperform propagation

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
resetAllNeuronComponents const bool reset all neuron components
deinitialiseParseTreeGroupAfterFinish const bool deinitialise parse tree group after finish
firstIndexInSequence const int first index in sequence

Function Reference List


Function SANIpropagateCompactClass::performPropagation()

Function Summary
namereturn typedescription
performPropagationboolperform propagation

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
resetAllNeuronComponents const bool reset all neuron components
deinitialiseParseTreeGroupAfterFinish const bool deinitialise parse tree group after finish
firstIndexInSequence const int first index in sequence
activatedNeuronWithMaxWordIndexCoverageFirstWordIndexAllowed const int activated neuron with max word index coverage first word index allowed
activatedNeuronWithMaxWordIndexCoverageLastWordIndexAllowed const int activated neuron with max word index coverage last word index allowed

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkIntro()

Function Summary
namereturn typedescription
propagateWordThroughNetworkIntroboolpropagate word through network intro

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
w const int w
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
getFirstLayer const bool get first layer

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkGroupInit()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupInitboolpropagate word through network group init

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
w const int w
wordPOStype int word POS type
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
getFirstLayer const bool get first layer

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkGroup()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupboolpropagate word through network group

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group SANIGroupNeuralNetwork* group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkGroupSelect()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupSelectboolpropagate word through network group select

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkGroupComponentWrapper()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupComponentWrapperboolpropagate word through network group component wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
currentComponent SANIComponentNeuralNetwork* current component
ownerGroup SANIGroupNeuralNetwork* owner group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
groupFrontComponentConnectionListIndex const int group front component connection list index
sequentialActivationFound bool* sequential activation found
existingActivationFoundStartComponent bool* existing activation found start component

Function Reference List


Function SANIpropagateCompactClass::propagateWordThroughNetworkGroupComponent()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupComponentboolpropagate word through network group component

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
currentComponent SANIComponentNeuralNetwork* current component
ownerGroup SANIGroupNeuralNetwork* owner group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool activation sequence completed
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
groupFrontComponentConnectionListIndex const int group front component connection list index
existingActivationFoundStartComponent const bool existing activation found start component
missingStartComponentFound bool missing start component found
missingOrVariableStartComponentFound bool missing or variable start component found

Function Reference List


Function SANIpropagateCompactClass::sequentialActivationConnectivityTests()

Function Summary
namereturn typedescription
sequentialActivationConnectivityTestsboolsequential activation connectivity tests

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
currentComponent SANIComponentNeuralNetwork* current component
ownerGroup SANIGroupNeuralNetwork* owner group
currentParseTreeGroupTemp SANIGroupParseTree* current parse tree group temp
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool activation sequence completed
layer const int layer
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
existingActivationFoundStartComponent bool existing activation found start component
existingActivationFoundEndComponent const bool existing activation found end component
skipWordConnectivityTests const bool skip word connectivity tests

Function Reference List


Function SANIpropagateCompactClass::printBackpropParseTree()

Function Summary
namereturn typedescription
printBackpropParseTreeboolprint backprop parse tree

Function Arguments
nametypedescription
groupSANIGroupParseTree* group
level const int level

Function Reference List


Function SANIpropagateCompactClass::identifyComponentIndexLastActivatedIndex()

Function Summary
namereturn typedescription
identifyComponentIndexLastActivatedIndexboolidentify component index last activated index

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
parseTreeGroupNeuron SANIGroupParseTree* parse tree group neuron
lastActivatedIndex int* last activated index

Function Reference List
N/A


Function SANIpropagateCompactClass::upperNeuronLastWordIndexAlignsWithThatOfProspectiveComponentWrapper()

Function Summary
namereturn typedescription
upperNeuronLastWordIndexAlignsWithThatOfProspectiveComponentWrapperboolupper neuron last word index aligns with that of prospective component wrapper

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
component const SANIComponentNeuralNetwork* component
ownerGroup SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
existingActivationFoundStartComponent bool existing activation found start component

Function Reference List


Function SANIpropagateCompactClass::upperNeuronLastWordIndexAlignsWithThatOfProspectiveComponent()

Function Summary
namereturn typedescription
upperNeuronLastWordIndexAlignsWithThatOfProspectiveComponentboolupper neuron last word index aligns with that of prospective component

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
wordIndexMinToFindAbove const int word index min to find above
wordIndexMaxToFindAbove const int word index max to find above
wordIndexLastAboveEffectiveAfterGroupReset const int word index last above effective after group reset
level int level
group const SANIGroupNeuralNetwork* group
wordIndexMinFound bool word index min found
wordIndexMaxFound bool word index max found

Function Reference List


Function SANIpropagateCompactClass::printSANInetworkSVG()

Function Summary
namereturn typedescription
printSANInetworkSVGboolprint SANI network SVG

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIpropagateCompactClass::verifyWordIndexCoverageIntegrity()

Function Summary
namereturn typedescription
verifyWordIndexCoverageIntegrityboolverify word index coverage integrity

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
currentParseTreeGroup SANIGroupParseTree* current parse tree group
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data

Function Reference List


File GIAneuralNetworkOperations Documentation

File Name: GIAneuralNetworkOperations.cpp/.hpp

File Description: GIA neural network operations

File Function List


File Diagram (functions hierarchy)


Class GIAneuralNetworkVariablesClass

Class Data
nametypedescription
firstInputNeuronInNetworkANNneuron*first input neuron in network
neuronIDcounterint64_tneuron ID counter
conceptNeuronOrderIDcounterint64_tconcept neuron order ID counter
specificConceptNeuronOrderIDcounterint64_tspecific concept neuron order ID counter
instanceNeuronOrderIDcounterint64_tinstance neuron order ID counter
substanceConceptIDcounterint64_tsubstance concept ID counter
referenceSetDelimiterConceptIDcounterint64_treference set delimiter concept ID counter
yPosRelStartintyPos rel start
sentenceIndexintsentence index

Function GIAneuralNetworkOperationsClass::initiateGIAneuralNetwork()

Function Summary
namereturn typedescription
initiateGIAneuralNetworkvoidinitiate GIA neural network

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::generateNeuralNetFromSemanticNet()

Function Summary
namereturn typedescription
generateNeuralNetFromSemanticNetboolgenerate neural net from semantic net

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAneuralNetworkOperationsClass::calculateLayerOfSpecificConceptNeuron()

Function Summary
namereturn typedescription
calculateLayerOfSpecificConceptNeuronboolcalculate layer of specific concept neuron

Function Arguments
nametypedescription
entityGIAentityNode* entity
layer int layer
maxLayer int* max layer

Function Reference List


Function GIAneuralNetworkOperationsClass::getSpecificConceptNeuronAndLink()

Function Summary
namereturn typedescription
getSpecificConceptNeuronAndLinkboolget specific concept neuron and link

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
neuralNetworkVariables GIAneuralNetworkVariablesClass* neural network variables
currentInstanceNeuron ANNneuron** current instance neuron
entity GIAentityNode* entity
specificConceptNeuronFound ANNneuron** specific concept neuron found

Function Reference List


Function GIAneuralNetworkOperationsClass::getConceptNeuron()

Function Summary
namereturn typedescription
getConceptNeuronboolget concept neuron

Function Arguments
nametypedescription
entityGIAentityNode* entity
conceptNeuronFound ANNneuron** concept neuron found

Function Reference List


Function GIAneuralNetworkOperationsClass::generateConceptIndexBitNeurons()

Function Summary
namereturn typedescription
generateConceptIndexBitNeuronsboolgenerate concept index bit neurons

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
firstConceptIndexBitNeuronInLayer ANNneuron* first concept index bit neuron in layer
conceptIndexMaxSizeBits const int concept index max size bits
conceptIndexType const int concept index type

Function Reference List


Function GIAneuralNetworkOperationsClass::generateSubnetFromConnectedInstances()

Function Summary
namereturn typedescription
generateSubnetFromConnectedInstancesboolgenerate subnet from connected instances

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
neuralNetworkVariables GIAneuralNetworkVariablesClass* neural network variables
currentInstanceNeuron ANNneuron** current instance neuron
previousEntityIsConcept const bool previous entity is concept
previousNeuron ANNneuron* previous neuron
entity GIAentityNode* entity
artificialLayer const int artificial layer
parsingConcept const bool parsing concept
parsingSpecificConcept const bool parsing specific concept

Function Reference List


Function GIAneuralNetworkOperationsClass::getFirstConceptNeuron()

Function Summary
namereturn typedescription
getFirstConceptNeuronANNneuron*get first concept neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getFirstSpecificConceptNeuron()

Function Summary
namereturn typedescription
getFirstSpecificConceptNeuronANNneuron*get first specific concept neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getFirstInstanceNeuron()

Function Summary
namereturn typedescription
getFirstInstanceNeuronANNneuron*get first instance neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getFirstConceptIndexBitNeuron()

Function Summary
namereturn typedescription
getFirstConceptIndexBitNeuronANNneuron*get first concept index bit neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkconst ANNneuron* first input neuron in network
entity const GIAentityNode* entity

Function Reference List


Function GIAneuralNetworkOperationsClass::getFirstSubstanceConceptIndexBitNeuron()

Function Summary
namereturn typedescription
getFirstSubstanceConceptIndexBitNeuronANNneuron*get first substance concept index bit neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getFirstReferenceSetDelimiterConceptIndexBitNeuron()

Function Summary
namereturn typedescription
getFirstReferenceSetDelimiterConceptIndexBitNeuronANNneuron*get first reference set delimiter concept index bit neuron

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getConceptIndexType()

Function Summary
namereturn typedescription
getConceptIndexTypeintget concept index type

Function Arguments
nametypedescription
entityconst GIAentityNode* entity

Function Reference List


Function GIAneuralNetworkOperationsClass::createNewConceptIndexBitNeuron()

Function Summary
namereturn typedescription
createNewConceptIndexBitNeuronANNneuron*create new concept index bit neuron

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
currentConceptIndexBitNeuron ANNneuron** current concept index bit neuron
conceptIndexBitID int concept index bit ID
conceptIndexType const int concept index type
xPosRel const int xPos rel

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::createNewConceptNeuron()

Function Summary
namereturn typedescription
createNewConceptNeuronANNneuron*create new concept neuron

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
currentConceptNeuron ANNneuron** current concept neuron
entityName const string entity name
xPosRel const int xPos rel
conceptIndexType int concept index type

Function Reference List


Function GIAneuralNetworkOperationsClass::createNewSpecificConceptNeuron()

Function Summary
namereturn typedescription
createNewSpecificConceptNeuronANNneuron*create new specific concept neuron

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
currentSpecificConceptNeuron ANNneuron** current specific concept neuron
entityName const string entity name
xPosRel const int xPos rel
layer const int layer
conceptIndexType int concept index type

Function Reference List


Function GIAneuralNetworkOperationsClass::createNewInstanceNeuron()

Function Summary
namereturn typedescription
createNewInstanceNeuronANNneuron*create new instance neuron

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
currentInstanceNeuron ANNneuron** current instance neuron
entityName const string entity name
instanceID const int instance ID
conceptNeuron ANNneuron* concept neuron
artificialLayer const int artificial layer
ANNconnectionType int ANN connection type
sentenceOffset const int sentence offset
entityOffset const int entity offset

Function Reference List


Function GIAneuralNetworkOperationsClass::generateInstanceNeuronXposRel()

Function Summary
namereturn typedescription
generateInstanceNeuronXposRelintgenerate instance neuron xpos rel

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
conceptNeuron const ANNneuron* concept neuron

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::connectConceptNeuronToConceptIndexBitNeurons()

Function Summary
namereturn typedescription
connectConceptNeuronToConceptIndexBitNeuronsboolconnect concept neuron to concept index bit neurons

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
conceptNeuron ANNneuron* concept neuron
conceptIndexType int concept index type

Function Reference List


Function GIAneuralNetworkOperationsClass::getConceptIndexIDcounter()

Function Summary
namereturn typedescription
getConceptIndexIDcounterintget concept index ID counter

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
conceptIndexType const int concept index type

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::incrementConceptIndexIDcounter()

Function Summary
namereturn typedescription
incrementConceptIndexIDcountervoidincrement concept index ID counter

Function Arguments
nametypedescription
neuralNetworkVariablesGIAneuralNetworkVariablesClass* neural network variables
conceptIndexType const int concept index type

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::calculateConceptIndexBitConnectionWeight()

Function Summary
namereturn typedescription
calculateConceptIndexBitConnectionWeightdoublecalculate concept index bit connection weight

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
conceptIndex const int concept index
bitID const int bit ID

Function Reference List


Function GIAneuralNetworkOperationsClass::createANNconnectionBetweenConceptNeuronAndInstanceNeuron()

Function Summary
namereturn typedescription
createANNconnectionBetweenConceptNeuronAndInstanceNeuronboolcreate ANN connection between concept neuron and instance neuron

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
conceptNeuron const ANNneuron* concept neuron
instanceNeuron ANNneuron* instance neuron

Function Reference List


Function GIAneuralNetworkOperationsClass::calculateSentenceOffset()

Function Summary
namereturn typedescription
calculateSentenceOffsetintcalculate sentence offset

Function Arguments
nametypedescription
firstLRPpreprocessorSentenceInListconst LRPpreprocessorSentence* first LRP preprocessor sentence in list
sentenceIndex const int sentence index

Function Reference List
N/A


Function GIAneuralNetworkOperationsClass::getCurrentTime()

Function Summary
namereturn typedescription
getCurrentTimeint64_tget current time

Function Reference List
N/A


File SANIgenerateCompactIdentify Documentation

File Name: SANIgenerateCompactIdentify.cpp/.hpp

File Description: SANI generate compact identify

File Function List


File Diagram (functions hierarchy)


Function SANIgenerateCompactIdentifyClass::addGroupToHiddenLayerGroupsTemp()

Function Summary
namereturn typedescription
addGroupToHiddenLayerGroupsTempbooladd group to hidden layer groups temp

Function Arguments
nametypedescription
newGroupSANIGroupNeuralNetwork* new group

Function Reference List
N/A


Function SANIgenerateCompactIdentifyClass::clearHiddenLayerGroupsTemp()

Function Summary
namereturn typedescription
clearHiddenLayerGroupsTempboolclear hidden layer groups temp

Function Reference List
N/A


Function SANIgenerateCompactIdentifyClass::setGeneratedForLastSentence()

Function Summary
namereturn typedescription
setGeneratedForLastSentenceboolset generated for last sentence

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables

Function Reference List
N/A


Function SANIgenerateCompactIdentifyClass::identifyVariableComponentsAndReferenceSets()

Function Summary
namereturn typedescription
identifyVariableComponentsAndReferenceSetsboolidentify variable components and reference sets

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup SANIGroupParseTree* top level parse tree group

Function Reference List


Function SANIgenerateCompactIdentifyClass::identifyStartEndOfSentenceWordDetected()

Function Summary
namereturn typedescription
identifyStartEndOfSentenceWordDetectedboolidentify start end of sentence word detected

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
currentParseTreeGroup SANIGroupParseTree* current parse tree group

Function Reference List


Function SANIgenerateCompactIdentifyClass::identifyVariableComponentsWrapper()

Function Summary
namereturn typedescription
identifyVariableComponentsWrapperboolidentify variable components wrapper

Function Arguments
nametypedescription
translatorVariablesconst SANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup const SANIGroupParseTree* top level parse tree group

Function Reference List


Function SANIgenerateCompactIdentifyClass::identifyVariableComponents()

Function Summary
namereturn typedescription
identifyVariableComponentsboolidentify variable components

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIgenerateCompactIdentifyClass::identifyVariableFirstLastComponents()

Function Summary
namereturn typedescription
identifyVariableFirstLastComponentsboolidentify variable first last components

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
identifyVariableFirstOrLastComponent bool identify variable first or last component
generatedNeuron SANIGroupNeuralNetwork* generated neuron
variableComponentOfGeneratedNeuron const SANIComponentNeuralNetwork* variable component of generated neuron
nonvariableComponentOfGeneratedNeuron const SANIComponentNeuralNetwork* nonvariable component of generated neuron
variableComponentOfGeneratedNeuronSource SANIGroupNeuralNetwork* variable component of generated neuron source
nonvariableComponentOfGeneratedNeuronSource SANIGroupNeuralNetwork* nonvariable component of generated neuron source

Function Reference List


Function SANIgenerateCompactIdentifyClass::findAndLinkCentralVariationCandidates()

Function Summary
namereturn typedescription
findAndLinkCentralVariationCandidatesboolfind and link central variation candidates

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIgenerateCompactIdentifyClass::populateSecondComponentOfOutputNeuronSourceVector()

Function Summary
namereturn typedescription
populateSecondComponentOfOutputNeuronSourceVectorboolpopulate second component of output neuron source vector

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
group const SANIGroupNeuralNetwork* group
secondComponentOfOutputNeuronSourceVector vector<SANIGroupNeuralNetwork*>* second component of output neuron source vector

Function Reference List
N/A


Function SANIgenerateCompactIdentifyClass::linkSimiliarSubnets()

Function Summary
namereturn typedescription
linkSimiliarSubnetsboollink similiar subnets

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes const vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
topLevelParseTreeGroup SANIGroupParseTree* top level parse tree group

Function Reference List


Function SANIgenerateCompactIdentifyClass::updateNetworkRecency()

Function Summary
namereturn typedescription
updateNetworkRecencyboolupdate network recency

Function Arguments
nametypedescription
timeIndexint time index
currentParseTreeGroup SANIGroupParseTree* current parse tree group
layer const int layer

Function Reference List


Function SANIgenerateCompactIdentifyClass::findAndLinkReferenceSetCandidates1()

Function Summary
namereturn typedescription
findAndLinkReferenceSetCandidates1boolfind and link reference set candidates 1

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentParseTreeGroup SANIGroupParseTree* current parse tree group
layer const int layer

Function Reference List


Function SANIgenerateCompactIdentifyClass::findAndLinkReferenceSetCandidates2()

Function Summary
namereturn typedescription
findAndLinkReferenceSetCandidates2boolfind and link reference set candidates 2

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
referenceSetCandidate2best constEffective SANIGroupNeuralNetwork** reference set candidate 2best
currentParseTreeGroup SANIGroupParseTree* current parse tree group
referenceSetCandidate1 SANIGroupNeuralNetwork* reference set candidate 1
referenceSetCandidateVector1 const vector<SANIGroupNeuralNetwork*>* reference set candidate vector 1
layer const int layer

Function Reference List


Function SANIgenerateCompactIdentifyClass::findAndLinkReferenceSetCandidates3()

Function Summary
namereturn typedescription
findAndLinkReferenceSetCandidates3boolfind and link reference set candidates 3

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
referenceSetCandidate2best constEffective SANIGroupNeuralNetwork** reference set candidate 2best
referenceSetCandidate2 SANIGroupNeuralNetwork* reference set candidate 2
referenceSetCandidate1 SANIGroupNeuralNetwork* reference set candidate 1
referenceSetCandidateVector1 const vector<SANIGroupNeuralNetwork*>* reference set candidate vector 1
layer const int layer

Function Reference List


Function SANIgenerateCompactIdentifyClass::findAndLinkReferenceSetCandidatesCompareVectors()

Function Summary
namereturn typedescription
findAndLinkReferenceSetCandidatesCompareVectorsboolfind and link reference set candidates compare vectors

Function Arguments
nametypedescription
referenceSetCandidate2bestconstEffective SANIGroupNeuralNetwork** reference set candidate 2best
referenceSetCandidate1 SANIGroupNeuralNetwork* reference set candidate 1
referenceSetCandidate2 constEffective SANIGroupNeuralNetwork* reference set candidate 2
referenceSetCandidateVector1 const vector<SANIGroupNeuralNetwork*>* reference set candidate vector 1
referenceSetCandidateVector2 const vector<SANIGroupNeuralNetwork*>* reference set candidate vector 2

Function Reference List
N/A


Function SANIgenerateCompactIdentifyClass::createReferenceSetCandidateVector()

Function Summary
namereturn typedescription
createReferenceSetCandidateVectorboolcreate reference set candidate vector

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron
referenceSetCandidateVector vector<SANIGroupNeuralNetwork*>* reference set candidate vector

Function Reference List


Function SANIgenerateCompactIdentifyClass::markFirstComponentSubNeurons()

Function Summary
namereturn typedescription
markFirstComponentSubNeuronsboolmark first component sub neurons

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentNeuron SANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIgenerateCompactIdentifyClass::markSubNeurons()

Function Summary
namereturn typedescription
markSubNeuronsboolmark sub neurons

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIgenerateCompactIdentifyClass::markSubNeuronsReset()

Function Summary
namereturn typedescription
markSubNeuronsResetboolmark sub neurons reset

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron

Function Reference List


File SANIgenerateCompactOperations Documentation

File Name: SANIgenerateCompactOperations.cpp/.hpp

File Description: SANI generate compact operations

File Function List


File Diagram (functions hierarchy)


Function SANIgenerateCompactOperationsClass::addComponentToFirstLevelHiddenLayerGroup()

Function Summary
namereturn typedescription
addComponentToFirstLevelHiddenLayerGroupbooladd component to first level hidden layer group

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
inputLayerPOSneuron SANIGroupNeuralNetwork* input layer POS neuron
newNeuronSequenceGroup SANIGroupNeuralNetwork* new neuron sequence group

Function Reference List


Function SANIgenerateCompactOperationsClass::createNewHiddenLayerGroup()

Function Summary
namereturn typedescription
createNewHiddenLayerGroupSANIGroupNeuralNetwork*create new hidden layer group

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types

Function Reference List


Function SANIgenerateCompactOperationsClass::addComponentToGroup()

Function Summary
namereturn typedescription
addComponentToGroupbooladd component to group

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
group SANIGroupNeuralNetwork* group
higherLevelComponentGroupOwner SANIGroupNeuralNetwork* higher level component group owner
componentTypeString const bool component type string
insertAtStart bool insert at start

Function Reference List


Function SANIgenerateCompactOperationsClass::addComponentToGroup()

Function Summary
namereturn typedescription
addComponentToGroupbooladd component to group

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
group SANIGroupNeuralNetwork* group
higherLevelComponent SANIComponentNeuralNetwork* higher level component

Function Reference List


Function SANIgenerateCompactOperationsClass::createNewGroup()

Function Summary
namereturn typedescription
createNewGroupSANIGroupNeuralNetwork*create new group

Function Reference List


Function SANIgenerateCompactOperationsClass::addParentNeuronsToList()

Function Summary
namereturn typedescription
addParentNeuronsToListbooladd parent neurons to list

Function Arguments
nametypedescription
listOfHighLevelNeuronsCompleteHistoryvector<SANIGroupNeuralNetwork*>* list of high level neurons complete history
currentNeuron SANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIgenerateCompactOperationsClass::addParentNeuronsToListReset()

Function Summary
namereturn typedescription
addParentNeuronsToListResetbooladd parent neurons to list reset

Function Arguments
nametypedescription
currentNeuronSANIGroupNeuralNetwork* current neuron

Function Reference List


Function SANIgenerateCompactOperationsClass::calculateNextIndexInSequence()

Function Summary
namereturn typedescription
calculateNextIndexInSequenceintcalculate next index in sequence

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIgenerateCompactOperationsClass::findLowestLayerNeuron()

Function Summary
namereturn typedescription
findLowestLayerNeuronboolfind lowest layer neuron

Function Arguments
nametypedescription
highLevelNeuronPriorArrayconst vector<SANIGroupNeuralNetwork*>* high level neuron prior array
lowestLayerNeuron SANIGroupNeuralNetwork** lowest layer neuron
lowestLayerNeuronIndex int* lowest layer neuron index

Function Reference List
N/A


Function SANIgenerateCompactOperationsClass::findHighestLayerNeuron()

Function Summary
namereturn typedescription
findHighestLayerNeuronboolfind highest layer neuron

Function Arguments
nametypedescription
highLevelNeuronPriorArrayconst vector<SANIGroupNeuralNetwork*>* high level neuron prior array
highestLayerNeuron SANIGroupNeuralNetwork** highest layer neuron
highestLayerNeuronIndex int* highest layer neuron index

Function Reference List
N/A


File SANIgenerateCompactSectionedUnique Documentation

File Name: SANIgenerateCompactSectionedUnique.cpp/.hpp

File Description: SANI generate compact sectioned unique

File Function List


File Diagram (functions hierarchy)


Function SANIgenerateCompactSectionedUniqueClass::findAndReconcileVariationWrapper()

Function Summary
namereturn typedescription
findAndReconcileVariationWrapperboolfind and reconcile variation wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
sentenceContents vector<LRPpreprocessorPlainTextWord*>* sentence contents
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIgenerateCompactSectionedUniqueClass::findAndReconcileIncrementalVariationLimitNumComponentsSection()

Function Summary
namereturn typedescription
findAndReconcileIncrementalVariationLimitNumComponentsSectionboolfind and reconcile incremental variation limit num components section

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
indexInSequenceStart int* index in sequence start
highLevelNeuronPrior SANIGroupNeuralNetwork** high level neuron prior

Function Reference List


Function SANIgenerateCompactSectionedUniqueClass::addNeuronToListSectioned()

Function Summary
namereturn typedescription
addNeuronToListSectionedbooladd neuron to list sectioned

Function Arguments
nametypedescription
SANIGroupTypesconst vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
neuron SANIGroupNeuralNetwork* neuron
indexInSequence int* index in sequence

Function Reference List


Function SANIgenerateCompactSectionedUniqueClass::addNeuronToList()

Function Summary
namereturn typedescription
addNeuronToListbooladd neuron to list

Function Arguments
nametypedescription
SANIGroupTypesconst vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
neuron SANIGroupNeuralNetwork* neuron
indexInSequence int* index in sequence
highLevelNeuronExpectingVariableLastComponent constEffective SANIGroupNeuralNetwork** high level neuron expecting variable last component

Function Reference List


Function SANIgenerateCompactSectionedUniqueClass::connectListOfHighLevelNeuronsToNewNeuronLimitNumComponentsSection()

Function Summary
namereturn typedescription
connectListOfHighLevelNeuronsToNewNeuronLimitNumComponentsSectionboolconnect list of high level neurons to new neuron limit num components section

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons const vector<SANIGroupNeuralNetwork*>* list of high level neurons
grammaticalSentenceNeuron SANIGroupNeuralNetwork** grammatical sentence neuron
createTopLevelNeuron const bool create top level neuron
completedIdentifyingSentenceHighLevelNeurons const bool completed identifying sentence high level neurons
indexInSequenceStart const int index in sequence start
highLevelNeuronPrior constEffective SANIGroupNeuralNetwork** high level neuron prior

Function Reference List


Function SANIgenerateCompactSectionedUniqueClass::createOrAppendFirstLevelHiddenLayerGroup()

Function Summary
namereturn typedescription
createOrAppendFirstLevelHiddenLayerGroupboolcreate or append first level hidden layer group

Function Arguments
nametypedescription
SANIGroupTypesconst vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
currentLayerNeuronGroupStart SANIGroupNeuralNetwork* current layer neuron group start
creatingNewNeuronSequence const bool* creating new neuron sequence
neuronSequenceIndex const int* neuron sequence index
newNeuronSequenceGroup constEffective SANIGroupNeuralNetwork** new neuron sequence group
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons

Function Reference List
N/A


File SANIgenerateCompactContinuous Documentation

File Name: SANIgenerateCompactContinuous.cpp/.hpp

File Description: SANI generate compact continuous

File Function List


File Diagram (functions hierarchy)


Function SANIgenerateCompactContinuousClass::findAndReconcileVariationWrapper()

Function Summary
namereturn typedescription
findAndReconcileVariationWrapperboolfind and reconcile variation wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
sentenceContents const vector<LRPpreprocessorPlainTextWord*>* sentence contents
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
supportVariableFirstComponents const bool support variable first components

Function Reference List


Function SANIgenerateCompactContinuousClass::findAndReconcileVariation()

Function Summary
namereturn typedescription
findAndReconcileVariationboolfind and reconcile variation

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
supportVariableFirstComponents const bool support variable first components

Function Reference List


Function SANIgenerateCompactContinuousClass::findAndReconcileIncrementalVariation()

Function Summary
namereturn typedescription
findAndReconcileIncrementalVariationboolfind and reconcile incremental variation

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
supportVariableFirstComponents const bool support variable first components

Function Reference List


Function SANIgenerateCompactContinuousClass::addNeuronToList()

Function Summary
namereturn typedescription
addNeuronToListbooladd neuron to list

Function Arguments
nametypedescription
SANIGroupTypesconst vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
neuron SANIGroupNeuralNetwork* neuron
indexInSequence int* index in sequence
highLevelNeuronExpectingVariableLastComponent SANIGroupNeuralNetwork** high level neuron expecting variable last component

Function Reference List


Function SANIgenerateCompactContinuousClass::splitNeuron()

Function Summary
namereturn typedescription
splitNeuronSANIGroupNeuralNetwork*split neuron

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
partiallyActivatedNeuronWithMaxWordIndexCoverage SANIGroupParseTree* partially activated neuron with max word index coverage

Function Reference List


Function SANIgenerateCompactContinuousClass::addVariableFirstComponent()

Function Summary
namereturn typedescription
addVariableFirstComponentbooladd variable first component

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
neuron SANIGroupNeuralNetwork* neuron

Function Reference List


Function SANIgenerateCompactContinuousClass::prepareVariableLastComponent()

Function Summary
namereturn typedescription
prepareVariableLastComponentboolprepare variable last component

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
partiallyActivatedNeuronWithMaxWordIndexCoverage constEffective SANIGroupParseTree* partially activated neuron with max word index coverage
highLevelNeuronExpectingVariableLastComponent constEffective SANIGroupNeuralNetwork** high level neuron expecting variable last component

Function Reference List


Function SANIgenerateCompactContinuousClass::addVariableLastComponent()

Function Summary
namereturn typedescription
addVariableLastComponentbooladd variable last component

Function Arguments
nametypedescription
SANIGroupTypesconst vector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons const vector<SANIGroupNeuralNetwork*>* list of high level neurons
neuron const SANIGroupNeuralNetwork* neuron
highLevelNeuronExpectingVariableLastComponent SANIGroupNeuralNetwork** high level neuron expecting variable last component

Function Reference List


Function SANIgenerateCompactContinuousClass::connectListOfHighLevelNeuronsToNewNeuron()

Function Summary
namereturn typedescription
connectListOfHighLevelNeuronsToNewNeuronboolconnect list of high level neurons to new neuron

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons
grammaticalSentenceNeuron SANIGroupNeuralNetwork** grammatical sentence neuron
createTopLevelNeuron const bool create top level neuron

Function Reference List


Function SANIgenerateCompactContinuousClass::verifyAndMarkNeuronAsCandidateWrapper()

Function Summary
namereturn typedescription
verifyAndMarkNeuronAsCandidateWrapperboolverify and mark neuron as candidate wrapper

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
candidateNeuronBaseParseTree SANIGroupParseTree* candidate neuron base parse tree
candidateComponent2 SANIComponentNeuralNetwork** candidate component 2

Function Reference List


Function SANIgenerateCompactContinuousClass::verifyAndMarkNeuronAsCandidate()

Function Summary
namereturn typedescription
verifyAndMarkNeuronAsCandidateboolverify and mark neuron as candidate

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentNeuron const SANIGroupNeuralNetwork* current neuron
candidateComponent2 SANIComponentNeuralNetwork** candidate component 2

Function Reference List


Function SANIgenerateCompactContinuousClass::createOrAppendFirstLevelHiddenLayerGroup()

Function Summary
namereturn typedescription
createOrAppendFirstLevelHiddenLayerGroupboolcreate or append first level hidden layer group

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
currentLayerNeuronGroupStart SANIGroupNeuralNetwork* current layer neuron group start
creatingNewNeuronSequence bool* creating new neuron sequence
neuronSequenceIndex int* neuron sequence index
newNeuronSequenceGroup SANIGroupNeuralNetwork** new neuron sequence group
listOfHighLevelNeurons vector<SANIGroupNeuralNetwork*>* list of high level neurons

Function Reference List


Function SANIgenerateCompactContinuousClass::directWireLowLevelPOSneuronToGrammaticalSentenceNeuron()

Function Summary
namereturn typedescription
directWireLowLevelPOSneuronToGrammaticalSentenceNeuronbooldirect wire low level POS neuron to grammatical sentence neuron

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
singleComponentNeuronCandidate SANIGroupNeuralNetwork* single component neuron candidate
grammaticalSentenceNeuron SANIGroupNeuralNetwork* grammatical sentence neuron

Function Reference List


Function SANIgenerateCompactContinuousClass::splitGroupAtLastActivatedComponent()

Function Summary
namereturn typedescription
splitGroupAtLastActivatedComponentSANIGroupNeuralNetwork*split group at last activated component

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
neuronToSplit SANIGroupNeuralNetwork* neuron to split
indexToSplitVector const int index to split vector

Function Reference List


Function SANIgenerateCompactContinuousClass::splitGroupAtLastActivatedComponentUnordered()

Function Summary
namereturn typedescription
splitGroupAtLastActivatedComponentUnorderedSANIGroupNeuralNetwork*split group at last activated component unordered

Function Arguments
nametypedescription
forwardPropogationSentenceDataSANIForwardPropogationSentenceData* forward propogation sentence data
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
neuronToSplit SANIGroupNeuralNetwork* neuron to split
indexToSplitVector1 const int index to split vector 1
indexToSplitVector2 int index to split vector 2

Function Reference List


File GIAposRelTranslatorParserOperations Documentation

File Name: GIAposRelTranslatorParserOperations.cpp/.hpp

File Description: GIA pos rel translator parser operations

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorParserOperationsClass::generateSemanticRelationsFromTxtRelationsPart2()

Function Summary
namereturn typedescription
generateSemanticRelationsFromTxtRelationsPart2boolgenerate semantic relations from txt relations part 2

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
currentParseTreeGroup SANIGroupParseTree* current parse tree group
parseTreeComponentSignalDataArray vector<GIAposRelTranslatorParserForwardPropogationSignalData>* parse tree component signal data array
parserForwardPropogationSignalData GIAposRelTranslatorParserForwardPropogationSignalData* parser forward propogation signal data
layer int layer

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationOrdered()

Function Summary
namereturn typedescription
createSemanticRelationOrderedboolcreate semantic relation ordered

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
semanticRelationFunctionName const string semantic relation function name
semanticRelationFunctionConditionNewName string semantic relation function condition new name
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
entitySemanticRelationFunctionSubject GIAentityNode* entity semantic relation function subject
entitySemanticRelationFunctionObject GIAentityNode* entity semantic relation function object
entitySemanticRelationFunctionDelimiter GIAentityNode* entity semantic relation function delimiter
sameReferenceSet bool same reference set
layer int layer

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationPair()

Function Summary
namereturn typedescription
createSemanticRelationPairboolcreate semantic relation pair

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
semanticRelationFunctionName const string semantic relation function name
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
sameReferenceSet bool same reference set
semanticRelationReturnConnectionDynamic const bool semantic relation return connection dynamic
layer int layer

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelation()

Function Summary
namereturn typedescription
createSemanticRelationboolcreate semantic relation

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
semanticRelationFunctionName const string semantic relation function name
semanticRelationFunctionConditionNewName string semantic relation function condition new name
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
entitySemanticRelationFunction3 GIAentityNode* entity semantic relation function 3
sameReferenceSet bool same reference set
semanticRelationReturnConnectionDynamic const bool semantic relation return connection dynamic
layer int layer

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationInMemory()

Function Summary
namereturn typedescription
createSemanticRelationInMemoryboolcreate semantic relation in memory

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
semanticRelationFunctionName const string semantic relation function name
semanticRelationFunctionConditionNewName const string semantic relation function condition new name
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
entitySemanticRelationFunction1 const GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 const GIAentityNode* entity semantic relation function 2
entitySemanticRelationFunction3 const GIAentityNode* entity semantic relation function 3
sameReferenceSet bool same reference set
semanticRelationReturnConnectionDynamic const bool semantic relation return connection dynamic

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationInNetwork()

Function Summary
namereturn typedescription
createSemanticRelationInNetworkboolcreate semantic relation in network

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
semanticRelationFunctionName const string semantic relation function name
semanticRelationFunctionConditionNewName string semantic relation function condition new name
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
entitySemanticRelationFunction1 GIAentityNode* entity semantic relation function 1
entitySemanticRelationFunction2 GIAentityNode* entity semantic relation function 2
entitySemanticRelationFunction3 GIAentityNode* entity semantic relation function 3
sameReferenceSet bool same reference set
semanticRelationReturnConnectionDynamic const bool semantic relation return connection dynamic

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationMultiwordAuxiliary()

Function Summary
namereturn typedescription
createSemanticRelationMultiwordAuxiliaryboolcreate semantic relation multiword auxiliary

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
sameReferenceSet bool same reference set

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationMultiwordPreposition()

Function Summary
namereturn typedescription
createSemanticRelationMultiwordPrepositionboolcreate semantic relation multiword preposition

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
sameReferenceSet bool same reference set

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationMultiwordNoun()

Function Summary
namereturn typedescription
createSemanticRelationMultiwordNounboolcreate semantic relation multiword noun

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
sameReferenceSet bool same reference set

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationMultiwordAlias()

Function Summary
namereturn typedescription
createSemanticRelationMultiwordAliasboolcreate semantic relation multiword alias

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
sameReferenceSet bool same reference set

Function Reference List


Function GIAposRelTranslatorParserOperationsClass::createSemanticRelationMultiwordDate()

Function Summary
namereturn typedescription
createSemanticRelationMultiwordDateboolcreate semantic relation multiword date

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
entitySemanticRelationFunctionListArray vector<GIAentityNode*>* entity semantic relation function list array
sameReferenceSet bool same reference set

Function Reference List


File SANIpropagateLightOptimised Documentation

File Name: SANIpropagateLightOptimised.cpp/.hpp

File Description: SANI propagate light optimised

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateLightOptimisedClass::executePosRelTranslatorNeuralNetwork()

Function Summary
namereturn typedescription
executePosRelTranslatorNeuralNetworkboolexecute pos rel translator neural network

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
sentenceContents constEffective vector<LRPpreprocessorPlainTextWord*>* sentence contents
topLevelParseTreeGroup SANIGroupParseTree** top level parse tree group
parseIsolatedSubreferenceSets const bool parse isolated subreference sets
parserEnabled const bool parser enabled
performance int* performance

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkIntro()

Function Summary
namereturn typedescription
propagateWordThroughNetworkIntroboolpropagate word through network intro

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
w int w
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordFirstParseTreeGroup SANIGroupParseTree* activation path word first parse tree group

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroupInit()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupInitboolpropagate word through network group init

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
w const int w
inputLayerGroup SANIGroupNeuralNetwork* input layer group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordFirstParseTreeGroup SANIGroupParseTree* activation path word first parse tree group

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroupIntro()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupIntroboolpropagate word through network group intro

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group SANIGroupNeuralNetwork* group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordFirstParseTreeGroup SANIGroupParseTree* activation path word first parse tree group

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroup()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupboolpropagate word through network group

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group SANIGroupNeuralNetwork* group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroupSelect()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupSelectboolpropagate word through network group select

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
preprocessSearchForNonResetActivations const bool preprocess search for non reset activations

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroupComponentWrapper()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupComponentWrapperboolpropagate word through network group component wrapper

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
currentComponent SANIComponentNeuralNetwork* current component
ownerGroup SANIGroupNeuralNetwork* owner group
ownerComponent SANIComponentNeuralNetwork* owner component
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
groupFrontComponentConnectionListIndex const int group front component connection list index
measureSequentialActivationOnly const bool measure sequential activation only
sequentialActivationFound bool* sequential activation found
existingActivationFoundStartComponent bool* existing activation found start component
resetUnallowed bool* reset unallowed
debug const SANIposRelTranslatorDebug* debug

Function Reference List


Function SANIpropagateLightOptimisedClass::propagateWordThroughNetworkGroupComponent()

Function Summary
namereturn typedescription
propagateWordThroughNetworkGroupComponentboolpropagate word through network group component

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
group const SANIGroupNeuralNetwork* group
currentComponent SANIComponentNeuralNetwork* current component
ownerGroup SANIGroupNeuralNetwork* owner group
ownerComponent SANIComponentNeuralNetwork* owner component
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool activation sequence completed
layer int layer
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
groupFrontComponentConnectionListIndex const int group front component connection list index
existingActivationFoundStartComponent const bool existing activation found start component
debug const SANIposRelTranslatorDebug* debug

Function Reference List


Function SANIpropagateLightOptimisedClass::solidifyNeuralNetBackpropGroupLastComponent()

Function Summary
namereturn typedescription
solidifyNeuralNetBackpropGroupLastComponentboolsolidify neural net backprop group last component

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentParseTreeGroup SANIGroupParseTree* current parse tree group
level int level

Function Reference List


Function SANIpropagateLightOptimisedClass::componentTests2()

Function Summary
namereturn typedescription
componentTests2boolcomponent tests 2

Function Arguments
nametypedescription
groupconst SANIGroupNeuralNetwork* group
currentParseTreeGroup const SANIGroupParseTree* current parse tree group
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
activationSequenceCompleted const bool activation sequence completed

Function Reference List


Function SANIpropagateLightOptimisedClass::resetAllowed()

Function Summary
namereturn typedescription
resetAllowedboolreset allowed

Function Arguments
nametypedescription
ownerGroupconstEffective SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
forwardPropogationSignalData const SANIForwardPropogationSignalData* forward propogation signal data
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
existingActivationFoundStartComponent const bool existing activation found start component
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data
firstActiveComponentInGroup const bool first active component in group
ownerComponent const SANIComponentNeuralNetwork* owner component

Function Reference List


Function SANIpropagateLightOptimisedClass::existingActivatedComponentCapturesLastWordInSentence()

Function Summary
namereturn typedescription
existingActivatedComponentCapturesLastWordInSentenceboolexisting activated component captures last word in sentence

Function Arguments
nametypedescription
prospectiveNewlyActiveComponentInParseTreeParseTreeGroupRefconst SANIGroupParseTree* prospective newly active component in parse tree parse tree group ref
lastActiveComponentInParseTreeParseTreeGroupRef const SANIGroupParseTree* last active component in parse tree parse tree group ref
lastActiveComponentInParseTree const SANIComponentParseTree* last active component in parse tree
forwardPropogationWordData const SANIForwardPropogationWordData* forward propogation word data
existingActivationFoundStartComponent const bool existing activation found start component
forwardPropogationSentenceData const SANIForwardPropogationSentenceData* forward propogation sentence data

Function Reference List


Function SANIpropagateLightOptimisedClass::verifyNewActivationParseTreeContainsExistingActivationWordsInParseTree()

Function Summary
namereturn typedescription
verifyNewActivationParseTreeContainsExistingActivationWordsInParseTreeboolverify new activation parse tree contains existing activation words in parse tree

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
ownerGroup SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data
existingActivationFoundStartComponent const bool existing activation found start component

Function Reference List


Function SANIpropagateLightOptimisedClass::getWordIndicesInParseTree()

Function Summary
namereturn typedescription
getWordIndicesInParseTreeboolget word indices in parse tree

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
wordIndexList vector<int>* word index list
level const int level

Function Reference List


Function SANIpropagateLightOptimisedClass::existingActivationVerifyMaxNumberWordsInParseTree()

Function Summary
namereturn typedescription
existingActivationVerifyMaxNumberWordsInParseTreeboolexisting activation verify max number words in parse tree

Function Arguments
nametypedescription
ownerGroupconst SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup SANIGroupParseTree* activation path word current parse tree group
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer const int layer
existingActivationFoundStartComponent const bool existing activation found start component

Function Reference List


Function SANIpropagateLightOptimisedClass::countNumberWordsInParseTree()

Function Summary
namereturn typedescription
countNumberWordsInParseTreeintcount number words in parse tree

Function Arguments
nametypedescription
currentParseTreeGroupSANIGroupParseTree* current parse tree group
forwardPropogationSentenceData SANIForwardPropogationSentenceData* forward propogation sentence data
layer const int layer

Function Reference List
N/A


Function SANIpropagateLightOptimisedClass::verifyOwnerParseTreeGroupDoesntContainNewActivationComponentParseTree()

Function Summary
namereturn typedescription
verifyOwnerParseTreeGroupDoesntContainNewActivationComponentParseTreeboolverify owner parse tree group doesnt contain new activation component parse tree

Function Arguments
nametypedescription
ownerGroupconst SANIGroupNeuralNetwork* owner group
activationPathWordCurrentParseTreeGroup const SANIGroupParseTree* activation path word current parse tree group
layer const int layer

Function Reference List


Function SANIpropagateLightOptimisedClass::parseTreeContainsGroup()

Function Summary
namereturn typedescription
parseTreeContainsGroupboolparse tree contains group

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
parseTreeGroupToFind const SANIGroupParseTree* parse tree group to find
level const int level

Function Reference List


Function SANIpropagateLightOptimisedClass::printBackpropParseTree()

Function Summary
namereturn typedescription
printBackpropParseTreeboolprint backprop parse tree

Function Arguments
nametypedescription
groupSANIGroupParseTree* group
level const int level

Function Reference List


Function SANIpropagateLightOptimisedClass::demarkateOptimumPathwayBackprop()

Function Summary
namereturn typedescription
demarkateOptimumPathwayBackpropbooldemarkate optimum pathway backprop

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group

Function Reference List


Function SANIpropagateLightOptimisedClass::isWordInGroupOptimumPathwayWordList()

Function Summary
namereturn typedescription
isWordInGroupOptimumPathwayWordListboolis word in group optimum pathway word list

Function Arguments
nametypedescription
forwardPropogationSentenceDataconst SANIForwardPropogationSentenceData* forward propogation sentence data
currentComponent SANIComponentNeuralNetwork* current component
forwardPropogationWordData SANIForwardPropogationWordData* forward propogation word data

Function Reference List
N/A


File SANIparser Documentation

File Name: SANIparser.cpp/.hpp

File Description: SANI parser

File Function List


File Diagram (functions hierarchy)


Function SANIparserClass::generateSemanticRelationsFromTxtRelationsWrapperNeuralNetwork()

Function Summary
namereturn typedescription
generateSemanticRelationsFromTxtRelationsWrapperNeuralNetworkboolgenerate semantic relations from txt relations wrapper neural network

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
firstParseTreeGroup SANIGroupParseTree* first parse tree group
forwardPropogationSignalData SANIForwardPropogationSignalData* forward propogation signal data
layer int layer

Function Reference List


Function SANIparserClass::generateSemanticRelationsFromTxtRelationsNeuralNetwork()

Function Summary
namereturn typedescription
generateSemanticRelationsFromTxtRelationsNeuralNetworkboolgenerate semantic relations from txt relations neural network

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables
currentParseTreeGroup SANIGroupParseTree* current parse tree group
parserForwardPropogationSignalData GIAposRelTranslatorParserForwardPropogationSignalData* parser forward propogation signal data
layer int layer

Function Reference List


File SANIpropagateInverse Documentation

File Name: SANIpropagateInverse.cpp/.hpp

File Description: SANI propagate inverse

File Function List


File Diagram (functions hierarchy)


Function SANIpropagateInverseClass::executePosRelTranslatorNeuralNetworkInverse()

Function Summary
namereturn typedescription
executePosRelTranslatorNeuralNetworkInverseboolexecute pos rel translator neural network inverse

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
SANIGroupTypes vector<SANIGroupType*>* SANIG roup types
sentenceContents vector<LRPpreprocessorPlainTextWord*>* sentence contents
firstParseTreeGroup SANIGroupParseTree* first parse tree group
performance int* performance
parseIsolatedSubreferenceSets const bool parse isolated subreference sets

Function Reference List


Function SANIpropagateInverseClass::generateParseTreeGroupType()

Function Summary
namereturn typedescription
generateParseTreeGroupTypeboolgenerate parse tree group type

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
groupType const SANIGroupType* group type
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
currentParseTreeGroup SANIGroupParseTree* current parse tree group
performance int* performance
layer int layer
previousGroupType const string previous group type
numberOfConsecutiveTimesPreviousGroupType int number of consecutive times previous group type
previousParseTreeComponent SANIComponentParseTree* previous parse tree component

Function Reference List


Function SANIpropagateInverseClass::generateParseTreeGroup()

Function Summary
namereturn typedescription
generateParseTreeGroupboolgenerate parse tree group

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
group SANIGroupNeuralNetwork* group
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
currentParseTreeGroup SANIGroupParseTree* current parse tree group
performance int* performance
layer int layer
previousGroupType const string previous group type
numberOfConsecutiveTimesPreviousGroupType int number of consecutive times previous group type

Function Reference List


Function SANIpropagateInverseClass::generateRulesGroupTreeComponents()

Function Summary
namereturn typedescription
generateRulesGroupTreeComponentsboolgenerate rules group tree components

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
components vector<SANIComponentNeuralNetwork*>* components
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
currentParseTreeGroup SANIGroupParseTree* current parse tree group
performance int* performance
subcomponents const bool subcomponents
subcomponentsType const int subcomponents type
subcomponentsOptional const bool subcomponents optional
layer int layer
previousGroupType const string previous group type
numberOfConsecutiveTimesPreviousGroupType int number of consecutive times previous group type

Function Reference List


Function SANIpropagateInverseClass::generateRulesGroupTreeComponent()

Function Summary
namereturn typedescription
generateRulesGroupTreeComponentboolgenerate rules group tree component

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
component SANIComponentNeuralNetwork* component
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
currentParseTreeComponent SANIComponentParseTree* current parse tree component
performance int* performance
layer int layer
previousGroupType const string previous group type
numberOfConsecutiveTimesPreviousGroupType int number of consecutive times previous group type

Function Reference List


Function SANIpropagateInverseClass::forwardNounVerbVariantRequirementsComponentToGroup()

Function Summary
namereturn typedescription
forwardNounVerbVariantRequirementsComponentToGroupboolforward noun verb variant requirements component to group

Function Arguments
nametypedescription
componentSANIComponentParseTree* component
newParseGroup SANIGroupParseTree* new parse group

Function Reference List
N/A


Function SANIpropagateInverseClass::forwardNounVerbVariantRequirementsGroupToComponent()

Function Summary
namereturn typedescription
forwardNounVerbVariantRequirementsGroupToComponentboolforward noun verb variant requirements group to component

Function Arguments
nametypedescription
currentParseGroupSANIGroupParseTree* current parse group
currentComponent SANIComponentParseTree* current component

Function Reference List
N/A


Function SANIpropagateInverseClass::findStringMatch()

Function Summary
namereturn typedescription
findStringMatchboolfind string match

Function Arguments
nametypedescription
SANIrulesTokenLayersvector<XMLparserTag*>* SANI rules token layers
component SANIComponentNeuralNetwork* component
currentWord LRPpreprocessorPlainTextWord* current word
currentParseTreeComponent SANIComponentParseTree* current parse tree component

Function Reference List


Function SANIpropagateInverseClass::verifyPOStype()

Function Summary
namereturn typedescription
verifyPOStypeboolverify POS type

Function Arguments
nametypedescription
currentWordconst LRPpreprocessorPlainTextWord* current word
wordPOStype const uchar word POS type

Function Reference List


Function SANIpropagateInverseClass::updatePerformance()

Function Summary
namereturn typedescription
updatePerformanceboolupdate performance

Function Arguments
nametypedescription
performanceTempint performance temp
performance int* performance
currentParseTreeGroup SANIGroupParseTree* current parse tree group
currentParseTreeGroupTemp SANIGroupParseTree* current parse tree group temp
passedTemp const bool passed temp
minIndexOfMatchesFoundBackupOptimum int* min index of matches found backup optimum
sentenceContentsSubset vector<LRPpreprocessorPlainTextWord*>* sentence contents subset
minIndexOfMatchesFoundBackup const int min index of matches found backup
previousParseTreeComponent SANIComponentParseTree* previous parse tree component

Function Reference List


Function SANIpropagateInverseClass::deleteAllSubgroupsRecurse()

Function Summary
namereturn typedescription
deleteAllSubgroupsRecursebooldelete all subgroups recurse

Function Arguments
nametypedescription
currentParseTreeGroupconst SANIGroupParseTree* current parse tree group
layer int layer

Function Reference List


Function SANIpropagateInverseClass::deleteParseComponent()

Function Summary
namereturn typedescription
deleteParseComponentbooldelete parse component

Function Arguments
nametypedescription
currentParseTreeComponentconst SANIComponentParseTree* current parse tree component

Function Reference List


Function SANIpropagateInverseClass::clearAllWordsAlreadyFoundMatchInComponent()

Function Summary
namereturn typedescription
clearAllWordsAlreadyFoundMatchInComponentvoidclear all words already found match in component

Function Arguments
nametypedescription
sentenceContentsSubsetvector<LRPpreprocessorPlainTextWord*>* sentence contents subset
minIndexOfMatchesFoundBackup const int min index of matches found backup

Function Reference List
N/A


Function SANIpropagateInverseClass::restoreAllWordsAlreadyFoundMatchInComponent()

Function Summary
namereturn typedescription
restoreAllWordsAlreadyFoundMatchInComponentvoidrestore all words already found match in component

Function Arguments
nametypedescription
sentenceContentsSubsetvector<LRPpreprocessorPlainTextWord*>* sentence contents subset
minIndexOfMatchesFoundNew const int min index of matches found new

Function Reference List
N/A


File SANIneuralNetworkOperations Documentation

File Name: SANIneuralNetworkOperations.cpp/.hpp

File Description: SANI neural network operations

File Function List


File Diagram (functions hierarchy)


Function SANIneuralNetworkOperationsClass::writeNeuralNetXMLfile()

Function Summary
namereturn typedescription
writeNeuralNetXMLfileboolwrite neural net XML file

Function Arguments
nametypedescription
xmlFileNamestring xml file name
firstInputNeuronInNetwork ANNneuron* first input neuron in network

Function Reference List
N/A


Function SANIneuralNetworkOperationsClass::initialiseIncrementalGeneration()

Function Summary
namereturn typedescription
initialiseIncrementalGenerationvoidinitialise incremental generation

Function Reference List
N/A


Function SANIneuralNetworkOperationsClass::generateNeuralNetFromSANInet()

Function Summary
namereturn typedescription
generateNeuralNetFromSANInetboolgenerate neural net from SANI net

Function Arguments
nametypedescription
translatorVariablesANNtranslatorVariablesClass* translator variables

Function Reference List


Function SANIneuralNetworkOperationsClass::determinePositonsOfInputNeurons()

Function Summary
namereturn typedescription
determinePositonsOfInputNeuronsbooldetermine positons of input neurons

Function Arguments
nametypedescription
idBaseint64_t* id base
firstOutputNeuronInNetworkPre ANNneuron** first output neuron in network pre

Function Reference List


Function SANIneuralNetworkOperationsClass::determinePositonsOfNeurons()

Function Summary
namereturn typedescription
determinePositonsOfNeuronsbooldetermine positons of neurons

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types
idBase int64_t* id base
firstOutputNeuronInNetworkPre ANNneuron* first output neuron in network pre
firstOutputNeuronInNetworkPost ANNneuron** first output neuron in network post

Function Reference List
N/A


Function SANIneuralNetworkOperationsClass::determinePositonsOfNeuronsReset()

Function Summary
namereturn typedescription
determinePositonsOfNeuronsResetbooldetermine positons of neurons reset

Function Arguments
nametypedescription
SANIGroupTypesvector<SANIGroupType*>* SANIG roup types

Function Reference List
N/A


File GIAdraw Documentation

File Name: GIAdraw.cpp/.hpp

File Description: GIA draw

File Function List


File Diagram (functions hierarchy)


Class GIAdrawVariables

Class Data
nametypedescription
svgTinySpecboolsvg tiny spec
printType[3]boolprint type [3]
maxNumberSentencesintmax number sentences
sentenceToPrintintsentence to print
entityReferenceGIAentityNode*entity reference

Function GIAdrawClass::printGIAnetworkNodes()

Function Summary
namereturn typedescription
printGIAnetworkNodesboolprint GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
width int width
height int height
outputFileNameLDR string output file name LDR
outputFileNameSVG string output file name SVG
outputFileNamePPM string output file name PPM
display const bool display
useOutputLDRfile const bool use output LDR file
useOutputSVGfile const bool use output SVG file
useOutputPPMfile const bool use output PPM file

Function Reference List


Function GIAdrawClass::determineBasicPrintPositionsOfAllNodes()

Function Summary
namereturn typedescription
determineBasicPrintPositionsOfAllNodesbooldetermine basic print positions of all nodes

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
drawVariables GIAdrawVariables* draw variables
firstReferenceInPrintList LDreference* first reference in print list
firstTagInSVGFile XMLparserTag* first tag in SVGF ile

Function Reference List


Function GIAdrawClass::initiateMaxXAtParticularY()

Function Summary
namereturn typedescription
initiateMaxXAtParticularYvoidinitiate max XA t particular Y

Function Reference List
N/A


Function GIAdrawClass::initialiseEntityConnectionForPrinting()

Function Summary
namereturn typedescription
initialiseEntityConnectionForPrintingboolinitialise entity connection for printing

Function Arguments
nametypedescription
pos1vec* pos 1
entityConnection GIAentityConnection* entity connection
drawVariables GIAdrawVariables* draw variables
connectionName string connection name
entityConnectionColour int entity connection colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag

Function Reference List


Function GIAdrawClass::initialiseEntityNodeForPrinting()

Function Summary
namereturn typedescription
initialiseEntityNodeForPrintingboolinitialise entity node for printing

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
y int y
x int x
drawVariables GIAdrawVariables* draw variables
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
sentenceIndex const int sentence index
thisIsDefinitionAndPreviousNodeWasInstance bool this is definition and previous node was instance

Function Reference List


Function GIAdrawClass::initialiseTimeConditionNodeForPrinting()

Function Summary
namereturn typedescription
initialiseTimeConditionNodeForPrintingboolinitialise time condition node for printing

Function Arguments
nametypedescription
timeConditionNodeGIAtimeConditionNode* time condition node
y const int y
x const int x
drawVariables GIAdrawVariables* draw variables
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag

Function Reference List


Function GIAdrawClass::createReferenceConnectionWithText()

Function Summary
namereturn typedescription
createReferenceConnectionWithTextboolcreate reference connection with text

Function Arguments
nametypedescription
pos1vec* pos 1
pos2 vec* pos 2
colour int colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
connectionTypeName string connection type name
drawVariables GIAdrawVariables* draw variables

Function Reference List


Function GIAdrawClass::createReferenceConnection()

Function Summary
namereturn typedescription
createReferenceConnectionboolcreate reference connection

Function Arguments
nametypedescription
pos1vec* pos 1
pos2 vec* pos 2
colour int colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
drawVariables const GIAdrawVariables* draw variables

Function Reference List


Function GIAdrawClass::createBox()

Function Summary
namereturn typedescription
createBoxboolcreate box

Function Arguments
nametypedescription
vectconst vec* vect
width double width
height double height
colour int colour
text string* text
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
thickness int thickness
drawVariables GIAdrawVariables* draw variables

Function Reference List


File LDreferenceClass Documentation

File Name: LDreferenceClass.cpp/.hpp

File Description: LD reference class

File Function List


File Diagram (functions hierarchy)


Class LDreference

Class Data
nametypedescription
relativePositionvecrelative position
absolutePositionvecabsolute position
deformationMatrixmatdeformation matrix
absoluteDeformationMatrixmatabsolute deformation matrix
colouruint32_tcolour
namestringname
nextLDreference*next
vertex1relativePositionvecvertex 1relative position
vertex2relativePositionvecvertex 2relative position
vertex3relativePositionvecvertex 3relative position
vertex4relativePositionvecvertex 4relative position
vertex1absolutePositionvecvertex 1absolute position
vertex2absolutePositionvecvertex 2absolute position
vertex3absolutePositionvecvertex 3absolute position
vertex4absolutePositionvecvertex 4absolute position
relativeColourStringstringrelative colour string
isTopLevelboolis top level
intermediatePositionvecintermediate position
intermediateDeformationMatrixmatintermediate deformation matrix
vertex1intermediatePositionvecvertex 1intermediate position
vertex2intermediatePositionvecvertex 2intermediate position
vertex3intermediatePositionvecvertex 3intermediate position
vertex4intermediatePositionvecvertex 4intermediate position
partAdditionalboolpart additional
partModifiedboolpart modified
partDeletedboolpart deleted
vertex1absolutePositionBackupvecvertex 1absolute position backup
vertex2absolutePositionBackupvecvertex 2absolute position backup
vertex3absolutePositionBackupvecvertex 3absolute position backup
vertex4absolutePositionBackupvecvertex 4absolute position backup
referenceEnabledMethod2DODboolreference enabled method 2DOD
typeinttype
absoluteColouruint32_tabsolute colour
isSubModelReferenceboolis sub model reference
subModelDetailsModelDetails*sub model details
firstReferenceWithinSubModelLDreference*first reference within sub model

Function LDreferenceClassClass::convertLdrawColourToDatFileRGB()

Function Summary
namereturn typedescription
convertLdrawColourToDatFileRGBvoidconvert ldraw colour to dat file RGB

Function Arguments
nametypedescription
dataFileColourconst int data file colour
col colour* col

Function Reference List
N/A


File LDsvg Documentation

File Name: LDsvg.cpp/.hpp

File Description: LD svg

File Function List


File Diagram (functions hierarchy)


Function LDsvgClass::writeSVGfile()

Function Summary
namereturn typedescription
writeSVGfileboolwrite SVG file

Function Arguments
nametypedescription
writeFileStringstring* write file string
firstTagInXMLfile const XMLparserTag* first tag in XML file
viewBoxMinX const int view box min X
viewBoxMaxX const int view box max X
viewBoxMinY const int view box min Y
viewBoxMaxY const int view box max Y

Function Reference List


Function LDsvgClass::writeSVGheader()

Function Summary
namereturn typedescription
writeSVGheadervoidwrite SVG header

Function Arguments
nametypedescription
writeFileStringstring* write file string
viewBoxMinX const int view box min X
viewBoxMaxX const int view box max X
viewBoxMinY const int view box min Y
viewBoxMaxY const int view box max Y

Function Reference List


Function LDsvgClass::writeSVGfooter()

Function Summary
namereturn typedescription
writeSVGfootervoidwrite SVG footer

Function Arguments
nametypedescription
writeFileStringstring* write file string

Function Reference List
N/A


Function LDsvgClass::writeSVGbox()

Function Summary
namereturn typedescription
writeSVGboxvoidwrite SVG box

Function Arguments
nametypedescription
currentTagXMLparserTag** current tag
pos const vec* pos
width const double width
height const double height
col const int col
boxOutlineWidth const double box outline width
useEllipse const bool use ellipse

Function Reference List


Function LDsvgClass::writeSVGbox2()

Function Summary
namereturn typedescription
writeSVGbox2voidwrite SVG box 2

Function Arguments
nametypedescription
currentTagXMLparserTag** current tag
pos const vec* pos
width const double width
height const double height
col const int col
boxOutlineWidth const double box outline width
useEllipse const bool use ellipse
transparent bool transparent
fillOpacity const double fill opacity

Function Reference List


Function LDsvgClass::writeSVGbox3()

Function Summary
namereturn typedescription
writeSVGbox3voidwrite SVG box 3

Function Arguments
nametypedescription
currentTagXMLparserTag** current tag
pos const vec* pos
width const double width
height const double height
colourrgb const colour colourrgb
boxOutlineWidth const double box outline width
useEllipse const bool use ellipse
transparent bool transparent
fillOpacity const double fill opacity

Function Reference List


Function LDsvgClass::writeSVGline()

Function Summary
namereturn typedescription
writeSVGlinevoidwrite SVG line

Function Arguments
nametypedescription
currentTagXMLparserTag** current tag
pos1 const vec* pos 1
pos2 const vec* pos 2
colourrgb const colour colourrgb

Function Reference List


Function LDsvgClass::writeSVGtext()

Function Summary
namereturn typedescription
writeSVGtextvoidwrite SVG text

Function Arguments
nametypedescription
currentTagXMLparserTag** current tag
text const string text
pos const vec* pos
fontSize const int font size
col const int col
svgTinySpec bool svg tiny spec

Function Reference List


File LDopengl Documentation

File Name: LDopengl.cpp/.hpp

File Description: LD opengl

File Function List


File Diagram (functions hierarchy)


Function LDopenglClass::initiateOpenGL()

Function Summary
namereturn typedescription
initiateOpenGLboolinitiate open GL

Function Arguments
nametypedescription
widthconst int width
height const int height
windowPositionX const int window position X
windowPositionY const int window position Y
confidentialWarnings const bool confidential warnings

Function Reference List
N/A


Function LDopenglClass::exitOpenGL()

Function Summary
namereturn typedescription
exitOpenGLboolexit open GL

Function Reference List
N/A


Function LDopenglClass::setViewPort3Dortho()

Function Summary
namereturn typedescription
setViewPort3Dorthovoidset view port 3D ortho

Function Arguments
nametypedescription
leftconst double left
right const double right
bottom const double bottom
top const double top
back const double back
forward const double forward

Function Reference List
N/A


Function LDopenglClass::drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic()

Function Summary
namereturn typedescription
drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasicvoiddraw primitives reference list to open GL and create RGB map basic

Function Arguments
nametypedescription
firstReferenceInPrimitivesReferenceListconst LDreference* first reference in primitives reference list
width int width
height const int height
rgbMap uchar* rgb map

Function Reference List


Function LDopenglClass::writeScreenToRGBMap()

Function Summary
namereturn typedescription
writeScreenToRGBMapvoidwrite screen to RGBM ap

Function Arguments
nametypedescription
widthint width
height const int height
rgbMap uchar* rgb map

Function Reference List
N/A


File LDparser Documentation

File Name: LDparser.cpp/.hpp

File Description: LD parser

File Function List


File Diagram (functions hierarchy)


Function LDparserClass::parseFile()

Function Summary
namereturn typedescription
parseFileboolparse file

Function Arguments
nametypedescription
parseFileNamestring parse file name
initialReference LDreference* initial reference
parentReference LDreference* parent reference
recurseIntoPartsDir const bool recurse into parts dir

Function Reference List


Function LDparserClass::calcModXPosBasedUponRotate()

Function Summary
namereturn typedescription
calcModXPosBasedUponRotatedoublecalc mod XP os based upon rotate

Function Arguments
nametypedescription
childRelativePositionconst vec* child relative position
parentReferenceDeformationMatrix const mat* parent reference deformation matrix

Function Reference List
N/A


Function LDparserClass::calcModYPosBasedUponRotate()

Function Summary
namereturn typedescription
calcModYPosBasedUponRotatedoublecalc mod YP os based upon rotate

Function Arguments
nametypedescription
childRelativePositionconst vec* child relative position
parentReferenceDeformationMatrix const mat* parent reference deformation matrix

Function Reference List
N/A


Function LDparserClass::calcModZPosBasedUponRotate()

Function Summary
namereturn typedescription
calcModZPosBasedUponRotatedoublecalc mod ZP os based upon rotate

Function Arguments
nametypedescription
childRelativePositionconst vec* child relative position
parentReferenceDeformationMatrix const mat* parent reference deformation matrix

Function Reference List
N/A


Function LDparserClass::removeWhiteSpaceFromString()

Function Summary
namereturn typedescription
removeWhiteSpaceFromStringstringremove white space from string

Function Arguments
nametypedescription
sconst string s

Function Reference List
N/A


File SHAREDvector Documentation

File Name: SHAREDvector.cpp/.hpp

File Description: SHARED vector

File Function List


File Diagram (functions hierarchy)


Function SHAREDvectorClass::copyVectors()

Function Summary
namereturn typedescription
copyVectorsvoidcopy vectors

Function Arguments
nametypedescription
vecNewvec* vec new
vecToCopy const vec* vec to copy

Function Reference List
N/A


Function SHAREDvectorClass::copyMatricies()

Function Summary
namereturn typedescription
copyMatriciesvoidcopy matricies

Function Arguments
nametypedescription
matNewmat* mat new
matToCopy const mat* mat to copy

Function Reference List


Function SHAREDvectorClass::multiplyMatricies()

Function Summary
namereturn typedescription
multiplyMatriciesvoidmultiply matricies

Function Arguments
nametypedescription
matNewmat* mat new
mat1 mat* mat 1
mat2 mat* mat 2

Function Reference List
N/A


Function SHAREDvectorClass::addVectors()

Function Summary
namereturn typedescription
addVectorsvoidadd vectors

Function Arguments
nametypedescription
vecNewvec* vec new
a vec* a
b vec* b

Function Reference List
N/A


Function SHAREDvectorClass::createIdentityMatrix()

Function Summary
namereturn typedescription
createIdentityMatrixvoidcreate identity matrix

Function Arguments
nametypedescription
matrixmat* matrix

Function Reference List
N/A


Function SHAREDvectorClass::copyMatrixTwoIntoMatrixOne()

Function Summary
namereturn typedescription
copyMatrixTwoIntoMatrixOnevoidcopy matrix two into matrix one

Function Arguments
nametypedescription
mat1mat* mat 1
mat2 mat* mat 2

Function Reference List
N/A


Function SHAREDvectorClass::scaleMatrix()

Function Summary
namereturn typedescription
scaleMatrixvoidscale matrix

Function Arguments
nametypedescription
matrixmat* matrix
scaleFactor double scale factor

Function Reference List
N/A


File LDsprite Documentation

File Name: LDsprite.cpp/.hpp

File Description: LD sprite

File Function List


File Diagram (functions hierarchy)


Function LDspriteClass::fillInLDspriteExternVariables()

Function Summary
namereturn typedescription
fillInLDspriteExternVariablesvoidfill in LD sprite extern variables

Function Reference List
N/A


Function LDspriteClass::LDaddBasicTextualSpriteStringToReferenceList()

Function Summary
namereturn typedescription
LDaddBasicTextualSpriteStringToReferenceListLDreference*LD add basic textual sprite string to reference list

Function Arguments
nametypedescription
spriteTextStringstring sprite text string
currentReference LDreference* current reference
position vec* position
numSpritesAdded int* num sprites added
addIndividualSprites const bool add individual sprites
colour int colour
scale double scale

Function Reference List


Function LDspriteClass::LDspriteSubmodelFillTextualReference()

Function Summary
namereturn typedescription
LDspriteSubmodelFillTextualReferencevoidLD sprite submodel fill textual reference

Function Arguments
nametypedescription
spriteSubmodelCurrentReferenceLDreference* sprite submodel current reference
spriteParagraphCurrentPosition vec* sprite paragraph current position
characterToWrite const char character to write
spriteColour int sprite colour
scale double scale

Function Reference List


File LDreferenceManipulation Documentation

File Name: LDreferenceManipulation.cpp/.hpp

File Description: LD reference manipulation

File Function List


File Diagram (functions hierarchy)


Function LDreferenceManipulationClass::copyReferences()

Function Summary
namereturn typedescription
copyReferencesvoidcopy references

Function Arguments
nametypedescription
referenceNewLDreference* reference new
referenceToCopy LDreference* reference to copy
type const int type

Function Reference List


Function LDreferenceManipulationClass::convertPositionCoordinatesToString()

Function Summary
namereturn typedescription
convertPositionCoordinatesToStringstringconvert position coordinates to string

Function Arguments
nametypedescription
spriteSceneCoordsconst vec* sprite scene coords

Function Reference List


Function LDreferenceManipulationClass::writeReferencesToFile()

Function Summary
namereturn typedescription
writeReferencesToFileboolwrite references to file

Function Arguments
nametypedescription
fileNameconst string file name
firstReference LDreference* first reference

Function Reference List


Function LDreferenceManipulationClass::addReferenceToFileObject()

Function Summary
namereturn typedescription
addReferenceToFileObjectbooladd reference to file object

Function Arguments
nametypedescription
writeFileObjectofstream* write file object
currentReference LDreference* current reference

Function Reference List


Function LDreferenceManipulationClass::convertRotationMatrixToString()

Function Summary
namereturn typedescription
convertRotationMatrixToStringstringconvert rotation matrix to string

Function Arguments
nametypedescription
rotationMatrixconst mat* rotation matrix

Function Reference List


Function LDreferenceManipulationClass::write2DreferenceListCollapsedTo1DtoFile()

Function Summary
namereturn typedescription
write2DreferenceListCollapsedTo1DtoFileboolwrite 2D reference list collapsed to 1D to file

Function Arguments
nametypedescription
fileNameconst string file name
firstReference LDreference* first reference

Function Reference List


Function LDreferenceManipulationClass::write2DreferencesLayerToFileObject()

Function Summary
namereturn typedescription
write2DreferencesLayerToFileObjectboolwrite 2D references layer to file object

Function Arguments
nametypedescription
writeFileObjectofstream* write file object
firstReferenceInLayer LDreference* first reference in layer

Function Reference List


File RTpixelMaps Documentation

File Name: RTpixelMaps.cpp/.hpp

File Description: RT pixel maps

File Function List


File Diagram (functions hierarchy)


Function RTpixelMapsClass::getRGBMapValues()

Function Summary
namereturn typedescription
getRGBMapValuesvoidget RGBM ap values

Function Arguments
nametypedescription
xint x
y int y
imageWidth int image width
rgbMap uchar* rgb map
col colour* col

Function Reference List
N/A


Function RTpixelMapsClass::generatePixmapFromRGBmap()

Function Summary
namereturn typedescription
generatePixmapFromRGBmapvoidgenerate pixmap from RGB map

Function Arguments
nametypedescription
imageFileNameconst string image file name
imageWidth int image width
imageHeight const int image height
rgbMap uchar* rgb map

Function Reference List


Function RTpixelMapsClass::writeImage()

Function Summary
namereturn typedescription
writeImagevoidwrite image

Function Arguments
nametypedescription
imageFileNameconst string image file name
pm pixmap* pm

Function Reference List


File RTppm Documentation

File Name: RTppm.cpp/.hpp

File Description: RT ppm

File Function List


File Diagram (functions hierarchy)


Function RTppmClass::placepointPPM()

Function Summary
namereturn typedescription
placepointPPMvoidplacepoint PPM

Function Arguments
nametypedescription
pmpixmap* pm
x const int x
y const int y
r int r
g int g
b int b

Function Reference List
N/A


Function RTppmClass::newPixmap()

Function Summary
namereturn typedescription
newPixmappixmap*new pixmap

Function Arguments
nametypedescription
wideconst int wide
high const int high

Function Reference List
N/A


Function RTppmClass::writePPM()

Function Summary
namereturn typedescription
writePPMvoidwrite PPM

Function Arguments
nametypedescription
fnameconst string fname
pm const pixmap* pm

Function Reference List
N/A


Function RTppmClass::freePixmap()

Function Summary
namereturn typedescription
freePixmapvoidfree pixmap

Function Arguments
nametypedescription
pmpixmap* pm

Function Reference List
N/A


File GIAxmlConversion Documentation

File Name: GIAxmlConversion.cpp/.hpp

File Description: GIA xml conversion

File Function List


File Diagram (functions hierarchy)


Function GIAxmlConversionClass::writeSemanticNetXMLFileOptimised()

Function Summary
namereturn typedescription
writeSemanticNetXMLFileOptimisedboolwrite semantic net XMLF ile optimised

Function Arguments
nametypedescription
xmlFileNamestring xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
networkIndexEntityNodesListMap unordered_map<string,GIAentityNode*>* network index entity nodes list map

Function Reference List


Function GIAxmlConversionClass::writeSemanticNetXMLFile()

Function Summary
namereturn typedescription
writeSemanticNetXMLFileboolwrite semantic net XMLF ile

Function Arguments
nametypedescription
xmlFileNamestring xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes const vector<GIAentityNode*>* entity nodes active list network indexes

Function Reference List


Function GIAxmlConversionClass::resetIDsForNodeList()

Function Summary
namereturn typedescription
resetIDsForNodeListvoidreset ID s for node list

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
currentEntityNodeIDinEntityNodesActiveCompleteList int64_t* current entity node ID in entity nodes active complete list
entityType const int entity type

Function Reference List
N/A


Function GIAxmlConversionClass::generateXMLentityNodeTagList()

Function Summary
namereturn typedescription
generateXMLentityNodeTagListboolgenerate XML entity node tag list

Function Arguments
nametypedescription
firstTagInSemanticNetXMLparserTag* first tag in semantic net
entityNodesList vector<GIAentityNode*>* entity nodes list
entityContainerTagName string entity container tag name
currentEntityNodeIDinEntityNodesActiveCompleteList int64_t* current entity node ID in entity nodes active complete list
entityType const int entity type

Function Reference List


Function GIAxmlConversionClass::generateXMLentityNodeTag()

Function Summary
namereturn typedescription
generateXMLentityNodeTagXMLparserTag*generate XML entity node tag

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
currentEntity GIAentityNode* current entity
currentEntityNodeIDinEntityNodesActiveCompleteList int64_t current entity node ID in entity nodes active complete list

Function Reference List


Function GIAxmlConversionClass::generateXMLconditionTimeNodeTagList()

Function Summary
namereturn typedescription
generateXMLconditionTimeNodeTagListboolgenerate XML condition time node tag list

Function Arguments
nametypedescription
firstTagInConditionTimeNodeXMLparserTag* first tag in condition time node
conditionTimeNode GIAtimeConditionNode* condition time node

Function Reference List


Function GIAxmlConversionClass::readSemanticNetXMLfileOptimised()

Function Summary
namereturn typedescription
readSemanticNetXMLfileOptimisedboolread semantic net XML file optimised

Function Arguments
nametypedescription
xmlFileNameconst string xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
networkIndexEntityNodesListMap unordered_map<string,GIAentityNode*>* network index entity nodes list map
entityNodesActiveListSentences map<int, vector<GIAentityNode*>*>* entity nodes active list sentences

Function Reference List


Function GIAxmlConversionClass::readSemanticNetXMLfile()

Function Summary
namereturn typedescription
readSemanticNetXMLfileboolread semantic net XML file

Function Arguments
nametypedescription
xmlFileNameconst string xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes constEffective vector<GIAentityNode*>* entity nodes active list network indexes

Function Reference List


Function GIAxmlConversionClass::parseSemanticNetTag()

Function Summary
namereturn typedescription
parseSemanticNetTagboolparse semantic net tag

Function Arguments
nametypedescription
firstTagInNetworkXMLparserTag* first tag in network
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes constEffective vector<GIAentityNode*>* entity nodes active list network indexes
linkConnections const bool link connections

Function Reference List


Function GIAxmlConversionClass::parseEntityNodeTag()

Function Summary
namereturn typedescription
parseEntityNodeTagboolparse entity node tag

Function Arguments
nametypedescription
firstTagInEntityNodeXMLparserTag* first tag in entity node
entityNode GIAentityNode* entity node
entityNodesActiveListComplete const vector<GIAentityNode*>* entity nodes active list complete
linkConnections const bool link connections

Function Reference List


Function GIAxmlConversionClass::parseSemanticEntityTypeNodeContainerTag()

Function Summary
namereturn typedescription
parseSemanticEntityTypeNodeContainerTagboolparse semantic entity type node container tag

Function Arguments
nametypedescription
currentTagUpdatedL2XMLparserTag* current tag updated L2
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListType vector<GIAentityNode*>* entity nodes active list type
linkConnections const bool link connections
currentEntityNodeIDinCompleteList int64_t* current entity node ID in complete list

Function Reference List


Function GIAxmlConversionClass::parseEntityVectorConnectionNodeListTag()

Function Summary
namereturn typedescription
parseEntityVectorConnectionNodeListTagboolparse entity vector connection node list tag

Function Arguments
nametypedescription
firstTagInEntityVectorConnectionNodeListconst XMLparserTag* first tag in entity vector connection node list
entityNode GIAentityNode* entity node
entityNodesActiveListComplete const vector<GIAentityNode*>* entity nodes active list complete
entityVectorConnectionIndex int entity vector connection index

Function Reference List


Function GIAxmlConversionClass::parseTimeConditionNodeTag()

Function Summary
namereturn typedescription
parseTimeConditionNodeTagboolparse time condition node tag

Function Arguments
nametypedescription
firstTagInTimeConditionNodeXMLparserTag* first tag in time condition node
timeConditionNode GIAtimeConditionNode* time condition node

Function Reference List


Function GIAxmlConversionClass::convertBooleanArrayToString()

Function Summary
namereturn typedescription
convertBooleanArrayToStringstringconvert boolean array to string

Function Arguments
nametypedescription
booleanArray[]const bool boolean array []
booleanArraySize const int boolean array size

Function Reference List


Function GIAxmlConversionClass::convertStringToBooleanArray()

Function Summary
namereturn typedescription
convertStringToBooleanArrayvoidconvert string to boolean array

Function Arguments
nametypedescription
strconst string str
booleanArray[] bool boolean array []
booleanArraySize const int boolean array size

Function Reference List


File GIAcxlConversion Documentation

File Name: GIAcxlConversion.cpp/.hpp

File Description: GIA cxl conversion

File Function List


File Diagram (functions hierarchy)


Function GIAcxlConversionClass::writeCmapToolsCXLFileOptimised()

Function Summary
namereturn typedescription
writeCmapToolsCXLFileOptimisedboolwrite cmap tools CXLF ile optimised

Function Arguments
nametypedescription
xmlFileNamestring xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
networkIndexEntityNodesListMap unordered_map<string,GIAentityNode*>* network index entity nodes list map

Function Reference List


Function GIAcxlConversionClass::writeCmapToolsCXLfile()

Function Summary
namereturn typedescription
writeCmapToolsCXLfileboolwrite cmap tools CXL file

Function Arguments
nametypedescription
xmlFileNamestring xml file name
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes const vector<GIAentityNode*>* entity nodes active list network indexes

Function Reference List


Function GIAcxlConversionClass::generateCXLentityNodeTagList()

Function Summary
namereturn typedescription
generateCXLentityNodeTagListboolgenerate CXL entity node tag list

Function Arguments
nametypedescription
firstTagInMapXMLparserTag* first tag in map
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes const vector<GIAentityNode*>* entity nodes active list network indexes
currentCmapNodeIDinCmapNodeList int64_t* current cmap node ID in cmap node list
networkIndexOrLinkingPhraseList bool network index or linking phrase list
appearanceList bool appearance list

Function Reference List


Function GIAcxlConversionClass::addToCXLentityNodeTagList()

Function Summary
namereturn typedescription
addToCXLentityNodeTagListXMLparserTag*add to CXL entity node tag list

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
entityNodesList vector<GIAentityNode*>* entity nodes list
currentCmapNodeIDinCmapNodeList int64_t* current cmap node ID in cmap node list
networkIndexOrLinkingPhraseList bool network index or linking phrase list
appearanceList bool appearance list
entityType const int entity type

Function Reference List


Function GIAcxlConversionClass::generateCXLentityNodeTag()

Function Summary
namereturn typedescription
generateCXLentityNodeTagXMLparserTag*generate CXL entity node tag

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
entityName string entity name
entityID int64_t entity ID
printX int print X
printY int print Y
networkIndexOrLinkingPhraseList const bool network index or linking phrase list
appearanceList const bool appearance list

Function Reference List


Function GIAcxlConversionClass::generateCXLconnectionNodeTagList()

Function Summary
namereturn typedescription
generateCXLconnectionNodeTagListboolgenerate CXL connection node tag list

Function Arguments
nametypedescription
firstTagInMapXMLparserTag* first tag in map
entityNodesActiveListComplete vector<GIAentityNode*>* entity nodes active list complete
entityNodesActiveListNetworkIndexes const vector<GIAentityNode*>* entity nodes active list network indexes
currentCmapNodeIDinCmapNodeList int64_t* current cmap node ID in cmap node list
firstTagInLinkingPhraseList XMLparserTag* first tag in linking phrase list
firstTagInLinkingPhraseAppearanceList XMLparserTag* first tag in linking phrase appearance list

Function Reference List


Function GIAcxlConversionClass::addToCXLconnectionNodeTagList()

Function Summary
namereturn typedescription
addToCXLconnectionNodeTagListXMLparserTag*add to CXL connection node tag list

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
entityNodesList vector<GIAentityNode*>* entity nodes list
currentCmapNodeIDinCmapNodeList int64_t* current cmap node ID in cmap node list
firstTagL1 const XMLparserTag* first tag L1
currentTagInLinkingPhraseList XMLparserTag** current tag in linking phrase list
currentTagInLinkingPhraseAppearanceList XMLparserTag** current tag in linking phrase appearance list
firstTagInConnectionsList XMLparserTag* first tag in connections list
entityType const int entity type

Function Reference List


Function GIAcxlConversionClass::generateCXLconnectionNodeTagAndLinkingPhraseTags()

Function Summary
namereturn typedescription
generateCXLconnectionNodeTagAndLinkingPhraseTagsXMLparserTag*generate CXL connection node tag and linking phrase tags

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
entity1 const GIAentityNode* entity 1
entity2 const GIAentityNode* entity 2
connectionTypeName string connection type name
currentCmapNodeIDinCmapNodeList int64_t* current cmap node ID in cmap node list
currentTagInLinkingPhraseList XMLparserTag** current tag in linking phrase list
currentTagInLinkingPhraseAppearanceList XMLparserTag** current tag in linking phrase appearance list
firstTagInConnectionsList const XMLparserTag* first tag in connections list
alreadyMadeLinkingPhrase const bool already made linking phrase

Function Reference List


Function GIAcxlConversionClass::generateCXLconnectionNodeTag()

Function Summary
namereturn typedescription
generateCXLconnectionNodeTagXMLparserTag*generate CXL connection node tag

Function Arguments
nametypedescription
currentTagL1XMLparserTag* current tag L1
fromID int64_t from ID
toID int64_t to ID

Function Reference List


Function GIAcxlConversionClass::checkIfPassedRedundantNetworkIndexNodeRemoval()

Function Summary
namereturn typedescription
checkIfPassedRedundantNetworkIndexNodeRemovalboolcheck if passed redundant network index node removal

Function Arguments
nametypedescription
currentEntityGIAentityNode* current entity

Function Reference List
N/A


File GIAnlg Documentation

File Name: GIAnlg.cpp/.hpp

File Description: GIA nlg

File Function List


File Diagram (functions hierarchy)


Class GIANLGentity

Class Data
nametypedescription
entityGrammatisedTextstringentity grammatised text
nextGIANLGentity*next

Function GIAnlgClass::generateLanguageFromQuery()

Function Summary
namereturn typedescription
generateLanguageFromQuerystringgenerate language from query

Function Arguments
nametypedescription
comparisonVariableNodeGIAentityNode* comparison variable node
queryAnswerNode GIAentityNode* query answer node

Function Reference List


Function GIAnlgClass::generateLanguageFromNLGentityList()

Function Summary
namereturn typedescription
generateLanguageFromNLGentityListstringgenerate language from NLG entity list

Function Arguments
nametypedescription
firstNLGentityInContextconst GIANLGentity* first NLG entity in context

Function Reference List
N/A


Function GIAnlgClass::generateLanguageFromTextIteration()

Function Summary
namereturn typedescription
generateLanguageFromTextIterationboolgenerate language from text iteration

Function Arguments
nametypedescription
currentConnectionGIAentityConnection* current connection
currentNLGentity GIANLGentity** current NLG entity
parseSameReferenceSetOnly const bool parse same reference set only
interationIndex const int interation index
isRelationshipReverseIterationAction const bool is relationship reverse iteration action
isRelationshipReverseIterationProperty const bool is relationship reverse iteration property
isRelationshipReverseIterationPropertyPossessive bool is relationship reverse iteration property possessive

Function Reference List


Function GIAnlgClass::generateLanguageFromTextIterationPerformChecks()

Function Summary
namereturn typedescription
generateLanguageFromTextIterationPerformChecksboolgenerate language from text iteration perform checks

Function Arguments
nametypedescription
connectionGIAentityConnection* connection
parseQualities const bool parse qualities

Function Reference List


Function GIAnlgClass::generateRelationshipEntityLanguage()

Function Summary
namereturn typedescription
generateRelationshipEntityLanguageboolgenerate relationship entity language

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection
currentNLGentity GIANLGentity** current NLG entity
sameReferenceSet const bool same reference set
addAuxiliaryToQualities const bool add auxiliary to qualities
addRCmodToProperties const bool add RC mod to properties

Function Reference List


Function GIAnlgClass::generateRelationshipEntityLanguageActionReverse()

Function Summary
namereturn typedescription
generateRelationshipEntityLanguageActionReverseboolgenerate relationship entity language action reverse

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection
currentNLGentity GIANLGentity** current NLG entity
sameReferenceSet const bool same reference set

Function Reference List


Function GIAnlgClass::compareRelationshipConnectionType()

Function Summary
namereturn typedescription
compareRelationshipConnectionTypeboolcompare relationship connection type

Function Arguments
nametypedescription
relationshipConnectionconst GIAentityConnection* relationship connection
entityType const int entity type

Function Reference List
N/A


Function GIAnlgClass::generateMorphologyAction()

Function Summary
namereturn typedescription
generateMorphologyActionstringgenerate morphology action

Function Arguments
nametypedescription
relationshipConnectionconst GIAentityConnection* relationship connection

Function Reference List
N/A


Function GIAnlgClass::generateMorphologyActionReverse()

Function Summary
namereturn typedescription
generateMorphologyActionReversestringgenerate morphology action reverse

Function Arguments
nametypedescription
relationshipConnectionconst GIAentityConnection* relationship connection

Function Reference List
N/A


Function GIAnlgClass::generateMorphologyCondition()

Function Summary
namereturn typedescription
generateMorphologyConditionstringgenerate morphology condition

Function Arguments
nametypedescription
relationshipConnectionconst GIAentityConnection* relationship connection

Function Reference List
N/A


Function GIAnlgClass::generateMorphologyRelationshipAuxiliaryBe()

Function Summary
namereturn typedescription
generateMorphologyRelationshipAuxiliaryBestringgenerate morphology relationship auxiliary be

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection

Function Reference List


Function GIAnlgClass::generateMorphologyRelationshipAuxiliaryHave()

Function Summary
namereturn typedescription
generateMorphologyRelationshipAuxiliaryHavestringgenerate morphology relationship auxiliary have

Function Arguments
nametypedescription
relationshipConnectionGIAentityConnection* relationship connection

Function Reference List


Function GIAnlgClass::generateNounEntityLanguage()

Function Summary
namereturn typedescription
generateNounEntityLanguageboolgenerate noun entity language

Function Arguments
nametypedescription
nounEntityGIAentityNode* noun entity
currentNLGentity GIANLGentity** current NLG entity
definite const bool definite
parseSameReferenceSetOnly const bool parse same reference set only
possessive bool possessive
determiner const bool determiner

Function Reference List


Function GIAnlgClass::calcDeterminate()

Function Summary
namereturn typedescription
calcDeterminatestringcalc determinate

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
definite const bool definite

Function Reference List


Function GIAnlgClass::generateQualityPrependText()

Function Summary
namereturn typedescription
generateQualityPrependTextboolgenerate quality prepend text

Function Arguments
nametypedescription
currentEntityGIAentityNode* current entity
currentNLGentity GIANLGentity** current NLG entity
testSameReferenceSet const bool test same reference set
generateNewNLGentities const bool generate new NLG entities

Function Reference List


Function GIAnlgClass::generateConjunctionOfNLGentitiesInSection()

Function Summary
namereturn typedescription
generateConjunctionOfNLGentitiesInSectionboolgenerate conjunction of NLG entities in section

Function Arguments
nametypedescription
subphraseCountMaxconst int subphrase count max
NLGentitiesInSection vector<GIANLGentity*>* NLG entities in section

Function Reference List
N/A


Function GIAnlgClass::calcNounWord()

Function Summary
namereturn typedescription
calcNounWordstringcalc noun word

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
possessive bool possessive

Function Reference List


File GIAsemRelTranslator Documentation

File Name: GIAsemRelTranslator.cpp/.hpp

File Description: GIA sem rel translator

File Function List


File Diagram (functions hierarchy)


Function GIAsemRelTranslatorClass::performSemanticParserLookupAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentences()

Function Summary
namereturn typedescription
performSemanticParserLookupAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentencesboolperform semantic parser lookup and create semantic network based upon semantic dependency parsed sentences

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
inputTextPlainTXTfileName const string input text plain TXT file name
inputTextNLPrelationXMLfileName string input text NLP relation XML file name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
outputCFFfileName string output CFF file name

Function Reference List


Function GIAsemRelTranslatorClass::lookupSemanticParserFiles()

Function Summary
namereturn typedescription
lookupSemanticParserFilesboollookup semantic parser files

Function Arguments
nametypedescription
firstSentenceInListconst GIAsentence* first sentence in list
NLPfeatureParser const int NLP feature parser

Function Reference List


File GIAneuralNetworkNonSemantic Documentation

File Name: GIAneuralNetworkNonSemantic.cpp/.hpp

File Description: GIA neural network non semantic

File Function List


File Diagram (functions hierarchy)


Function GIAneuralNetworkNonSemanticClass::addTextToNetwork()

Function Summary
namereturn typedescription
addTextToNetworkbooladd text to network

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function GIAneuralNetworkNonSemanticClass::addTextToNetworkLogicReference()

Function Summary
namereturn typedescription
addTextToNetworkLogicReferencebooladd text to network logic reference

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstLogicReferenceInList GIAposRelTranslatorHybridLogicReference* first logic reference in list
higherLogicReferenceArtificialSynapseNeuron ANNneuron* higher logic reference artificial synapse neuron
higherLogicReferenceArtificialSynapseNeuronDirection const bool higher logic reference artificial synapse neuron direction

Function Reference List


Function GIAneuralNetworkNonSemanticClass::replaceWordsWithLemmas()

Function Summary
namereturn typedescription
replaceWordsWithLemmasboolreplace words with lemmas

Function Arguments
nametypedescription
referenceSetconst LRPpreprocessorSubReferenceSet* reference set

Function Reference List


Function GIAneuralNetworkNonSemanticClass::detectIndefiniteConceptDefinition()

Function Summary
namereturn typedescription
detectIndefiniteConceptDefinitionbooldetect indefinite concept definition

Function Arguments
nametypedescription
referenceSetSubjectLRPpreprocessorSubReferenceSet* reference set subject
referenceSetObject LRPpreprocessorSubReferenceSet* reference set object
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function GIAneuralNetworkNonSemanticClass::identifyAndDemarcateConceptsInReferenceSet()

Function Summary
namereturn typedescription
identifyAndDemarcateConceptsInReferenceSetboolidentify and demarcate concepts in reference set

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
currentSubReferenceSetInList LRPpreprocessorSubReferenceSet* current sub reference set in list
referenceSetType const int reference set type
indefiniteConceptDefinitionFound const bool indefinite concept definition found
foundConcept bool* found concept
conceptNeuronFound ANNneuron** concept neuron found

Function Reference List


Function GIAneuralNetworkNonSemanticClass::detectIfWordIsConcept()

Function Summary
namereturn typedescription
detectIfWordIsConceptbooldetect if word is concept

Function Arguments
nametypedescription
subReferenceSetContentsvector<LRPpreprocessorPlainTextWord*>* sub reference set contents
wordIndex int word index
specificConceptDetected bool* specific concept detected
indexOfStartOfSpecificConcept int* index of start of specific concept
indefiniteConceptDefinitionFound const bool indefinite concept definition found

Function Reference List


Function GIAneuralNetworkNonSemanticClass::detectIfWordIsDeterminer()

Function Summary
namereturn typedescription
detectIfWordIsDeterminerbooldetect if word is determiner

Function Arguments
nametypedescription
wordconst string word

Function Reference List


Function GIAneuralNetworkNonSemanticClass::findIndexOfStartOfSpecificConcept()

Function Summary
namereturn typedescription
findIndexOfStartOfSpecificConceptboolfind index of start of specific concept

Function Arguments
nametypedescription
subReferenceSetContentsconst vector<LRPpreprocessorPlainTextWord*>* sub reference set contents
startIndexToSearch const int start index to search
indexOfStartOfSpecificConcept int* index of start of specific concept

Function Reference List


Function GIAneuralNetworkNonSemanticClass::findOrAddReferenceSetInNetwork()

Function Summary
namereturn typedescription
findOrAddReferenceSetInNetworkboolfind or add reference set in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstSubReferenceSetInList LRPpreprocessorSubReferenceSet* first sub reference set in list
referenceSetSubnetEntry ANNneuron** reference set subnet entry
referenceSetDelimiterSubnetEntry ANNneuron* reference set delimiter subnet entry
referenceSetType const int reference set type

Function Reference List


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnet()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetvoidcalculate number active concept neurons in subnet

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet
numberOfActiveConceptNeuronsInSubnet int* number of active concept neurons in subnet
activationAgeOfSubnetSynapsesTotal int64_t* activation age of subnet synapses total

Function Reference List


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnetReset()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetResetvoidcalculate number active concept neurons in subnet reset

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet

Function Reference List


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnetUpdateActivationAge()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetUpdateActivationAgevoidcalculate number active concept neurons in subnet update activation age

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet

Function Reference List


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnet()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetvoidcalculate number active concept neurons in subnet

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet
direction const bool direction
numberOfActiveConceptNeuronsInSubnet int* number of active concept neurons in subnet
activationAgeOfSubnetSynapsesTotal int64_t* activation age of subnet synapses total
reset const bool reset
updateActivationAge const bool update activation age

Function Reference List


Function GIAneuralNetworkNonSemanticClass::addReferenceSetInNetwork()

Function Summary
namereturn typedescription
addReferenceSetInNetworkbooladd reference set in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstSubReferenceSetInList const LRPpreprocessorSubReferenceSet* first sub reference set in list
referenceSetSubnetEntry ANNneuron** reference set subnet entry
referenceSetDelimiterSubnetEntry ANNneuron* reference set delimiter subnet entry
referenceSetType const int reference set type

Function Reference List


Function GIAneuralNetworkNonSemanticClass::createDelimiterArtificialSynapseNeuron()

Function Summary
namereturn typedescription
createDelimiterArtificialSynapseNeuronboolcreate delimiter artificial synapse neuron

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
referenceSetDelimiterSubnetEntry ANNneuron** reference set delimiter subnet entry
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function GIAneuralNetworkNonSemanticClass::connectReferenceSetsInNetwork()

Function Summary
namereturn typedescription
connectReferenceSetsInNetworkboolconnect reference sets in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
referenceSetSubjectSubnetEntry ANNneuron* reference set subject subnet entry
referenceSetObjectSubnetEntry ANNneuron* reference set object subnet entry
referenceSetDelimiterSubnetEntry ANNneuron** reference set delimiter subnet entry
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function GIAneuralNetworkNonSemanticClass::findOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron()

Function Summary
namereturn typedescription
findOrAddConceptAndConnectNewSynapseArtificialInstanceNeuronANNneuron*find or add concept and connect new synapse artificial instance neuron

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
wordTag const LRPpreprocessorPlainTextWord* word tag

Function Reference List


Function GIAneuralNetworkNonSemanticClass::performQuery()

Function Summary
namereturn typedescription
performQueryboolperform query

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
translatorVariablesQuery const GIAtranslatorVariablesClass* translator variables query

Function Reference List
N/A


Function GIAneuralNetworkNonSemanticClass::determineReferenceSetDefinite()

Function Summary
namereturn typedescription
determineReferenceSetDefinitebooldetermine reference set definite

Function Arguments
nametypedescription
firstSubReferenceSetInListLRPpreprocessorSubReferenceSet* first sub reference set in list

Function Reference List


Function GIAneuralNetworkNonSemanticClass::getDelimiterWord()

Function Summary
namereturn typedescription
getDelimiterWordLRPpreprocessorPlainTextWord*get delimiter word

Function Arguments
nametypedescription
referenceSetDelimiterconst LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List
N/A


Function GIAneuralNetworkNonSemanticClass::getLogicReferenceWord()

Function Summary
namereturn typedescription
getLogicReferenceWordLRPpreprocessorPlainTextWord*get logic reference word

Function Arguments
nametypedescription
logicReferenceconst GIAposRelTranslatorHybridLogicReference* logic reference

Function Reference List
N/A


Function GIAneuralNetworkNonSemanticClass::generateArtificialLayer()

Function Summary
namereturn typedescription
generateArtificialLayerintgenerate artificial layer

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables

Function Reference List
N/A


File GIAposRelTranslator Documentation

File Name: GIAposRelTranslator.cpp/.hpp

File Description: GIA pos rel translator

File Function List


File Diagram (functions hierarchy)


Function GIAposRelTranslatorClass::parseTxtfileAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentences()

Function Summary
namereturn typedescription
parseTxtfileAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentencesboolparse txtfile and create semantic network based upon semantic dependency parsed sentences

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
inputTextPlainTXTfileName const string input text plain TXT file name
inputTextNLPrelationXMLfileName string input text NLP relation XML file name
inputTextNLPfeatureXMLfileName const string input text NLP feature XML file name
outputCFFfileName string output CFF file name

Function Reference List


File SANIposRelTranslator Documentation

File Name: SANIposRelTranslator.cpp/.hpp

File Description: SANI pos rel translator

File Function List


File Diagram (functions hierarchy)


Function SANIposRelTranslatorClass::parseTxtfileAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentences()

Function Summary
namereturn typedescription
parseTxtfileAndCreateSemanticNetworkBasedUponSemanticDependencyParsedSentencesboolparse txtfile and create semantic network based upon semantic dependency parsed sentences

Function Arguments
nametypedescription
translatorVariablesSANItranslatorVariablesClass* translator variables

Function Reference List