File GIAnlpParser Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: GIAnlpParser.cpp/.hpp

File Description: GIA nlp parser

File Function List


File Diagram (functions hierarchy)


Function GIAnlpParserClass::GIATHparseStanfordParseWordsAndPOStagsText()

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

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

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAnlp.hppGIATHparseStanfordParseWordsAndPOStagsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile

Trace Diagram (magenta)


Function GIAnlpParserClass::findReplicateRelation()

Function Summary
namereturn typedescription
findReplicateRelationboolfind replicate relation

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlpParser.hppfindReplicateRelation
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAnlpParserClass::compareRelations()

Function Summary
namereturn typedescription
compareRelationsboolcompare relations

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

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAnlpParser.hppcompareRelations
GIAnlpParser.hppfindReplicateRelation
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAnlpParserClass::findString()

Function Summary
namereturn typedescription
findStringboolfind string

Function Arguments
nametypedescription
entityNamestring entity name
stringToFind string string to find

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAnlpParser.hppfindString
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAnlpParserClass::createSameReferenceSetRecord2()

Function Summary
namereturn typedescription
createSameReferenceSetRecord2stringcreate same reference set record 2

Function Arguments
nametypedescription
sameReferenceSetconst bool same reference set

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlpParser.hppcreateSameReferenceSetRecord2
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAnlpParserClass::GIATHparseStanfordParserRelationsText()

Function Summary
namereturn typedescription
GIATHparseStanfordParserRelationsTextvoidGIATH parse stanford parser relations text

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA

Trace Diagram (magenta)


Function GIAnlpParserClass::convertStanfordRelationToRelex()

Function Summary
namereturn typedescription
convertStanfordRelationToRelexvoidconvert stanford relation to relex

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppconvertStanfordRelationToRelex

Trace Diagram (magenta)


Function GIAnlpParserClass::convertPrepositionToRelex2()

Function Summary
namereturn typedescription
convertPrepositionToRelex2stringconvert preposition to relex 2

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

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAnlpParser.hppconvertPrepositionToRelex2
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppconvertStanfordRelationToRelex

Trace Diagram (magenta)


Function GIAnlpParserClass::convertStanfordRelationToRelexLRPreversion()

Function Summary
namereturn typedescription
convertStanfordRelationToRelexLRPreversionvoidconvert stanford relation to relex LRP reversion

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlpParser.hppconvertStanfordRelationToRelexLRPreversion
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAsemRelTranslatorParser.hppparseStanfordParserFile
GIAsynRelTranslatorParser.hppgenerateAllPermutationsFromSemanticRelationsFile
GIAtranslator.hppconvertSentenceSyntacticRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodes
GIAtranslator.hppconvertSentenceRelationsIntoGIAnetworkNodesWrapper
GIAtranslator.hppconvertSentenceListRelationsIntoGIAnetworkNodes
GIAtranslator.hppcreateSemanticNetworkBasedUponDependencyParsedSentences
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseStanfordParserFile
GIAnlp.hppparseNLPparserRelationsFile
GIAnlp.hppGIATHparseStanfordParserRelationsText
GIAnlp.hppparseRelexFile
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAnlpParser.hppconvertStanfordRelationToRelex
GIAnlp.hppconvertStanfordRelationToRelex

Trace Diagram (magenta)


Function GIAnlpParserClass::GIATHparseRelexFeaturesText()

Function Summary
namereturn typedescription
GIATHparseRelexFeaturesTextvoidGIATH parse relex features text

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlp.hppGIATHparseRelexFeaturesText
GIAnlp.hppparseRelexFile
GIAnlp.hppparseNLPparserFeaturesFile
GIAtranslator.hppparseNLPparserFile
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAnlp.hppparseRelexFile

Trace Diagram (magenta)


Function GIAnlpParserClass::GIATHparseRelexRelationsText()

Function Summary
namereturn typedescription
GIATHparseRelexRelationsTextvoidGIATH parse relex relations text

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

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlp.hppGIATHparseRelexRelationsText
GIAnlp.hppparseRelexFile
GIAnlp.hppparseNLPparserFeaturesFile
GIAtranslator.hppparseNLPparserFile
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslatorHybrid.hppparseNLPparserFeaturesFile
LRPpreprocessor.hppexecutePrelimFeatureProcessingOnSentences
LRPpreprocessor.hpppreprocessSentencesForGIAwrapper
LRPpreprocessor.hpppreprocessTextForGIA
GIAnlp.hppparseRelexFile

Trace Diagram (magenta)


Function GIAnlpParserClass::generateRelexCFFfeatureTagContent()

Function Summary
namereturn typedescription
generateRelexCFFfeatureTagContentstringgenerate relex CFF feature tag content

Function Arguments
nametypedescription
firstFeatureInListconst GIAfeature* first feature in list

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlp.hppgenerateRelexCFFfeatureTagContent
GIAtranslator.hppoutputInternalRelationsInRelexFormat
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences

Trace Diagram (magenta)


Function GIAnlpParserClass::generateRelexCFFrelationTagContent()

Function Summary
namereturn typedescription
generateRelexCFFrelationTagContentstringgenerate relex CFF relation tag content

Function Arguments
nametypedescription
firstRelationInListconst GIArelation* first relation in list

Function Reference List


Function Trace
locationcurrent function being traced
GIAnlp.hppgenerateRelexCFFrelationTagContent
GIAtranslator.hppoutputInternalRelationsInRelexFormat
GIAmain.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAsemRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences
GIAposRelTranslator.hppparseNLPparserFileAndCreateSemanticNetworkBasedUponDependencyParsedSentences

Trace Diagram (magenta)