#################################################################### # # This file holds the test cases executed by DigitalConceptBuilder # #################################################################### # DEFINITIONNEEDED # ________________ # # Possible values: TRUE, FALSE # # TRUE: a Predicate Builder Script entry for the part-of-speech # is required for the word to be included in the tokens list. # # FALSE: no restriction related to the requirement of a Predicate # Builder Script. DEFINITIONNEEDED = TRUE #------------------------------------------------------------------- # OUTPUTTOKENS # ____________ # # Possible values: TRUE, FALSE # # TRUE: the list of tokens will be output following the tokenization. # # FALSE: the list of tokens will not be output following the # tokenization. OUTPUTTOKENS = FALSE #------------------------------------------------------------------- # OUTPUTSYNTAXTOKENS # __________________ # # Possible values: TRUE, FALSE # # TRUE: the list of tokens will be output following the syntactic # analysis. # # FALSE: the list of tokens will not be output following the # syntactic analysis. OUTPUTSYNTAXTOKENS = FALSE #------------------------------------------------------------------- # OUTPUTSYNTAXPERMUTATIONS # ________________________ # # Possible values: TRUE, FALSE # # TRUE: each and every syntactic valid sequence produced will # be indepedently output. # # FALSE: no output of the syntactic valid sequence. OUTPUTSYNTAXPERMUTATIONS = FALSE #------------------------------------------------------------------- # OUTPUTTRANSFORMLINE # ___________________ # # Possible values: TRUE, FALSE # # TRUE: Following syntactic analysis, each and every syntactic # transform line that successfully produced each token is output. # # FALSE: no output of the syntactic transform lines. OUTPUTTRANSFORMLINE = FALSE #------------------------------------------------------------------- # SYNTACTICANALYSISTRACE # ______________________ # # Possible values: TRUE, FALSE # # TRUE: A display in the console of the progress of the syntactic # analysis will be output. # # FALSE: no output of a display in the console of the progress of # the syntactic analysis. SYNTACTICANALYSISTRACE = FALSE #------------------------------------------------------------------- # MAXSYNTAXPERMUTATIONS # _____________________ # # Possible values: Numeric value # # The maximal amount of TARGETPOS that syntactic analysis should # produce. MAXSYNTAXPERMUTATIONS = 200 #------------------------------------------------------------------- # MAXCONCEPTUALANALYSIS # _____________________ # # Possible values: Numeric value # # The maximal amount of TARGETPOS that conceptual analysis should # analyze. From the MAXSYNTAXPERMUTATIONS sequences of TARGETPOS that # are sorted, only the fist MAXCONCEPTUALANALYSIS will be analyzed. MAXCONCEPTUALANALYSIS = 20 #------------------------------------------------------------------- # OUTPUTPREDICATES # ________________ # # Possible values: TRUE, FALSE # # TRUE: Each and every predicate successfully calculated will be # displayed (both before and after post-processing). # # FALSE: no predicate calculated will be displayed. OUTPUTPREDICATES = FALSE #------------------------------------------------------------------- # JAVASCRIPTTRACE # _______________ # # Possible values: TRUE, FALSE # # TRUE: javascript input and calculations result will be output. # # FALSE: no javascript input and calculations result will be output. JAVASCRIPTTRACE = FALSE #------------------------------------------------------------------- # TARGETPOS # _________ # # Possible values: A part-of-speech that can be constructed from the # syntactic analysis of SyntaxTransform.txt. TARGETPOS = SENTENCE #------------------------------------------------------------------- # NUMBERPOS # _________ # # Possible values: If numbers have to be recognized (hence this is # optional), the part-of-speech name to associate to number sequences. NUMBERPOS = NUMBER #------------------------------------------------------------------- # PUNCTUATIONPOS # ______________ # # Possible values: If punctuation have to be recognized (hence this is # optional), the part-of-speech name to associate to DETECTPUNCTUATION # sequences. PUNCTUATIONPOS = PUNCTUATION #------------------------------------------------------------------- # DETECTPUNCTUATION # _________________ # # Possible values: The series of sensitive punctuation marks to # recognize. For example, '?.,!' would identify that '?', '.', ',' # and '!' have to be tokenized. DETECTPUNCTUATION = ? #------------------------------------------------------------------- # FAILUREREASON # _____________ # # Possible values: TRUE, FALSE # # TRUE: if the calculation of a predicate fails, a reason for the # failure will ouput. # # FALSE: no failure reason will output. FAILUREREASON = FALSE #------------------------------------------------------------------- # POSTPROCESSING # ______________ # # Possible values: the name of the javascript files (without the # '.js') to execute as post-processing following the calculation of # a valid predicate. # NOTE: You can repeat many POSTPROCESSING associations and they will # all be executed in the order entered here. POSTPROCESSING = PredicateCalculusOperations #------------------------------------------------------------------- # PARSING # _______ # # Possible values: multi-dim-earley or bottomup # # bottomup: the simplest synctactic analysis algorithm, yet the one # that typically takes the most amount of time. # # multi-dim-earley: the fastest synctactic analysis algorithm. PARSING = multi-dim-earley #------------------------------------------------------------------- # TIMER # _____ # # Possible values: TRUE, FALSE # # TRUE: output the time required to calculate each test case. # # FALSE: do not output the time required to calculate each test case. TIMER = TRUE #------------------------------------------------------------------- # DISAMBIGUATION # ______________ # # Possible values: the name of the javascript files (without the # '.js') to execute the disambiguation process following all # post-processing. DISAMBIGUATION = Interrogation #------------------------------------------------------------------- # FEEDBACK # ________ # # Possible values: the name of the javascript files (without the # '.js') to execute the resulting recognized predicate. FEEDBACK = Console #------------------------------------------------------------------- # ENABLED # _______ # # Possible values: TRUE, FALSE # # TRUE: enable the test cases within that scope. # # FALSE: disable the test cases within that scope. ENABLED = TRUE #------------------------------------------------------------------- { CONTENT = Is a red car a car? ID = CAR1 } { CONTENT = Is a red car the car? ID = CAR2 } { CONTENT = Is the red car a car? ID = CAR3 } { CONTENT = Is the red car red? ID = CAR4 } { CONTENT = The car is red ID = CAR5 } { CONTENT = Is a red car blue? ID = CAR6 } { CONTENT = Is a red car red? ID = CAR7 } { CONTENT = Is a car or a boat a car? ID = CAR8 } { CONTENT = Is a car an object that is not a car? ID = CAR9 } { CONTENT = Is a boat an object that is not a car? ID = CAR10 } { CONTENT = Is an object that is not a car a boat? ID = CAR11 } { CONTENT = Is a car that is not red a car? ID = CAR12 } { CONTENT = Is a car an object that is a car or a boat? ID = CAR13 } { CONTENT = Is a red car an object that is a car or a boat? ID = CAR14 } { CONTENT = Is a car that is not red a car? ID = CAR15 } { CONTENT = Is a red car not red? ID = CAR16 } { CONTENT = Is a car a car that is not red? ID = CAR17 } { CONTENT = Is a car that is not red a blue car? ID = CAR18 } { CONTENT = Is a red car a car that is not red? ID = CAR19 } { CONTENT = Is an object that is not a car a car? ID = CAR20 } { CONTENT = Is an object that is a car or a boat a car? ID = CAR21 } { CONTENT = Is an object that is a car or a boat a red car? ID = CAR22 } { CONTENT = Is an object that is a car and a boat a red car? ID = CAR23 } { CONTENT = Is a car an object that is a car and a boat? ID = CAR24 } { CONTENT = Is an object that is a car and a boat a car? ID = CAR25 }