File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
core/src/main/scala/org/dbpedia/extraction/config/mappings Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,13 @@ object InfoboxExtractorConfig
2727
2828 // When you generate statistics, set the following to true. To get full coverage, you should
2929 // probably set most other parameters here to zero or empty values.
30- val extractTemplateStatistics = false
30+ val extractTemplateStatistics =
31+ try {
32+ System .getProperty(" extract.template.stats" , " false" ).toBoolean
33+ } catch {
34+ case ex : Exception => false
35+ }
3136
3237 val minPropertyCount = 2
33-
3438 val minRatioOfExplicitPropertyKeys = 0.75
3539}
Original file line number Diff line number Diff line change 6767 </jvmArgs >
6868 </launcher >
6969
70+ <launcher >
71+ <id >stats-extraction</id >
72+ <mainClass >org.dbpedia.extraction.dump.extract.Extraction</mainClass >
73+
74+ <jvmArgs >
75+ <jvmArg >-server</jvmArg >
76+ <!-- Request statistics -->
77+ <jvmArg >-Dextract.template.stats=true</jvmArg >
78+ <!--
79+ <jvmArg>-Xmx4096m</jvmArg>
80+ <jvmArg>-XX:+HeapDumpOnOutOfMemoryError</jvmArg>
81+ <jvmArg>-XX:+UseConcMarkSweepGC</jvmArg>
82+ <jvmArg>-XX:+PrintGC</jvmArg>
83+ <jvmArg>-XX:+PrintGCTimeStamps</jvmArg>
84+ <jvmArg>-Dhttp.proxyHost=proxy.server.com</jvmArg>
85+ <jvmArg>-Dhttp.proxyPort=80</jvmArg>
86+ <jvmArg>-Dhttp.proxyUser=user</jvmArg>
87+ <jvmArg>-Dhttp.proxyPassword=password</jvmArg>
88+ <jvmArg>-Dhttp.nonProxyHosts="localhost|127.0.0.1"</jvmArg>
89+ -->
90+ </jvmArgs >
91+ </launcher >
92+
7093 <launcher >
7194 <id >compress</id >
7295 <mainClass >org.dbpedia.extraction.dump.compress.Compress</mainClass >
You can’t perform that action at this time.
0 commit comments