neologd / mecab-ipadic-neologd

Neologism dictionary based on the language resources on the Web for mecab-ipadic
Other
2.7k stars 288 forks source link

Downloading from OSDN is too slow #84

Open e-mon opened 2 years ago

e-mon commented 2 years ago

Motivation

The ipadicdownload from osdn seems to be very slow, actually only about 15kb/sec and taking over 10 minutes.

Is it possible to change the priority again to google drive being the top priority? It seems that the #52 has made changes in the past, but the current behavior of using a source that response the success http status (200) solve the original problem?

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 11.6M    0 24576    0     0  17655      0  0:11:31  0:00:01  0:11:30 24094
  0 11.6M    0 40960    0     0  17116      0  0:11:53  0:00:02  0:11:51 20267
  0 11.6M    0 57344    0     0  16890      0  0:12:02  0:00:03  0:11:59 18969
  0 11.6M    0 73728    0     0  16771      0  0:12:07  0:00:04  0:12:03 18322
  0 11.6M    0 90112    0     0  16696      0  0:12:11  0:00:05  0:12:06 17932
yanyin1986 commented 1 year ago

https://github.com/neologd/mecab-ipadic-neologd/blob/abc61e33d8be3d0ead202e6b1df064c72d5ccf11/libexec/make-mecab-ipadic-neologd.sh#L58-L60 @e-mon You can swap index 0 and index 1 like that:

DIST_SITE_URL_LIST[0]="https://drive.google.com/"
DIST_SITE_URL_LIST[1]="https://ja.osdn.net/"
DIST_SITE_URL_LIST[2]="https://sourceforge.net/"

Maybe that can help you.