Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Commit

Permalink
@tgalery input
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Dowling authored and tgalery committed Jan 17, 2016
1 parent e7e4aca commit cab0bc2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ object CreateSpotlightModel {
SpotlightLog.warn(this.getClass,
"No redirects and disambiguations supplied! Not loading WikipediaToDBpediaClosure."
)
System.exit(1)
null
}

Expand Down Expand Up @@ -269,7 +270,7 @@ object CreateSpotlightModel {
)


if (new File(rawDataFolder, "wiki2vec_syn0.csv").exists()){
if (new File(rawDataFolder, "wiki2vec_syn0.csv").exists() && new File(rawDataFolder, "wiki2vec_ids.txt").exists()){
SpotlightLog.debug(this.getClass, "Found vector file, building vectors.mem store.")
val memoryVectorStoreIndexer: MemoryVectorStoreIndexer =
new MemoryVectorStoreIndexer(
Expand Down

0 comments on commit cab0bc2

Please sign in to comment.