File LRPpreprocessorWordClass Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.

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 Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordClass.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordClass.hppgenerateTextFromPreprocessorSentenceWord
LRPpreprocessorWordClass.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateTextFromPreprocessorSentenceWordList
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo
LRPpreprocessorWordReduction.hppcreateNewCorrespondenceInfo

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppgenerateSentenceWordList
LRPpreprocessorPOStagger.hppcreatePreprocessSentencesBasic
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppgenerateSentenceWordList

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordClass.hppgenerateSentenceWordList
LRPpreprocessorPOStagger.hppgenerateSentenceWordList
LRPpreprocessorPOStagger.hppcreatePreprocessSentencesBasic
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppgenerateSentenceWordList
LRPpreprocessorWordReduction.hppgenerateSentenceWordList

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hppgenerateFlatSentenceWordList
LRPpreprocessorWordReduction.hppsearchAndReplacePhrasalVerbs
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordReduction.hppgenerateFlatSentenceWordList
LRPpreprocessorWordReduction.hppgenerateFlatSentenceWordList
LRPpreprocessorWordReduction.hppgenerateFlatSentenceWordList
LRPpreprocessorWordReduction.hppgenerateFlatSentenceWordList

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppisIntrawordPunctuationMark
LRPpreprocessorPOStagger.hppcreatePreprocessSentencesBasic
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hppfindStringInWordList
LRPpreprocessorWordReduction.hppconvertWordToNumber
LRPpreprocessorWordReduction.hppreplaceAllNumericalWordsWithNumbers
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordClass.hppfindStringInWordList
LRPpreprocessorWordReduction.hppfindStringInWordList
LRPpreprocessorWordReduction.hppconvertWordToNumber
LRPpreprocessorWordReduction.hppreplaceAllNumericalWordsWithNumbers
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hpppreprocessorFillCurrentWord
LRPpreprocessorPOStagger.hppcreatePreprocessSentencesBasic
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hppgetPOStypeFromName
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function LRPpreprocessorWordClassClass::isStringNumber()

Function Summary
namereturn typedescription
isStringNumberboolis string number

Function Arguments
nametypedescription
phraseconst string phrase

Function Reference List


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppisStringNumber
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo
LRPpreprocessorPOStagger.hppgeneratePOSambiguityInfoPermutation
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppisMidSentenceUppercaseWordLikelyProperNoun
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo
LRPpreprocessorPOStagger.hppgeneratePOSambiguityInfoPermutation
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function LRPpreprocessorWordClassClass::wordIsUpperCase()

Function Summary
namereturn typedescription
wordIsUpperCaseboolword is upper case

Function Arguments
nametypedescription
wordTextstring word text

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPpreprocessorWordClass.hppwordIsUpperCase
LRPpreprocessorPOStagger.hppisMidSentenceUppercaseWordLikelyProperNoun
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo
LRPpreprocessorPOStagger.hppgeneratePOSambiguityInfoPermutation
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function LRPpreprocessorWordClassClass::convertSentenceContentsIndexToEntityIndex()

Function Summary
namereturn typedescription
convertSentenceContentsIndexToEntityIndexintconvert sentence contents index to entity index

Function Arguments
nametypedescription
sentenceContentsIndexconst int sentence contents index

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppconvertSentenceContentsIndexToEntityIndex
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)