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

File Name: SANImain.cpp/.hpp

File Description: SANI main

File Function List


File Diagram (functions hierarchy)


Function SANImainClass::executeSANI2()

Function Summary
namereturn typedescription
executeSANI2boolexecute SANI2

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


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


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


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
N/A


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


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