parent
b9a4b0f25f
commit
7f06df5826
|
@ -64,7 +64,7 @@ public class KuromojiBinFilesFetcher {
|
||||||
File tarFile = new File(rootDir, "kuromoji_bin_files.tar.gz");
|
File tarFile = new File(rootDir, "kuromoji_bin_files.tar.gz");
|
||||||
if (!tarFile.isFile()) {
|
if (!tarFile.isFile()) {
|
||||||
FileUtils.copyURLToFile(
|
FileUtils.copyURLToFile(
|
||||||
new URL("https://dhkuromoji.blob.core.windows.net/kuromoji/kuromoji_bin_files.tar.gz"),
|
new URL("https://dl4jdata.blob.core.windows.net/kuromoji/kuromoji_bin_files.tar.gz"),
|
||||||
tarFile);
|
tarFile);
|
||||||
}
|
}
|
||||||
ArchiveUtils.unzipFileTo(tarFile.getAbsolutePath(), rootDir.getAbsolutePath());
|
ArchiveUtils.unzipFileTo(tarFile.getAbsolutePath(), rootDir.getAbsolutePath());
|
||||||
|
|
Loading…
Reference in New Issue