|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectconverters.AlchConverter
public class AlchConverter
This class is part of the YAGO converters (http://mpii.de/yago). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the YAGO team (http://mpii.de/yago). This class converts YAGO to the DB format required by Alchemy
Field Summary | |
---|---|
static java.io.File |
outputFolder
target output folder |
static boolean |
test
set to true to run as test only top 100 of each file |
static java.io.File |
yagoFolder
the yago folder |
Constructor Summary | |
---|---|
AlchConverter()
|
Method Summary | |
---|---|
static void |
entityList(java.io.Writer out)
creates the entity list |
static void |
facts(java.io.File outputFolder)
creates the fact list |
static void |
fromIniFile(java.io.File initFile)
reads the parameters from the ini file |
static void |
main(java.lang.String[] args)
main method requires no args but a yago ini path can be provided |
static java.lang.String |
mlnNameFor(java.lang.Object entity)
minimises the entity name |
static void |
requestInformation()
request information instead of using yago.ini file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.File yagoFolder
public static java.io.File outputFolder
public static boolean test
Constructor Detail |
---|
public AlchConverter()
Method Detail |
---|
public static java.lang.String mlnNameFor(java.lang.Object entity)
public static void entityList(java.io.Writer out) throws java.lang.Exception
out
-
java.lang.Exception
public static void facts(java.io.File outputFolder) throws java.lang.Exception
outputFolder
- file
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
public static void fromIniFile(java.io.File initFile) throws java.lang.Exception
initFile
-
java.lang.Exception
public static void requestInformation() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |