Commit 6e24ca82 authored by Vasudev Kamath's avatar Vasudev Kamath

Imported Upstream version 0.02

parents
This diff is collapsed.
GNU Aspell Hindi Word List Package
Copyright © 2007 Gora Mohanty <gora@sarai.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Generated with Aspell Dicts "proc" script version 0.60.4
lang = hi
version = 0.02-0
cwl_files = hi.cwl
data_files = hi.dat u-deva.cset u-deva.cmap hi_phonet.dat hi_affix.dat hi_repl.dat
doc_files = README COPYING Copyright
extra_files = configure info Makefile.pre
multi_files = hi.multi hindi.alias
rws_files = hi.rws
distdir=aspell6-${lang}-${version}
all: ${rws_files} ${data_files}
install: all
mkdir -p ${DESTDIR}${dictdir}/
cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
mkdir -p ${DESTDIR}${datadir}/
cp ${data_files} ${DESTDIR}${datadir}/
cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}
clean:
rm -f ${rws_files}
distclean: clean
rm -f Makefile
maintainer-clean: distclean
rm -f ${multi_files} configure Makefile.pre
uninstall:
-cd ${DESTDIR}${dictdir}/ && rm ${rws_files} ${multi_files} ${link_files}
-cd ${DESTDIR}${datadir}/ && rm ${data_files}
dist: ${cwl_files}
perl proc
./configure
@make dist-nogen
dist-nogen:
-rm -r ${distdir}.tar.bz2 ${distdir}
mkdir ${distdir}
cp -p ${extra_files} ${cwl_files} ${multi_files} ${doc_files} ${data_files} ${distdir}/
-test -e doc && mkdir ${distdir}/doc && chmod 755 ${distdir}/doc && cp -pr doc/* ${distdir}/doc/
-test -e misc && mkdir ${distdir}/misc && chmod 755 ${distdir}/misc && cp -pr misc/* ${distdir}/misc/
tar cf ${distdir}.tar ${distdir}/
bzip2 -9 ${distdir}.tar
rm -r ${distdir}/
distcheck:
tar xfj ${distdir}.tar.bz2
cd ${distdir} && ./configure && make
rel:
mv ${distdir}.tar.bz2 ../rel
hi.rws: hi.cwl
.SUFFIXES: .cwl .rws .wl
.cwl.rws:
${PREZIP} -d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=hi create master ./$@
.wl.cwl:
cat $< | LC_COLLATE=C sort -u | ${PREZIP} -z > $@
.pz:
${PREZIP} -d < $< > $@
GNU Aspell 0.60 Hindi (हिंदी) Dictionary Package
Version 0.02-0
2007-10-26
Maintained By:
Gora Mohanty (गोरा मोहान्ती) <gora at sarai dot net>
Original Word List Also By:
The janabhaaratii Team (जनभारती) <janabhaaratii at ncst dot ernet dot in>
The raftaar.com team (रफ़्तार) <peeyush at indicus dot net>
Guntupalli Karunakar (गुण्टुपल्ली करुणाकर) <karunakar at sarai dot net>
Ravikant (रविकांत) <ravikant at sarai dot net>
Ravishankar Shrivastava (रविशंकर श्रीवास्तव) <raviratlami at gmail dot com>
Copyright Terms: GPLv2 (see the file Copyright for the exact terms)
Wordlist URL: http://oriya.sarovar.org/hi-dict.html
Source Verson: 0.02
This word list is considered accurate but incomplete.
This is the Hindi dictionary for Aspell. It requires Aspell
version 0.60 or better.
If Aspell is installed and aspell and prezip-bin are all
in the path first do a:
./configure
Which should output something like:
Finding Dictionary file location ... /usr/local/lib/aspell
Finding Data file location ... /usr/local/share/aspell
if it did not something likely went wrong.
After that build the package with:
make
and then install it with
make install
If any of the above mentioned programs are not in your path than the
variables, ASPELL and/or PREZIP need to be set to the
commands (with path) to run the utilities. These variables may be set
in the environment before configure is run or specified at the command
line using the following syntax
./configure --vars VAR1=VAL1 ...
Other useful variables configure recognizes are ASPELL_PARMS, and DESTDIR.
To clean up after the build:
make clean
To uninstall the files:
make uninstall
After the dictionaries are installed you can use the main one (hi) by
setting the LANG environmental variable to hi or running Aspell
with "--lang=hi". You may also chose the dictionary directly
with the "-d" or "--master" option of Aspell. You can chose from any of
the following dictionaries:
hi (hindi)
Whereas the names in parentheses are alternate names for the
dictionary preceding the parentheses.
The individual word lists have an extension of ".cwl" and are
compressed to save space. To uncompress a word list use
"preunzip BASE.cwl" which will uncompress it and rename the file
to "BASE.wl". To dump a compressed word list to standard output use
"precat BASE.cwl". To uncompress all word lists in the current
directory use "preunzip *.cwl". For more help on "preunzip" use
"preunzip --help".
If you have any problem with installing or using the word lists please
let the Aspell maintainer, Kevin Atkinson, know at kevina@gnu.org.
If you have problems with the actual word lists please contact one of
the Word lists authors as the Aspell maintainer does not maintain the
actual Word Lists.
Any additional documentation that came with the original word list can
be found in the doc/ directory.
#!/bin/sh
# Note: future version will have a syntax something like
# ./configure [OPTIONS]
# Where OPTIONS is any of:
# --help
# --codes CODE1 ...
# --sizes SIZE1 ...
# --jargons JARGON1 ...
# --extras EXTRA1 ...
# --vars VAR1=VAL1 ...
# which is why I warn when --vars is not used before VAR1=VAL1
# Avoid depending upon Character Ranges.
# Taken from autoconf 2.50
cr_az='abcdefghijklmnopqrstuvwxyz'
cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
cr_09='0123456789'
cr_alnum=$cr_az$cr_AZ$cr_09
# also taken form autoconf
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
*c*,-n*) ECHO_N= ECHO_C='
' ECHO_T=' ' ;;
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
mode=none
for option
do
case $option in
--vars)
mode=vars
;;
*=*)
if test $mode != vars; then
echo "Warning: future versions will require --vars before variables are set"
mode=vars
fi
# Taken from autoconf 2.50
envvar=`expr "x$option" : 'x\([^=]*\)='`
optarg=`expr "x$option" : 'x[^=]*=\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$envvar" : ".*[^_$cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid variable name: $envvar" >&2
{ (exit 1); exit 1; }; }
#echo $envvar $optarg
optarg=`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`
eval "$envvar='$optarg'"
export $envvar
;;
--help)
echo "Usage: ./configure [--help | --vars VAR1=VAL1 ...]"
echo " Note: Variables may also be set in the environment brefore running config"
echo " Useful vars: ASPELL ASPELL_PARMS PREZIP DESTDIR"
exit 0
;;
*)
echo "Error: unrecognized option $option";
exit 1
;;
esac
done
#echo $ASPELL
if test x = "x$ASPELL"
then ASPELL=aspell; fi
if test x = "x$PREZIP"
then PREZIP=prezip-bin; fi
#echo $ASPELL
echo $ECHO_N "Finding Dictionary file location ... $ECHO_C"
dictdir=`$ASPELL dump config dict-dir`
echo $dictdir
echo $ECHO_N "Finding Data file location ... $ECHO_C"
datadir=`$ASPELL dump config data-dir`
echo $datadir
echo "ASPELL = `which $ASPELL`" > Makefile
echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
echo "PREZIP = `which $PREZIP`" >> Makefile
echo "DESTDIR = $DESTDIR" >> Makefile
echo "dictdir = $dictdir" >> Makefile
echo "datadir = $datadir" >> Makefile
echo >> Makefile
cat Makefile.pre >> Makefile
File added
name hi
charset u-deva
data-encoding utf-8
affix hi
affix-compress false
soundslike hi
repl-table hi
# Generated with Aspell Dicts "proc" script version 0.60.4
add hi.rws
#
# This affix file is based on the Ispell one which is under the following
# copyright:
#
# Copyright 1992, 1993, 1999, 2000, 2001, Geoff Kuenning, Claremont, CA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All modifications to the source code must be clearly marked as
# such. Binary redistributions based on modified source code
# must be clearly marked as modified versions in the documentation
# and/or other materials provided with the distribution.
# (clause 4 removed with permission from Geoff Kuenning)
# 5. The name of Geoff Kuenning may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
# THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS `AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
SET UTF-8
SFX A Y 1
SFX A 0 ओं ा
SFX B Y 1
SFX B 0 यें ा
SFX C Y 1
SFX C 0 एँ ा
SFX D Y 1
SFX D 0 का [नस]
SFX E Y 1
SFX E 0 की [नस]
SFX F Y 1
SFX F ा ी ा
SFX G Y 1
SFX G ी ियाँ ी
# phonetic_h.dat - phonetic transformation rules for use with aspell
# Copyright (C) 2006 Gora Mohanty <gora@srijan.in>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation;
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# The rules below are derived from the documentation in "info aspell", under
# * Adding Support For Other Languages::
version 1.0
collapse_result 0
ऄ अ
आ अ
ऑ अ
ऒ अ
अ अ
ओ औ
औ औ
इ ई
ई ई
उ ऊ
ऊ ऊ
ऋ रि
ॠ री
ऌ ॡ
ऍ ए
ऎ ए
ऐ ए
ए ए
क ख
क़ ख
ख़ ख
ख ख
ग्य ज्ञ
ग घ
ग़ घ
घ घ
ङ ङ
च छ
छ छ
ज़ झ
ज झ
झ झ
ञ ञ
ट ठ
ठ थ
त थ
थ थ
ड़ ढ
ड ढ
ढ़ ढ
ढ ढ
द ध
ध ध
न् ं
ण न
ऩ न
न न
प फ
फ़ फ
फ फ
ब भ
भ भ
म् ं
म म
य़ य
य य
ऱ र
र र
ल ल
ळ ळ
ऴ ऴ
व व
श ष
ष ष
स ष
ह ह
ँ ं
ं ं
ा _
् _
़ _
ऽ _
ि ी
ी ी
ु ू
ू ू
ॄ ृ
ृ ृ
ॅ े
ॆ े
ै े
े े
ॉ ो
ॊ ो
ौ ो
ो ो
ॢ ॣ
# hi_repl.dat - replacement table for use with aspell
# Copyright (C) 2006 Gora Mohanty <gora@srijan.in>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation;
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Changelog:
#
# Generated with Aspell Dicts "proc" script version 0.60.4
add hi.multi
name_english Hindi
name_native हिंदी
lang hi
data-file u-deva.cset
data-file u-deva.cmap
data-file hi_phonet.dat
data-file hi_affix.dat
data-file hi_repl.dat
author:
name The janabhaaratii Team
name-native जनभारती
email janabhaaratii at ncst dot ernet dot in
author:
name The raftaar.com team
name-native रफ़्तार
email peeyush at indicus dot net
author:
name Gora Mohanty
name-native गोरा मोहान्ती
email gora at sarai dot net
maintainer true
author:
name Guntupalli Karunakar
name-native गुण्टुपल्ली करुणाकर
email karunakar at sarai dot net
author:
name Ravikant
name-native रविकांत
email ravikant at sarai dot net
author:
name Ravishankar Shrivastava
name-native रविशंकर श्रीवास्तव
email raviratlami at gmail dot com
copyright GPLv2
url http://oriya.sarovar.org/hi-dict.html
version 0.02-0
source-version 0.02
complete false
accurate true
alias hi hindi
dict:
name hi
add hi
0x01 = U+200C
0x02 = U+200D
0x80..0xFF = U+0900..U+097F
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment