|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hops.lg.pg.LDProcess
public class LDProcess
Process the LanguageDescriptor structure and generate sentences classified by rule names and attributes
Constructor Summary | |
---|---|
LDProcess()
Creates a new instance of LDProcess |
Method Summary | |
---|---|
java.util.HashMap |
patternsPhrases(lg_util.LG_LD lg,
lg_util.LG_LD lg_general)
process the patterns hashmap and returns the set of phrases for each pattern |
java.util.HashMap |
RulesPhrases(lg_util.LG_LD lg,
lg_util.LG_LD lg_general,
java.util.HashMap patterns,
java.util.HashMap patterns_general)
Process the rules of the language descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDProcess()
Method Detail |
---|
public java.util.HashMap RulesPhrases(lg_util.LG_LD lg, lg_util.LG_LD lg_general, java.util.HashMap patterns, java.util.HashMap patterns_general)
lg
- the language descriptor to processlg_general
- is a mark is not found in the language descriptor, it searchs in the general one.patterns
- the patterns phrases generated for the lgpatterns_general
- the patterns phrases generated for the lg_general
public java.util.HashMap patternsPhrases(lg_util.LG_LD lg, lg_util.LG_LD lg_general)
lg
- the language generator to processlg_general
- the general language generator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |