Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Cdg - The Root Module


Detailed Description

Initialization of the CDG system on startup.

This is the so called root module of the library with the following purpose:

All other modules depend on this module and include cdg.h


Forward type definitions

This set of declarations help to deal with cirular C-structures which introduce circular header file dependencies as a consequence. All type definitions of that kind are moved to this place here to get a one-stop forward declaration.

typedef ChunkStructChunk
typedef ChunkerStructChunker
typedef ChunkerStruct ChunkerStruct
typedef ChunkStruct ChunkStruct
typedef GraphemNodeStructGraphemNode
typedef GraphemNodeStruct GraphemNodeStruct
typedef LexemNodeStructLexemNode
typedef LexemNodeStruct LexemNodeStruct

Defines

#define FALSE   0
#define max(a, b)   (a) > (b) ? (a) : (b)
#define min(a, b)   (a) < (b) ? (a) : (b)
#define NULL   0
#define TRUE   1

Functions

void cdgAgInsert (Agenda a, double score, Pointer state)
void cdgDeleteComputed (void)
void cdgExecPragmas (List pragmas)
void cdgFinalize (void)
void cdgFreeString (String str)
void cdgInitialize (void)

Variables

Boolean cdgCtrlCAllowed
Boolean cdgCtrlCAllowed = FALSE
Boolean cdgCtrlCTrapped
Boolean cdgCtrlCTrapped = FALSE
Boolean cdgEncodeUmlauts
Boolean cdgEncodeUmlauts = FALSE
Hashtable cdgNets
Hashtable cdgNets
Hashtable cdgParses
Hashtable cdgParses
Hashtable cdgProblems
Hashtable cdgProblems
unsigned long cdgTimeLimit
unsigned long cdgTimeLimit = 0
String cdgUser
String cdgUser = NULL
Boolean cdgXCDG
Boolean cdgXCDG = FALSE


Define Documentation

#define FALSE   0
 

this is false. FALSE has the numeric value 0. Definition at line 215 of file cdg.h.

Referenced by bCompare(), chunkerCommandValidate(), chunkerNew(), cmdActivate(), cmdAnno2Parse(), cmdAnnos2prolog(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdCompile(), cmdConstraint(), cmdDeactivate(), cmdDistance(), cmdEdges(), cmdFrobbing(), cmdHelp(), cmdHierarchy(), cmdHook(), cmdIncrementalCompletion(), cmdInputwordgraph(), cmdISearch(), cmdLevel(), cmdLevelsort(), cmdLexicon(), cmdLoad(), cmdLs(), cmdNet(), cmdNetdelete(), cmdNetsearch(), cmdNewnet(), cmdNonSpecCompatible(), cmdParsedelete(), cmdParses2prolog(), cmdPrintParse(), cmdPrintParses(), cmdQuit(), cmdRenewnet(), cmdReset(), cmdSection(), cmdSet(), cmdShift(), cmdShowlevel(), cmdTagger(), cmdTesting(), cmdUseconstraint(), cmdUselevel(), cmdUseLexicon(), cmdVerify(), cmdWeight(), cmdWordgraph(), cmdWriteAnno(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuildEdges(), cnBuildFinal(), cnBuildIter(), cnBuildLv(), cnBuildTriple(), cnBuildUpdateArcs(), cnCompareViolation(), cnOptimizeNet(), cnOptimizeNode(), cnRenew(), cnTag(), cnUndeleteAllLVs(), comApprove(), comCompareAllLvPairs(), comCompareAllLvs(), comCompareLvs(), comCompareNets(), comCompareWithContext(), comCompile(), comInitGrammar(), comMake(), commandEval(), comNew(), compareChunks(), comPrint(), comReturnTypeOfFunction(), comTranslateAbs(), comTranslateArithmetics(), comTranslateConstraint(), comTranslateDistance(), comTranslateEquation(), comTranslateHas(), comTranslateLookup(), comTranslateMatch(), comTranslateMinMax(), comTranslatePrint(), comTranslateTerm(), cvCompare(), cvCompareNatural(), cvContains(), dbAvailable(), dbClose(), dbLoad(), dbLoadAll(), dbLoadEntries(), dbOpen(), dbOpenIndexFile(), evalBinary(), evalConstraint(), evalFormula(), evalInitialize(), evalTerm(), evalValidateEvalMethod(), hkFindNoOfHook(), hkInitialize(), hkValidate(), initChunker(), initFakeChunker(), initRealChunker(), lgAreDeletedNodes(), lgCompatibleSets(), lgComputeNoOfPaths(), lgContains(), lgCopySelection(), lgForbiddenBy(), lgIntersectingSets(), lgIsEndNode(), lgIsStartNode(), lgLexemeInLexemNodeList(), lgMakePath(), lgMember(), lgNewFinal(), lgNewIter(), lgSimultaneous(), lgSpuriousUppercase(), lgSubset(), smNew(), timerSetAlarm(), and timerStopAlarm().

#define max a,
 )     (a) > (b) ? (a) : (b)
 

maximum of a or b. Be aware that the expressions a and b might be evaluated twice depending on wether a or b are greater. Definition at line 183 of file cdg.h.

Referenced by cnBuildFinal(), cnPrint(), cnPrintInfo(), comConstraintDepth(), comFormulaDepth(), comFunctionDepth(), comMaxLookupStrings(), comMaxLookupStringsInFormula(), comPredicateDepth(), comTermDepth(), and lgNewIter().

#define min a,
 )     (a) < (b) ? (a) : (b)
 

minimum of a or b. Be aware that the expressions a and b might be evaluated twice depending on wether a or b are smaller. Definition at line 190 of file cdg.h.

Referenced by cnPrint(), cnPrintInfo(), comIndent(), comOutdent(), and lgNewIter().

#define NULL   0
 

null, zero, nadda, nothing. NULL has the numeric value 0. Definition at line 199 of file cdg.h.

Referenced by annotation_completion_function(), cdgDeleteComputed(), cdgExecPragmas(), cdgInitialize(), cdgPrintf(), chunkerChunk(), chunkerCloneChunk(), chunkerCommandValidate(), chunkerInitialize(), chunkerNew(), cmdActivate(), cmdAnno2Parse(), cmdAnnos2prolog(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdConstraint(), cmdDeactivate(), cmdDistance(), cmdEdges(), cmdHelp(), cmdHierarchy(), cmdHook(), cmdIncrementalCompletion(), cmdInputwordgraph(), cmdISearch(), cmdLevel(), cmdLexicon(), cmdLoad(), cmdLs(), cmdNet(), cmdNetdelete(), cmdNetsearch(), cmdNewnet(), cmdNonSpecCompatible(), cmdParsedelete(), cmdParses2prolog(), cmdPrintParse(), cmdPrintParses(), cmdRenewnet(), cmdSection(), cmdSet(), cmdShowlevel(), cmdStatus(), cmdUseconstraint(), cmdUselevel(), cmdVerify(), cmdWordgraph(), cmdWriteAnno(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuild(), cnBuildEdges(), cnBuildFinal(), cnBuildInit(), cnBuildIter(), cnBuildLevelValues(), cnBuildLv(), cnBuildNodes(), cnBuildTriple(), cnBuildUpdateArcs(), cnDelete(), cnFindNode(), cnGetGraphemNodeFromArc(), cnInitialize(), cnOptimizeNode(), cnPrint(), cnPrintEdge(), cnPrintInfo(), cnPrintNode(), cnPrintParses(), cnRenew(), cnTag(), cnUnaryPruning(), comApprove(), comCompareAllLvPairs(), comCompareAllLvs(), comCompareLvs(), comCompareNets(), comCompareWithContext(), comCompile(), comEscapeQuotes(), comFindComparableLv(), comFinitGrammar(), comFree(), comFreeApprover(), comFunctionDepth(), comIndexOfConstraint(), comIndexOfHierarchy(), comInitGrammar(), comInitialize(), comLoad(), comMake(), comMakeInfoNew(), command_completion_function(), commandEval(), commandLoop(), comMaxLookupStringsInTerm(), comNew(), comPredicateDepth(), comReturnTypeOfFunction(), comReturnTypeOfPredicate(), comReturnTypeOfTerm(), comTermDepth(), comTranslateBottomPeek(), comTranslateConstraint(), comTranslateExists(), comTranslateHeight(), comTranslateMinMax(), comTranslatePrint(), comTranslateTopPeek(), comWriteDeclarations(), comWriteHeader(), comWriteInitFunction(), constraint_completion_function(), cvAnalyse(), dbClose(), dbGetEntries(), dbLoad(), dbLoadAll(), dbLoadEntries(), dbOpen(), dbOpenCdgFile(), dbOpenIndexFile(), evalBinary(), evalBinaryConstraint(), evalChunker(), evalConstraint(), evalFormula(), evalHookHandle(), evalInContext(), evalInitialize(), evalUnary(), evalUnaryConstraint(), findChunk(), findGrapheme(), frob_method_completion_function(), getCategories(), getCategory(), getChunks(), getFakeChunks(), getFakeChunksAt(), getHookCmd(), getNextArgument(), getsHookHandle(), glsInteractionHookHandle(), gnClone(), hierarchy_completion_function(), hkInitialize(), hook_completion_function(), hooker_init(), ICinteractionHookHandle(), initHookResult(), interface_completion(), level_completion_function(), levelsort_completion_function(), lexicon_completion_function(), lgAreDeletableNodes(), lgAreDeletedNodes(), lgClone(), lgCompatibleNodes(), lgCompatibleSets(), lgComputeNoOfPaths(), lgCopySelection(), lgCopyTagScores(), lgDelete(), lgDeleteNodes(), lgDistanceOfNodes(), lgInitialize(), lgIntersectingSets(), lgIsEndNode(), lgIsStartNode(), lgLexemeInLexemNodeList(), lgMakePath(), lgMember(), lgMostProbablePath(), lgNew(), lgNewFinal(), lgNewInit(), lgNewIter(), lgPartitions(), lgQueryCat(), lgSimultaneous(), lgSubset(), lgUpdateArcs(), logFlush(), logWriteChar(), make_rl_string(), net_completion_function(), netsearchHookHandle(), newChunk(), newDbEntry(), parse_completion_function(), parseGetCategory(), parseGetGrapheme(), parseGetLevelValue(), parseGetRoots(), partialResultHookHandle(), peekValue(), printChunk(), progressHookHandle(), resetChunker(), resetHookHandle(), scInitialize(), search_method_completion_function(), section_completion_function(), set_completion_function(), setHookCmd(), smDelete(), smGetFlag(), smGetScore(), smSetAllFlags(), smSetFlag(), smSetScore(), tclHookHandle(), terminateChild(), timerFree(), timerSetAlarm(), timerStart(), unlock_tree(), word_completion_function(), and wordgraph_completion_function().

#define TRUE   1
 

this is true. TRUE has the numeric value 1. Definition at line 207 of file cdg.h.

Referenced by bCompare(), chunkerCommandValidate(), cmdActivate(), cmdAnno2Parse(), cmdAnnos2prolog(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdCompile(), cmdConstraint(), cmdDeactivate(), cmdDistance(), cmdEdges(), cmdFrobbing(), cmdHelp(), cmdHierarchy(), cmdHook(), cmdIncrementalCompletion(), cmdInputwordgraph(), cmdISearch(), cmdLevel(), cmdLevelsort(), cmdLexicon(), cmdLicense(), cmdLoad(), cmdLs(), cmdNet(), cmdNetsearch(), cmdNewnet(), cmdNonSpecCompatible(), cmdParsedelete(), cmdParses2prolog(), cmdPrintParse(), cmdPrintParses(), cmdQuit(), cmdRenewnet(), cmdReset(), cmdSection(), cmdShift(), cmdShowlevel(), cmdStatus(), cmdTagger(), cmdTesting(), cmdUseconstraint(), cmdUselevel(), cmdUseLexicon(), cmdVerify(), cmdVersion(), cmdWeight(), cmdWordgraph(), cmdWriteAnno(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuildEdges(), cnBuildIter(), cnBuildNodes(), cnBuildTriple(), cnBuildUpdateArcs(), cnCompareViolation(), cnDeleteAllLVs(), cnOptimizeNet(), cnOptimizeNode(), cnRenew(), cnTag(), cnUnaryPruning(), comApprove(), comCompareAllLvPairs(), comCompareAllLvs(), comCompareLvs(), comCompareNets(), comCompareWithContext(), comCompile(), comInitGrammar(), comMake(), commandEval(), commandLoop(), comNew(), compareChunks(), comPrintln(), comTranslate(), comTranslateAbs(), comTranslateArithmetics(), comTranslateBetween(), comTranslateConstraint(), comTranslateDistance(), comTranslateEquation(), comTranslateGuard(), comTranslateHas(), comTranslateMatch(), comTranslateMinMax(), comTranslatePrint(), comTranslateStartStop(), comTranslateSubsumes(), comTranslateUnEquation(), comWriteError(), comWriteWarning(), cvCompare(), cvCompareNatural(), cvContains(), dbAvailable(), dbClose(), dbLoad(), dbLoadAll(), dbLoadEntries(), dbOpen(), dbOpenIndexFile(), evalBinary(), evalBinaryConstraint(), evalConstraint(), evalFormula(), evalInContext(), evalInitialize(), evalUnaryConstraint(), evalValidateEvalMethod(), expire(), hkInitialize(), hkValidate(), initFakeChunker(), initRealChunker(), lgAreDeletableNodes(), lgAreDeletedNodes(), lgCompatibleSets(), lgComputeNoOfPaths(), lgContains(), lgCopySelection(), lgDeleteNode(), lgDeleteNodes(), lgForbiddenBy(), lgIntersectingSets(), lgLexemeInLexemNodeList(), lgMakePath(), lgMayModify(), lgNewFinal(), lgNewIter(), lgRequireLexeme(), lgRequireLexemes(), lgSimultaneous(), lgSpuriousUppercase(), and lgSubset().


Typedef Documentation

typedef ChunkStruct* Chunk
 

type of a chunk pointer Definition at line 237 of file cdg.h.

Referenced by chunkerChunk(), chunkerChunkDelete(), chunkerCloneChunk(), chunkerReplaceGraphemes(), chunkerStringOfChunkType(), cmpChunks(), compareChunks(), countChunks(), embedChunk(), evalChunker(), evalTerm(), findChunk(), getChunks(), getFakeChunksAt(), lgCopyTagScores(), mergeChunk(), newChunk(), postProcessChunks(), and printChunk().

typedef ChunkerStruct* Chunker
 

type of a chunker pointer Definition at line 231 of file cdg.h.

Referenced by chunkerChunk(), chunkerDelete(), chunkerNew(), cmdChunk(), cmpChunks(), cnTag(), embedChunk(), evalChunker(), getChunks(), getFakeChunks(), getFakeChunksAt(), getFakeChunkType(), initChunker(), initFakeChunker(), initRealChunker(), mergeChunk(), parseGetCategory(), parseGetGrapheme(), parseGetLabel(), parseGetLevelValue(), parseGetModifiee(), parseGetRoots(), postProcessChunks(), and resetChunker().

typedef struct ChunkerStruct ChunkerStruct
 

type of a chunker structure Definition at line 228 of file cdg.h.

typedef struct ChunkStruct ChunkStruct
 

type of a chunk structure Definition at line 234 of file cdg.h.

typedef GraphemNodeStruct* GraphemNode
 

type of a graphem node pointer Definition at line 249 of file cdg.h.

Referenced by chunkerChunk(), cmdDistance(), cmpGraphemes(), cnBuildIter(), cnBuildLevelValues(), cnBuildNodes(), cnBuildTriple(), cnBuildUpdateArcs(), cnGetGraphemNodeFromArc(), cnOptimizeNode(), computeNoOfPathsFromStart(), computeNoOfPathsToEnd(), findGrapheme(), getCategories(), getCategory(), getChunks(), getFakeChunksAt(), gnClone(), lgAreDeletableNodes(), lgClone(), lgComputeDistances(), lgComputeNoOfPaths(), lgContains(), lgCopyTagScores(), lgDelete(), lgIsEndNode(), lgIsStartNode(), lgMayModify(), lgMostProbablePath(), lgNewIter(), lgPartitions(), lgQueryCat(), parseGetGrapheme(), and printChunk().

typedef struct GraphemNodeStruct GraphemNodeStruct
 

type of a graphem node structure Definition at line 246 of file cdg.h.

typedef LexemNodeStruct* LexemNode
 

type of a lexem node pointer Definition at line 243 of file cdg.h.

Referenced by cmdDistance(), cnBuildNodes(), cnOptimizeNode(), cnPrintNode(), cnRenew(), cvAnalyse(), evalFormula(), evalTerm(), getCategories(), lgAreDeletableNodes(), lgAreDeletedNodes(), lgClone(), lgCompatibleNodes(), lgCompatibleSets(), lgComputeNoOfPaths(), lgCopySelection(), lgCopyTagScores(), lgDelete(), lgDeleteNode(), lgDeleteNodes(), lgDistanceOfNodes(), lgForbiddenBy(), lgIntersectingSets(), lgIsDeletedNode(), lgLexemeInLexemNodeList(), lgMakePath(), lgMayModify(), lgMember(), lgMostProbablePath(), lgNewIter(), lgOverlap(), lgPartitions(), lgPrint(), lgPrintNode(), lgQueryCat(), lgRequireLexeme(), lgRequireLexemes(), lgSimultaneous(), lgSubset(), lgWidth(), and parseGetCategory().

typedef struct LexemNodeStruct LexemNodeStruct
 

type of a lexem node structure Definition at line 240 of file cdg.h.


Function Documentation

void cdgAgInsert Agenda  a,
double  score,
Pointer  state
[inline]
 

helper function for agInsert. This function calls agInsert and emits truncation warnings using the cdgPrintf mechanism. Definition at line 140 of file cdg.c.

References CDG_WARNING, and cdgPrintf().

void cdgDeleteComputed void   ) 
 

Delete all existing constraint nets, parses and problems.

This should always be used after changing the constraint grammar in any way, because there is no guarantee that the previously computed structures still make sense with the new grammar defnition. A constraint net might contain an LV that used to be allowed, but is now forbidden by a unary hard constraint so that it would not have been built at all under the new regime. Conversely, if the constraint that forbade building a particular LV were turned off, an existing constraint net would become incomplete, and solving it could miss a solution that would be possible under the new conditions. Definition at line 246 of file cdg.c.

References CDG_INFO, cdgExecHook(), cdgNets, cdgParses, cdgPrintf(), cdgProblems, cnDelete(), cnMostRecentlyCreatedNet, ConstraintNet, HOOK_RESET, and NULL.

Referenced by cdgFinalize(), cmdActivate(), cmdDeactivate(), cmdLoad(), cmdReset(), cmdUseconstraint(), and cmdUselevel().

void cdgExecPragmas List  pragmas  ) 
 

Execute all #pragma commands seen during last load operation.

The #pragma commands are stored in the input as they are seen during parsing, but they are not executed until after the load. There are two reasons for this:

1. a #pragma can refer to structures that are loaded from the same file as the #pragma -- so executing it immediately would be too early.

2. if a load operation fails, it should not affect the state of the program at all. Definition at line 309 of file cdg.c.

References commandEval(), and NULL.

Referenced by cmdLoad().

void cdgFinalize void   ) 
 

finalize the CDG library. When shutting down the system each module gets the chance to clean up things that might be worth it calling their finalization callback. Be aware that order of finalization might matter. So the hook module gets finalized at last. Definition at line 327 of file cdg.c.

References cdgDeleteComputed(), cdgFreeString(), cdgUser, comFinalize(), dbFinalize(), evalFinalize(), and hkFinalize().

void cdgFreeString String  str  ) 
 

wrapper for strDelete This function is our wrapper arround the strDelete() of the blah lib. By default this is a NOP, that is: we don't call strDelete(). You might switch on the call to strDelete() at compile time, if you are brave enuf and wanna help to debug string programming. Definition at line 127 of file cdg.c.

Referenced by cdgFinalize(), chunkerCommandValidate(), cnDelete(), comFree(), comMakeInfoFree(), commandEval(), evalFinalize(), getChunks(), interface_completion(), and resetChunker().

void cdgInitialize void   ) 
 

system initialization. This is the initialization of the root module that initializes all other modules containing an initialization callback. It is absolutely necessary to call this function before starting to use the CDG library. In general this is done by the cdgp commandline frontend or by the tcl and perl language extension while loading the bindings. When finishing the CDG library the cousin of this function - cdgFinalize() - is to be called. Definition at line 160 of file cdg.c.

References cdgEncodeUmlauts, cdgNets, cdgParses, cdgProblems, cdgTimeLimit, cdgUser, chunkerInitialize(), cnInitialize(), comInitialize(), dbInitialize(), evalInitialize(), hkInitialize(), lgInitialize(), NULL, scInitialize(), and timerInitialize().


Variable Documentation

Boolean cdgCtrlCAllowed
 

allow a ctrl-c event. This flag is used to allow the signal handler to indicate a ctrl-c event. If TRUE the signal handler will set cdgCtrlCTrapped, if FALSE it will not. Definition at line 84 of file cdg.c.

Referenced by cmdAnno2Parse(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdFrobbing(), cmdHierarchy(), cmdIncrementalCompletion(), cmdISearch(), cmdLexicon(), cmdNet(), cmdNetsearch(), cmdNewnet(), cmdPrintParse(), cmdPrintParses(), cmdShift(), cmdWordgraph(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuildFinal(), and comApprove().

Boolean cdgCtrlCAllowed = FALSE
 

allow a ctrl-c event. This flag is used to allow the signal handler to indicate a ctrl-c event. If TRUE the signal handler will set cdgCtrlCTrapped, if FALSE it will not. Definition at line 84 of file cdg.c.

Referenced by cmdAnno2Parse(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdFrobbing(), cmdHierarchy(), cmdIncrementalCompletion(), cmdISearch(), cmdLexicon(), cmdNet(), cmdNetsearch(), cmdNewnet(), cmdPrintParse(), cmdPrintParses(), cmdShift(), cmdWordgraph(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuildFinal(), and comApprove().

Boolean cdgCtrlCTrapped
 

indicator flag set by the signal handler of ctrl-c. If cdgCtrlCAllowed is TRUE and the user presses ctrl-c the flag cdgCtrlCTrapped is set to TRUE. It's the responsibility of the current function to re-act to the interruption. Definition at line 76 of file cdg.c.

Referenced by cmdAnno2Parse(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdFrobbing(), cmdHierarchy(), cmdIncrementalCompletion(), cmdISearch(), cmdLexicon(), cmdNet(), cmdNetsearch(), cmdNewnet(), cmdPrintParse(), cmdPrintParses(), cmdShift(), cmdWordgraph(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuild(), cnBuildEdges(), cnBuildFinal(), cnBuildIter(), cnPrint(), comApprove(), comCompareAllLvPairs(), comCompareAllLvs(), and comCompareWithContext().

Boolean cdgCtrlCTrapped = FALSE
 

indicator flag set by the signal handler of ctrl-c. If cdgCtrlCAllowed is TRUE and the user presses ctrl-c the flag cdgCtrlCTrapped is set to TRUE. It's the responsibility of the current function to re-act to the interruption. Definition at line 76 of file cdg.c.

Referenced by cmdAnno2Parse(), cmdAnnotation(), cmdChunk(), cmdCompareParses(), cmdFrobbing(), cmdHierarchy(), cmdIncrementalCompletion(), cmdISearch(), cmdLexicon(), cmdNet(), cmdNetsearch(), cmdNewnet(), cmdPrintParse(), cmdPrintParses(), cmdShift(), cmdWordgraph(), cmdWriteNet(), cmdWriteParses(), cmdWriteWordgraph(), cnBuild(), cnBuildEdges(), cnBuildFinal(), cnBuildIter(), cnPrint(), comApprove(), comCompareAllLvPairs(), comCompareAllLvs(), and comCompareWithContext().

Boolean cdgEncodeUmlauts
 

If set, pseudo-umlaut sequences typed into the CDG shell will be turned into real 8bit umlauts: "a ==> ä Definition at line 103 of file cdg.c.

Referenced by cdgInitialize().

Boolean cdgEncodeUmlauts = FALSE
 

If set, pseudo-umlaut sequences typed into the CDG shell will be turned into real 8bit umlauts: "a ==> ä Definition at line 103 of file cdg.c.

Referenced by cdgInitialize().

Hashtable cdgNets
 

all existing ConstraintNets Definition at line 112 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), cmdEdges(), cmdISearch(), cmdNet(), cmdNetdelete(), cmdNetsearch(), cmdNewnet(), cmdStatus(), cmdWriteAnno(), cmdWriteNet(), cnFindNet(), comApprove(), and net_completion_function().

Hashtable cdgNets
 

all existing ConstraintNets Definition at line 112 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), cmdEdges(), cmdISearch(), cmdNet(), cmdNetdelete(), cmdNetsearch(), cmdNewnet(), cmdStatus(), cmdWriteAnno(), cmdWriteNet(), cnFindNet(), comApprove(), and net_completion_function().

Hashtable cdgParses
 

all existing Parses Definition at line 113 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), cmdCompareParses(), cmdParsedelete(), cmdParses2prolog(), cmdPrintParse(), cmdStatus(), and parse_completion_function().

Hashtable cdgParses
 

all existing Parses Definition at line 113 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), cmdCompareParses(), cmdParsedelete(), cmdParses2prolog(), cmdPrintParse(), cmdStatus(), and parse_completion_function().

Hashtable cdgProblems
 

all existing Problems Definition at line 114 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), and cmdNetdelete().

Hashtable cdgProblems
 

all existing Problems Definition at line 114 of file cdg.c.

Referenced by cdgDeleteComputed(), cdgInitialize(), and cmdNetdelete().

unsigned long cdgTimeLimit
 

time limit in milliseconds used by netsearch, frobbing and gls. The value of cdgTimeLimit is normaly used to install a timer alarm as in timerSetAlarm(cdgTimeLimit); Definition at line 97 of file cdg.c.

Referenced by cdgInitialize(), cmdFrobbing(), and cmdShift().

unsigned long cdgTimeLimit = 0
 

time limit in milliseconds used by netsearch, frobbing and gls. The value of cdgTimeLimit is normaly used to install a timer alarm as in timerSetAlarm(cdgTimeLimit); Definition at line 97 of file cdg.c.

Referenced by cdgInitialize(), cmdFrobbing(), and cmdShift().

String cdgUser
 

user name currently running the CDG system. On startup the user name is stored into this place and propagated to newly computed parses. Definition at line 110 of file cdg.c.

Referenced by cdgFinalize(), and cdgInitialize().

String cdgUser = NULL
 

user name currently running the CDG system. On startup the user name is stored into this place and propagated to newly computed parses. Definition at line 110 of file cdg.c.

Referenced by cdgFinalize(), and cdgInitialize().

Boolean cdgXCDG
 

xcdg indicator flag. If TRUE we're running under XCDG. Definition at line 90 of file cdg.c.

Referenced by cnBuildEdges(), and getNextArgument().

Boolean cdgXCDG = FALSE
 

xcdg indicator flag. If TRUE we're running under XCDG. Definition at line 90 of file cdg.c.

Referenced by cnBuildEdges(), and getNextArgument().


CDG 0.95 (20 Oct 2004)