Commit ab4148bb authored by Vasudev Kamath's avatar Vasudev Kamath

Imported Upstream version 0.10

parents
This diff is collapsed.
GNU Aspell Marathi Word List Package
Copyright © 2005 Swapnil {Hajare,Sant} <janabhaaratii@ncst.ernet.in>
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.3
lang = mr
version = 0.10-0
cwl_files = mr.cwl
data_files = mr.dat u-deva.cset u-deva.cmap
doc_files = README COPYING Copyright
extra_files = configure info Makefile.pre
multi_files = marathi.alias mr.multi
rws_files = mr.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
mr.rws: mr.cwl
.SUFFIXES: .cwl .rws .wl
.cwl.rws:
${PREZIP} -d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=mr create master ./$@
.wl.cwl:
cat $< | LC_COLLATE=C sort -u | ${PREZIP} -z > $@
.pz:
${PREZIP} -d < $< > $@
GNU Aspell 0.60 Marathi (मराठी) Dictionary Package
Version 0.10-0
2005-05-24
Maintained By:
The janabhaaratii Team (जनभारती) <janabhaaratii at ncst dot ernet dot in>
Copyright Terms: GPL (see the file Copyright for the exact terms)
Wordlist URL: http://www.janabhaaratii.org.in
Source Verson: 0.1
This word list is considered accurate but incomplete.
This is the Marathi 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 (mr) by
setting the LANG environmental variable to mr or running Aspell
with "--lang=mr". You may also chose the dictionary directly
with the "-d" or "--master" option of Aspell. You can chose from any of
the following dictionaries:
mr (marathi)
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
name_english Marathi
name_native मराठी
lang mr
data-file u-deva.cset
data-file u-deva.cmap
author:
name The janabhaaratii Team
name-native जनभारती
email janabhaaratii at ncst dot ernet dot in
maintainer true
copyright GPL
url http://www.janabhaaratii.org.in
version 0.10-0
source-version 0.1
complete false
accurate true
alias mr marathi
dict:
name mr
add mr
# Generated with Aspell Dicts "proc" script version 0.60.3
add mr.multi
File added
name mr
charset u-deva
data-encoding utf-8
# Generated with Aspell Dicts "proc" script version 0.60.3
add mr.rws
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