|
2016-01-07
, 10:53
|
Posts: 281 |
Thanked: 679 times |
Joined on Feb 2010
|
#162
|
|
2016-01-07
, 11:12
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#163
|
The Following User Says Thank You to ferlanero For This Useful Post: | ||
|
2016-01-07
, 11:19
|
Posts: 281 |
Thanked: 679 times |
Joined on Feb 2010
|
#164
|
I get the dict's from here:
https://github.com/titoBouzout/Dicti...s/blob/master/
The Following User Says Thank You to cy8aer For This Useful Post: | ||
|
2016-01-07
, 11:37
|
Posts: 102 |
Thanked: 187 times |
Joined on Jan 2010
|
#165
|
The Following User Says Thank You to ljo For This Useful Post: | ||
|
2016-01-07
, 12:36
|
Posts: 16 |
Thanked: 11 times |
Joined on Jun 2015
|
#166
|
|
2016-01-07
, 13:52
|
Posts: 738 |
Thanked: 819 times |
Joined on Jan 2012
@ Berlin
|
#167
|
Hm according to @eber42 on tjc you need corpus files:
"Corpus files are compressed plain text files (.txt.bz2) and not tar files. So you can just join different sources before compression. They should contain only sentences separated with dots and/or blank lines, and with proper capitalization."
|
2016-01-07
, 16:04
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#168
|
@ferlanero, I get no clear status of where you are in the processing of the corpus file, since you say you got the hunspell dicts from github. The hunspell dicts cannot be used with OKboard more than as word lists.
So please give clear info on if you with "I have already generated the Spanish dictionaries", mean you have copied the hunspell ones only or actually processed a corpus of Spanish texts according to the README.md.
|
2016-01-07
, 16:30
|
Posts: 738 |
Thanked: 819 times |
Joined on Jan 2012
@ Berlin
|
#169
|
|
2016-01-07
, 17:16
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#170
|
can someone explain how i setup the WORK_DIR and CORPUS_DIR environments variable
cat file1 file2 file3 file4 file5 > corpus-es.txt
*NOTE: You should change USERNAME by your own name
export CORPUS_DIR=/home/USERNAME/okboard/langs
export WORK_DIR=/home/USERNAME/okboard/langs
echo $VARIABLE_NAME
bzip2 /home/USERNAME/okboard/langs/corpus-es.txt
cd /home/USERNAME/okb-engine-master/
lbzip2 -d < /home/USERNAME/okboard/langs/corpus-es.txt.bz2 | ./tools/clean_corpus.py | lbzip2 > /home/USERNAME/okboard/langs/clean_corpus-es.txt.bz2
mv /home/USERNAME/okboard/langs/corpus-es.txt.bz2 /home/USERNAME/okboard
mv /home/USERNAME/okboard/langs/clean_corpus-es.txt.bz2 /home/USERNAME/okboard/langs/corpus-es.txt.bz2
db/build.sh es
gzip -9 /home/USERNAME/okboard/langs/es.tre
gzip -9 /home/USERNAME/okboard/langs/predict-es.db
gzip -9 /home/USERNAME/okboard/langs/predict-es.ng
scp /home/USERNAME/okboard/langs/es.tre.gz /home/nemo/rpmbuild/BUILD/okboard-spanish-x.x-1.arm/ .
scp /home/USERNAME/okboard/langs/predict-es.db.gz /home/nemo/rpmbuild/BUILD/okboard-spanish-x.x-1.arm/ .
scp /home/USERNAME/okboard/langs/predict-es.id /home/nemo/rpmbuild/BUILD/okboard-spanish-x.x-1.arm/ .
scp /home/USERNAME/okboard/langs/predict-es.ng.gz /home/nemo/rpmbuild/BUILD/okboard-spanish-x.x-1.arm/ .
Tags |
bettertxtentry, huntnpeck sucks, okboard, sailfish, swype |
|
Thanks in advance!