Skip to content

Commit

Permalink
version 2.0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreeshrii committed Mar 16, 2017
1 parent a5267a4 commit bf1f8ce
Show file tree
Hide file tree
Showing 24 changed files with 14,301 additions and 13,659 deletions.
16 changes: 13 additions & 3 deletions Hindi/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Initial Release 2.0.0
Holi 2017
* Build aff file with grammar rules
Expand All @@ -7,12 +8,21 @@ Holi 2017
Version 2.0.0.2
Thu Mar 16, 2017
=============
* Add to aff file - ICONV । . - Ravi Ratlami
* Add to aff file - ICONV ॥ . - V S Rawat
* Add to aff file - ICONV PurnaViram rule - Ravi Ratlami
* Add to aff file - ICONV Double Danda rule - V S Rawat
* Use combined form of nukta letters - Hariram Pansari
* Updates to aff and dic files
* Add hi-CLDR.dic
* Add hi-angrezi.dic
* Add tools directory and update build process
* Add tools directory and bash scripts
* Add unmunched versions of dictionary files
* Update build process
* Provide Open Office version of dictionary - hi_spellchecker_OOo3.oxt
This is the same as dict-hi_IN.zip .

Version 2.0.0.3
Thu Mar 16, 2017
=============
* Update build process
* Add version number to hi_IN.aff
* Delete dict-hi_IN directory
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 8 additions & 10 deletions dict-hi_IN/build.sh → Hindi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,39 @@ ROOT_DIR=`pwd`
TMP_DIR=build
APP_NAME=hi_spellchecker_OOo3

ROOT_FILES="description.xml dictionaries.xcu LICENSES-hi.txt LICENSES-en.txt "
VAR_FILES="description.xml dictionaries.xcu LICENSES-hi.txt LICENSES-en.txt "
ROOT_FILES="description.xml dictionaries.xcu LICENSES-hi.txt LICENSES-en.txt hi_IN.dic hi_IN.aff CHANGELOG"
VAR_FILES="description.xml dictionaries.xcu LICENSES-hi.txt LICENSES-en.txt hi_IN.aff"
#uncomment to debug
set -x

. ../tools/version.sh

# remove any left-over files from prehious build
rm $APP_NAME.oxt
# remove any left-over files from previous build
rm ../$APP_NAME.oxt
rm ../dict-hi_IN.zip
rm -rf $TMP_DIR

# prepare components and defaults
echo "Copying various files to $TMP_DIR folder..."

mkdir -p $TMP_DIR/dictionaries
mkdir -p $TMP_DIR/META-INF

for ROOT_FILE in $ROOT_FILES ; do
cp -v $ROOT_FILE $TMP_DIR
done

cp META-INF/manifest.xml $TMP_DIR/META-INF/manifest.xml
cp ../Hindi/hi_IN.dic $TMP_DIR/dictionaries/hi_IN.dic
cp ../Hindi/hi_IN.aff $TMP_DIR/dictionaries/hi_IN.aff
cp ../Hindi/CHANGELOG $TMP_DIR/dictionaries/CHANGELOG

cd $TMP_DIR

ls -l

if [ -n "$VAR_FILES" ]; then
echo "Substituting variables for version $VERSION, commit $BLOB on $REV_DATE..."
for VAR_FILE in $VAR_FILES; do
if [ -f $VAR_FILE ]; then
echo $VAR_FILE
sed -i -e "s/SPELLCHECKERVERSION/$VERSION/" $VAR_FILE
sed -i -e "s/SPELLCHECKERDATE/$REV_DATE/" $VAR_FILE
fi
done
fi

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Hindi/expand-all.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
./expand.sh hi-adj
./expand.sh hi-adverb
./expand.sh hi-alphabet
./expand.sh hi-freq
./expand.sh hi-hyphen
./expand.sh hi-misc
./expand.sh hi-nouns
./expand.sh hi-num
./expand.sh hi-prefix
./expand.sh hi-verbs
Loading

0 comments on commit bf1f8ce

Please sign in to comment.