Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1459)

Unified Diff: update_dictionaries.py

Issue 1810993003: Updated en-* dictionaries to 7-0. Added fa-IR. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git@master
Patch Set: Trying to force upload fa_IR.dic Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fa_IR.aff ('k') | update_scowl_dictionaries.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_dictionaries.py
diff --git a/update_scowl_dictionaries.py b/update_dictionaries.py
similarity index 80%
rename from update_scowl_dictionaries.py
rename to update_dictionaries.py
index b7223f1ebfec786c44700de75aa50ead989caa2f..4bcd723ecb03be47a8ea92e2acee0835fa001ad8 100755
--- a/update_scowl_dictionaries.py
+++ b/update_dictionaries.py
@@ -13,15 +13,20 @@ def main():
print "Please run this file from the hunspell_dictionaries directory"
return 1
urllib.urlretrieve(
- "http://downloads.sourceforge.net/wordlist/hunspell-en_US-2015.05.18.zip",
+ "http://downloads.sourceforge.net/wordlist/hunspell-en_US-2015.08.24.zip",
groby-ooo-7-16 2016/03/18 00:17:11 Three times is the charm for factoring out... dic
Kevin Bailey 2016/03/18 14:00:42 Done and linted.
"en_US.zip")
urllib.urlretrieve(
- "http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2015.05.18.zip",
+ "http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2015.08.24.zip",
"en_CA.zip")
+ urllib.urlretrieve(
+ "http://downloads.sourceforge.net/lilak/lilak_fa-IR_2-0.zip",
+ "fa_IR.zip")
ZipFile("en_US.zip").extractall()
ZipFile("en_CA.zip").extractall()
+ ZipFile("fa_IR.zip").extractall()
os.remove("en_US.zip")
os.remove("en_CA.zip")
+ os.remove("fa_IR.zip")
return 0
if __name__ == '__main__':
« no previous file with comments | « fa_IR.aff ('k') | update_scowl_dictionaries.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698