Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Commit 8856b8c

Browse files
committed
Add chars used in galician language
1 parent 6da7957 commit 8856b8c

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,8 @@ task parseTextInputFiles(type: GenerateWordsListTask) {
104104
dependsOn uncompressTextFiles
105105
inputFiles new File(project.getProjectDir(), "dictionary/glwiki-20180220-pages-articles.txt")
106106
outputWordsListFile new File(project.getProjectDir(), "dictionary/words_from_texts.xml")
107-
}
108-
109-
//another option is to download the words-list from AOSP at https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/dictionaries/
110-
//make sure that you are using an unzipped file. The XX_wordlist.combined file should be a plain text file.
111-
task parseAospForEnglishDictionary(type: GenerateWordsListFromAOSPTask) {
112-
inputFile new File(project.getProjectDir(), "dictionary/aosp_en_wordlist.combined")
113-
outputWordsListFile new File(project.getProjectDir(), "dictionary/words_from_aosp.xml")
114-
maxWordsInList 300000
107+
locale new Locale("gl", "ES")
108+
wordCharacters "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÁáÉéÍíÓóÚúÜüÑñÇç".toCharArray()
115109
}
116110

117111
task mergeAllWordLists(type: MergeWordsListTask) {

0 commit comments

Comments
 (0)