|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinpro.irmrsc.util.RMRSLoader
public class RMRSLoader
A helper class to load the semantic macros, the mapping from syntactic rules to semantic macros and the POS-tag lexicon.
Constructor Summary | |
---|---|
RMRSLoader()
|
Method Summary | |
---|---|
static java.util.List<SemanticMacro> |
loadMacros(java.net.URL url)
Loads a xml specification of semantic macros from a given url. |
static java.util.Map<java.lang.String,java.lang.String> |
loadRules(java.net.URL url)
Loads a xml specification of the mapping between syntactic rules IDs and semantic macro longnames. |
static java.util.Map<java.lang.String,Variable.Type> |
loadTagLexicon(java.net.URL url)
Loads a xml specification of the mapping between POS-tags and the basic semantic types that lexical predicate formulas of words with this tags receive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMRSLoader()
Method Detail |
---|
public static java.util.List<SemanticMacro> loadMacros(java.net.URL url)
url
- the specified url of the xml to load
public static java.util.Map<java.lang.String,java.lang.String> loadRules(java.net.URL url)
url
- the specified url of the xml to load
public static java.util.Map<java.lang.String,Variable.Type> loadTagLexicon(java.net.URL url)
url
- the specified url of the xml to load
Variable.Type
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |