public class AuxiliaryTraleInstance
extends java.lang.Thread
Constructor and Description |
---|
AuxiliaryTraleInstance(boolean newInstance)
Crudely gains access to some SICStus instance (caller or new) and stores it for operations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compileGrammar(java.lang.String fileName)
Lets the instance compile a grammar in the current working directory.
|
java.lang.String |
descToMgsGrisu(java.lang.String descString) |
void |
discardGrammar()
Lets the instance discard the currently compiled grammar.
|
java.lang.String |
entsToMguGrisu(IEntity ent1,
IEntity ent2) |
java.lang.String |
entToMgsGrisu(IEntity ent) |
TraleSLDSignature |
getCurrentSignature()
Reads out the current signature (usually after theory compilation).
|
java.lang.String |
getLemmata()
Returns all the lemmata defined in the current theory.
|
TraleSLDSignature |
getSignature(java.lang.String fileName)
Lets the instance compile and return a signature from a file.
|
java.lang.String |
lexEntryGrisu(java.lang.String lemma) |
void |
loadEmbeddedKahinaInstance()
For testing purposes: Loads another instance of Kahina inside the embedding instance.
|
static void |
main(java.lang.String[] args) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public AuxiliaryTraleInstance(boolean newInstance)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean compileGrammar(java.lang.String fileName)
fileName
- the file namepublic void discardGrammar()
public java.lang.String getLemmata()
public TraleSLDSignature getSignature(java.lang.String fileName)
fileName
- the file namepublic TraleSLDSignature getCurrentSignature()
public void loadEmbeddedKahinaInstance()
public java.lang.String lexEntryGrisu(java.lang.String lemma)
public java.lang.String descToMgsGrisu(java.lang.String descString)
public java.lang.String entToMgsGrisu(IEntity ent)
public java.lang.String entsToMguGrisu(IEntity ent1, IEntity ent2)
public static void main(java.lang.String[] args)