File LRPpreprocessor Documentation
Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020
Copyright © 2020, BAI Research. All Rights Reserved.
File Name: LRPpreprocessor.cpp/.hpp
File Description: LRP preprocessor
File Function List
-
- preprocessTextForGIAwrapper
- preprocessTextForGIA
- preprocessSentencesForGIAwrapper
- regenerateFileFromPreprocessedTextWithoutLRP
- createPreprocessSentencesForGIA
- createPreprocessSentences
- extractIndentationFromCurrentLine
File Diagram (functions hierarchy)
Function LRPpreprocessorClass::preprocessTextForGIAwrapper()
Function Summary
name | return type | description |
preprocessTextForGIAwrapper | bool | preprocess text for GIA wrapper |
Function Arguments
name | type | description |
useLRP | const 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
-
-
- preprocessTextForGIA
- regenerateFileFromPreprocessedTextWithoutLRP
- createPreprocessSentencesForGIA
Function Trace
location | current function being traced |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::preprocessTextForGIA()
Function Summary
name | return type | description |
preprocessTextForGIA | bool | preprocess text for GIA |
Function Arguments
name | type | description |
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 |
inputTextNLPfeatureXMLfileName | const string | input text NLP feature XML file name |
Function Reference List
-
- createPreprocessSentencesForGIA
- LRPpreprocessorWordClassClass::generateTextFromVectorWordList
- LRPpreprocessorWordReductionClass::initialiseActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo
- LRPpreprocessorWordReductionClass::setActiveLRPpreprocessorMultiwordReductionTagTextCorrespondenceInfo
- LRPpreprocessorWordReductionClass::parseTextFileAndReduceLanguage
- preprocessSentencesForGIAwrapper
- SHAREDvarsClass::setCurrentDirectory
Function Trace
location | current function being traced |
LRPpreprocessor.hpp | preprocessTextForGIA |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::preprocessSentencesForGIAwrapper()
Function Summary
name | return type | description |
preprocessSentencesForGIAwrapper | bool | preprocess sentences for GIA wrapper |
Function Arguments
name | type | description |
translatorVariables | LRPtranslatorVariablesClass* | 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 Trace
location | current function being traced |
LRPpreprocessor.hpp | preprocessSentencesForGIAwrapper |
LRPpreprocessor.hpp | preprocessTextForGIA |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::regenerateFileFromPreprocessedTextWithoutLRP()
Function Summary
name | return type | description |
regenerateFileFromPreprocessedTextWithoutLRP | bool | regenerate file from preprocessed text without LRP |
Function Arguments
name | type | description |
inputTextPlainTXTfileName | string* | input text plain TXT file name |
outputLRPTextPlainTXTFileName | const string | output LRPT ext plain TXTF ile name |
translatorVariables | const LRPtranslatorVariablesClass* | translator variables |
Function Reference List
-
-
- LRPpreprocessorWordClassClass::generateTextFromVectorWordList
- SHAREDvarsClass::setCurrentDirectory
- SHAREDvarsClass::writeStringToFile
- SHAREDvarsClass::setCurrentDirectory
Function Trace
location | current function being traced |
LRPpreprocessor.hpp | regenerateFileFromPreprocessedTextWithoutLRP |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::createPreprocessSentencesForGIA()
Function Summary
name | return type | description |
createPreprocessSentencesForGIA | bool | create preprocess sentences for GIA |
Function Arguments
name | type | description |
inputFileName | const string | input file name |
translatorVariables | LRPtranslatorVariablesClass* | translator variables |
Function Reference List
-
-
- SHAREDvarsClass::getFileContents
- createPreprocessSentences
Function Trace
location | current function being traced |
LRPpreprocessor.hpp | createPreprocessSentencesForGIA |
LRPpreprocessor.hpp | preprocessTextForGIA |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::createPreprocessSentences()
Function Summary
name | return type | description |
createPreprocessSentences | bool | create preprocess sentences |
Function Arguments
name | type | description |
fileContents | string | 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
-
-
- SHAREDvarsClass::charInCharArray
- LRPpreprocessorWordClassClass::isIntrawordPunctuationMark
- SHAREDvarsClass::charInCharArray
- LRPpreprocessorWordClassClass::isApostrophePossessionOrOmission
- SHAREDvarsClass::charInCharArray
- SHAREDvarsClass::charInCharArray
-
- SHAREDvarsClass::charInCharArray
- SHAREDvarsClass::charInCharArray
- SHAREDvarsClass::charInCharArray
-
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
- SHAREDvarsClass::charInCharArray
- LRPpreprocessorWordClassClass::isIntrawordPunctuationMark
- LRPpreprocessorWordClassClass::generateSentenceWordList
- LRPpreprocessorWordClassClass::generateSentenceWordList
- extractIndentationFromCurrentLine
- LRPpreprocessorWordClassClass::preprocessorFillCurrentWord
Function Trace
location | current function being traced |
LRPpreprocessor.hpp | createPreprocessSentences |
LRPpreprocessor.hpp | createPreprocessSentencesForGIA |
LRPpreprocessor.hpp | preprocessTextForGIA |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)
Function LRPpreprocessorClass::extractIndentationFromCurrentLine()
Function Summary
name | return type | description |
extractIndentationFromCurrentLine | bool | extract indentation from current line |
Function Arguments
name | type | description |
lineContents | string* | line contents |
indexOfCurrentToken | int* | index of current token |
currentIndentation | int* | current indentation |
indentationContents | string* | indentation contents |
Function Reference List
N/A
Function Trace
location | current function being traced |
LRPpreprocessor.hpp | extractIndentationFromCurrentLine |
LRPpreprocessor.hpp | createPreprocessSentences |
LRPpreprocessor.hpp | createPreprocessSentencesForGIA |
LRPpreprocessor.hpp | preprocessTextForGIA |
SANImain.hpp | preprocessTextForGIAwrapper |
Trace Diagram (magenta)