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

Unified Diff: update_scowl_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: One more word for the delta files 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
« en_GB.dic_delta ('K') | « update_dictionaries.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_scowl_dictionaries.py
diff --git a/update_scowl_dictionaries.py b/update_scowl_dictionaries.py
deleted file mode 100755
index b7223f1ebfec786c44700de75aa50ead989caa2f..0000000000000000000000000000000000000000
--- a/update_scowl_dictionaries.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import sys
-import urllib
-from zipfile import ZipFile
-
-def main():
- if not os.getcwd().endswith("hunspell_dictionaries"):
- 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",
- "en_US.zip")
- urllib.urlretrieve(
- "http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2015.05.18.zip",
- "en_CA.zip")
- ZipFile("en_US.zip").extractall()
- ZipFile("en_CA.zip").extractall()
- os.remove("en_US.zip")
- os.remove("en_CA.zip")
- return 0
-
-if __name__ == '__main__':
- sys.exit(main())
« en_GB.dic_delta ('K') | « update_dictionaries.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698