File SHAREDvars Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: SHAREDvars.cpp/.hpp

File Description: SHARED vars

File Function List


File Diagram (functions hierarchy)


Function SHAREDvarsClass::argumentExists()

Function Summary
namereturn typedescription
argumentExistsboolargument exists

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPmain.hppargumentExists

Trace Diagram (magenta)


Function SHAREDvarsClass::getFloatArgument()

Function Summary
namereturn typedescription
getFloatArgumentfloatget float argument

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPmain.hppgetFloatArgument

Trace Diagram (magenta)


Function SHAREDvarsClass::getStringArgument()

Function Summary
namereturn typedescription
getStringArgumentstringget string argument

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPmain.hppgetStringArgument

Trace Diagram (magenta)


Function SHAREDvarsClass::getCurrentDirectory()

Function Summary
namereturn typedescription
getCurrentDirectorystringget current directory

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPmain.hppgetCurrentDirectory
LRPpreprocessorWordIdentification.hppgetCurrentDirectory
LRPpreprocessorWordReduction.hppgetCurrentDirectory
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function SHAREDvarsClass::setCurrentDirectory()

Function Summary
namereturn typedescription
setCurrentDirectoryvoidset current directory

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPmain.hppsetCurrentDirectory
LRPpreprocessorWordIdentification.hppsetCurrentDirectory
LRPpreprocessorWordReduction.hppsetCurrentDirectory
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppsetCurrentDirectory
LRPpreprocessorPOStaggerDatabase.hppsetCurrentDirectory
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchFileName
LRPpreprocessorPOStaggerDatabase.hppsetCurrentDirectory
LRPpreprocessorPOStaggerDatabase.hppexternalANNexecuteScript
LRPpreprocessorPOStaggerDatabase.hppexternalANNtrainEpochBatch
LRPpreprocessorPOStaggerDatabase.hppexternalANNexecuteScript
LRPpreprocessorPOStaggerDatabase.hppexternalANNexecuteScript
LRPpreprocessorPOStaggerDatabase.hppsetCurrentDirectory

Trace Diagram (magenta)


Function SHAREDvarsClass::directoryExists()

Function Summary
namereturn typedescription
directoryExistsbooldirectory exists

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStaggerDatabase.hppdirectoryExists
LRPmain.hppinitialisePOStaggerDatabase

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordIdentification.hppconvertStringToLowerCase
LRPpreprocessorWordIdentification.hpploadWordList
LRPpreprocessorWordIdentification.hpploadWordListWrapper
LRPmain.hppinitialiseLRP
LRPpreprocessorWordIdentification.hppconvertStringToLowerCase
LRPpreprocessorWordIdentification.hppgenerateAdditionalTenseVariantsOfVerbBase
LRPpreprocessorWordReduction.hppconvertStringToLowerCase
LRPpreprocessorWordReduction.hppgenerateIrregularTenseVariantsOfVerbBase
LRPpreprocessorWordReduction.hpploadPhrasalVerbDataAndGenerateAllTenseVariants
LRPpreprocessorWordReduction.hppconvertStringToLowerCase
LRPpreprocessorWordReduction.hppconvertStringToLowerCase
LRPpreprocessorWordReduction.hppreplaceAllNumericalWordsWithNumbers
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppconvertStringToLowerCase
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo

Trace Diagram (magenta)


Function SHAREDvarsClass::convertDoubleToString()

Function Summary
namereturn typedescription
convertDoubleToStringstringconvert double to string

Function Arguments
nametypedescription
numberconst double number
format const string format

Function Reference List


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStaggerDatabase.hppconvertDoubleToString
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateExperienceInputStandalone
LRPpreprocessorPOStagger.hppexternalANNgenerateBatchDataExperienceInput
LRPpreprocessorPOStagger.hppaddPOStaggerDatabaseEntry1
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchDataExperienceInput
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchDataExperiences

Trace Diagram (magenta)


Function SHAREDvarsClass::convertIntToString()

Function Summary
namereturn typedescription
convertIntToStringstringconvert int to string

Function Arguments
nametypedescription
numberconst int number

Function Reference List


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStaggerDatabase.hppconvertIntToString
LRPpreprocessorPOStagger.hppgenerateIntFormatString
LRPpreprocessorPOStagger.hppgenerateWikiDumpTextInputFileName
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppgenerateIntFormatString
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchFileName

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppconvertIntToString
LRPpreprocessorPOStagger.hppgenerateWikiDumpTextInputFileName
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppconvertIntToString
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchFileName

Trace Diagram (magenta)


Function SHAREDvarsClass::convertLongToString()

Function Summary
namereturn typedescription
convertLongToStringstringconvert long to string

Function Arguments
nametypedescription
numberconst int64_t number

Function Reference List


Function Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hppconvertLongToString
LRPpreprocessorWordReduction.hppreplaceAllNumericalWordsWithNumbers
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordReduction.hpptextInTextArray
LRPpreprocessorWordReduction.hpploadPhrasalVerbDataAndGenerateAllTenseVariants
LRPpreprocessorWordIdentification.hppinitialiseLRPreduction
LRPmain.hppinitialiseLRP
LRPpreprocessorWordReduction.hpptextInTextArray
LRPpreprocessorWordReduction.hppgetValueOf
LRPpreprocessorWordReduction.hppparseNumerals
LRPpreprocessorWordReduction.hppconvertWordToNumber
LRPpreprocessorWordReduction.hppreplaceAllNumericalWordsWithNumbers
LRPpreprocessorPOStagger.hppparseTextFileAndReduceLanguage
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
SHAREDvars.hpptextInTextArray
LRPpreprocessorWordClass.hpptextInTextArray

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordIdentification.hppcharInCharArray
LRPpreprocessorWordIdentification.hppgenerateNounPluralVariants
LRPpreprocessorWordIdentification.hppgenerateNounPluralVariantsList
LRPmain.hppinitialiseLRP
LRPpreprocessorWordReduction.hppcharInCharArray
LRPpreprocessorWordIdentification.hppgenerateStandardTenseVariantsOfVerbBase
LRPpreprocessorWordReduction.hppgenerateStandardTenseVariantsOfVerbBase
LRPpreprocessorWordReduction.hpploadPhrasalVerbDataAndGenerateAllTenseVariants
LRPpreprocessorPOStagger.hppcharInCharArray
LRPpreprocessorPOStagger.hppcreatePreprocessSentencesBasic
LRPpreprocessorPOStagger.hppgeneratePreprocessorSentenceObjectsFromText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorWordClass.hppcharInCharArray
LRPpreprocessorWordClass.hppcharInCharArray
LRPpreprocessorPOStagger.hppisStringNumber
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo

Trace Diagram (magenta)


Function SHAREDvarsClass::getFileContents()

Function Summary
namereturn typedescription
getFileContentsstringget file contents

Function Arguments
nametypedescription
inputFileNameconst string input file name

Function Reference List
N/A


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

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorWordIdentification.hppgetLinesFromFile
LRPmain.hppinitialiseLRP
LRPpreprocessorWordReduction.hppgetLinesFromFile

Trace Diagram (magenta)


Function SHAREDvarsClass::writeStringListToFile()

Function Summary
namereturn typedescription
writeStringListToFilevoidwrite string list to file

Function Arguments
nametypedescription
fileNameconst string file name
stringList const vector<string>* string list

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStaggerDatabase.hppwriteStringListToFile
LRPpreprocessorPOStagger.hppexternalANNgenerateBatchTrainData
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function SHAREDvarsClass::fileExists()

Function Summary
namereturn typedescription
fileExistsboolfile exists

Function Arguments
nametypedescription
inputFileNameconst string input file name

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStaggerDatabase.hppfileExists
LRPmain.hppinitialisePOStaggerDatabase

Trace Diagram (magenta)


Function SHAREDvarsClass::sprintfSafeDouble()

Function Summary
namereturn typedescription
sprintfSafeDoublevoidsprintf safe double

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

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvars.hppsprintfSafeDouble
LRPpreprocessorPOStaggerDatabase.hppconvertDoubleToString
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateExperienceInputStandalone
LRPpreprocessorPOStagger.hppexternalANNgenerateBatchDataExperienceInput
LRPpreprocessorPOStagger.hppaddPOStaggerDatabaseEntry1
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchDataExperienceInput
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchDataExperiences

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
SHAREDvars.hppsprintfSafeInt
LRPpreprocessorPOStagger.hppconvertIntToString
LRPpreprocessorPOStagger.hppgenerateWikiDumpTextInputFileName
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppconvertIntToString
LRPpreprocessorPOStaggerDatabase.hppexternalANNgenerateBatchFileName
SHAREDvars.hppsprintfSafeInt
LRPpreprocessorPOStaggerDatabase.hppconvertIntToString

Trace Diagram (magenta)


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

Trace Diagram (magenta)


Function SHAREDvarsClass::copyFiles()

Function Summary
namereturn typedescription
copyFilesvoidcopy files

Function Arguments
nametypedescription
fileToCopyNameconst string file to copy name
newFileName const string new file name

Function Reference List


Function Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppcopyFiles
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


Function SHAREDvarsClass::openFileAndCopyDataIntoCurrentFileObject()

Function Summary
namereturn typedescription
openFileAndCopyDataIntoCurrentFileObjectboolopen file and copy data into current file object

Function Arguments
nametypedescription
fileToOpenNameconst string file to open name
writeFileObject ofstream* write file object

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvars.hppopenFileAndCopyDataIntoCurrentFileObject
LRPpreprocessorPOStagger.hppcopyFiles
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText

Trace Diagram (magenta)


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 Trace
locationcurrent function being traced
LRPpreprocessorPOStagger.hppgetBitValue
LRPpreprocessorPOStagger.hppgenerateANNexperienceFromPOSambiguityInfoPermutationStandalone
LRPpreprocessorPOStagger.hppgenerateANNexperienceFromPOSambiguityInfoPermutation
LRPpreprocessorPOStagger.hppaddPOStaggerDatabaseEntry1
LRPmain.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStagger.hppgeneratePOStaggerDatabaseFromWikiDumpText
LRPpreprocessorPOStaggerDatabase.hppgetBitValue
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfoIsAmbiguous
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfo
LRPpreprocessorPOStagger.hppdeterminePOSambiguityInfoIsAmbiguous
LRPpreprocessorPOStagger.hppgetBitValue

Trace Diagram (magenta)


Function SHAREDvarsClass::setBitValue()

Function Summary
namereturn typedescription
setBitValueint64_tset bit value

Function Arguments
nametypedescription
numberint64_t number
x int x
val bool val

Function Reference List
N/A


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

Trace Diagram (magenta)