Commit d9858670 authored by Kartik Mistry's avatar Kartik Mistry 🇮🇳

Imported Upstream version 0.01.1-1

parents
This diff is collapsed.
GNU Aspell Bengali Word List Package
Copyright © 2002 Dr Abhijit Das
Copyright © 2002 Taneem Ahmed <taneem@eyetap.org>
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 = bn
version = 0.01.1-1
cwl_files = bn.cwl
data_files = bn.dat u-beng.cset u-beng.cmap
doc_files = README COPYING Copyright
extra_files = configure info Makefile.pre
multi_files = bengali.alias bn.multi
rws_files = bn.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
bn.rws: bn.cwl
.SUFFIXES: .cwl .rws .wl
.cwl.rws:
${PREZIP} -d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=bn create master ./$@
.wl.cwl:
cat $< | LC_COLLATE=C sort -u | ${PREZIP} -z > $@
.pz:
${PREZIP} -d < $< > $@
GNU Aspell 0.60 Bengali (বাংলা) Dictionary Package
Version 0.01.1-1
2004-08-24
Original Word List By:
Taneem Ahmed <taneem at eyetap org>
. <dictionary at bengalinux org>
Dr Abhijit Das
Copyright Terms: GPL (see the file Copyright for the exact terms)
Wordlist URL: http://www.bengalinux.org/downloads
Source Verson: 0.50-1
This is the Bengali 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 (bn) by
setting the LANG environmental variable to bn or running Aspell
with "--lang=bn". You may also chose the dictionary directly
with the "-d" or "--master" option of Aspell. You can chose from any of
the following dictionaries:
bn (bengali)
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.
# Generated with Aspell Dicts "proc" script version 0.60.3
add bn.multi
File added
name bn
charset u-beng
data-encoding utf-8
#soundslike bn
# Generated with Aspell Dicts "proc" script version 0.60.3
add bn.rws
#!/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
GNU Aspell Bengali Word List Package
Copyright © 2002 Dr Abhijit Das
Copyright © 2002 Taneem Ahmed <taneem@eyetap.org>
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
Source URL: http://www.bengalinux.org/downloads
http://sourceforge.net/project/showfiles.php?group_id=43331
How to Install:
You must have Aspell installed. If Aspell is installed and aspell and
word-list-compress 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 WORD_LIST_COMPRESS 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
How to use:
After the word lists are installed you can use the main one (bn) by
setting the LANG environmental variable to bn or running Aspell
with --lang=bn. However, Aspell will expect your text document to be
in is13194-bn encoding. Unfortunately there are not enough support for this
encoding, however, Aspell is designed to work with only 8Bit encoding and
this is the only 8 bit encoding for Bengali compatible with Unicode. If you
have an UTF-8 encoded text file, you can use the gui program bspeller. It
can be found at:
http://www.bengalinux.org/downloads
or,
http://sourceforge.net/project/showfiles.php?group_id=43331
Contact:
If you have any problem with installing, using the word lists, or want to add
new words to the word list please send an email to dictionary@bengalinux.org.
Creadit:
Needless to say with out Dr. Das's world list we wouldn't have this Bengali
word list for Aspell. My deepest appreciation for his hard work.
Thanks to Kaushik for all his help, and also for infecting our head with the
idea of a Bengali spell checker.
Also special thanks to Kevin Atkinson from Aspell project for all his help.
open IN, "is13194-bn.dat";
<IN>;
<IN>;
for $i (0..255)
{
$_ = <IN>;
@d = split/\s+/;
my $j = $d[0] - 0x900;
print "$i != $j" if $i != $j && $i != $d[0];
#printf "0x%02X U+%04X\n", $i, $d[0];
}
# is13194-bn = u-beng
# Aspell Character Data File. Do Not Edit!
is13194-bn
0 other 0 0 0 0 0 0
1 other 1 1 1 0 1 1
2 other 2 2 2 0 2 2
3 other 3 3 3 0 3 3
4 other 4 4 4 0 4 4
5 other 5 5 5 0 5 5
6 other 6 6 6 0 6 6
7 other 7 7 7 0 7 7
8 other 8 8 8 0 8 8
9 space 9 9 9 0 9 9
10 space 10 10 10 0 10 10
11 space 11 11 11 0 11 11
12 space 12 12 12 0 12 12
13 space 13 13 13 0 13 13
14 other 14 14 14 0 14 14
15 other 15 15 15 0 15 15
16 other 16 16 16 0 16 16
17 other 17 17 17 0 17 17
18 other 18 18 18 0 18 18
19 other 19 19 19 0 19 19
20 other 20 20 20 0 20 20
21 other 21 21 21 0 21 21
22 other 22 22 22 0 22 22
23 other 23 23 23 0 23 23
24 other 24 24 24 0 24 24
25 other 25 25 25 0 25 25
26 other 26 26 26 0 26 26
27 other 27 27 27 0 27 27
28 other 28 28 28 0 28 28
29 other 29 29 29 0 29 29
30 other 30 30 30 0 30 30
31 other 31 31 31 0 31 31
32 space 32 32 32 0 32 32
33 other 33 33 33 0 33 33
34 other 34 34 34 0 34 34
35 other 35 35 35 0 35 35
36 other 36 36 36 0 36 36
37 other 37 37 37 0 37 37
38 other 38 38 38 0 38 38
39 other 39 39 39 0 39 39
40 other 40 40 40 0 40 40
41 other 41 41 41 0 41 41
42 other 42 42 42 0 42 42
43 other 43 43 43 0 43 43
44 other 44 44 44 0 44 44
45 other 45 45 45 0 45 45
46 other 46 46 46 0 46 46
47 other 47 47 47 0 47 47
48 other 48 48 48 0 48 48
49 other 49 49 49 0 49 49
50 other 50 50 50 0 50 50
51 other 51 51 51 0 51 51
52 other 52 52 52 0 52 52
53 other 53 53 53 0 53 53
54 other 54 54 54 0 54 54
55 other 55 55 55 0 55 55
56 other 56 56 56 0 56 56
57 other 57 57 57 0 57 57
58 other 58 58 58 0 58 58
59 other 59 59 59 0 59 59
60 other 60 60 60 0 60 60
61 other 61 61 61 0 61 61
62 other 62 62 62 0 62 62
63 other 63 63 63 0 63 63
64 other 64 64 64 0 64 64
65 letter 97 65 65 0 97 65
66 letter 98 66 66 66 98 66
67 letter 99 67 67 67 99 67
68 letter 100 68 68 68 100 68
69 letter 101 69 69 0 101 69
70 letter 102 70 70 70 102 70
71 letter 103 71 71 71 103 71
72 letter 104 72 72 72 104 72
73 letter 105 73 73 0 105 73
74 letter 106 74 74 74 106 74
75 letter 107 75 75 75 107 75
76 letter 108 76 76 76 108 76
77 letter 109 77 77 77 109 77
78 letter 110 78 78 78 110 78
79 letter 111 79 79 0 111 79
80 letter 112 80 80 80 112 80
81 letter 113 81 81 81 113 81
82 letter 114 82 82 82 114 82
83 letter 115 83 83 83 115 83
84 letter 116 84 84 84 116 84
85 letter 117 85 85 0 117 85
86 letter 118 86 86 86 118 86
87 letter 119 87 87 87 119 87
88 letter 120 88 88 88 120 88
89 letter 121 89 89 0 121 89
90 letter 122 90 90 90 122 90
91 other 91 91 91 0 91 91
92 other 92 92 92 0 92 92
93 other 93 93 93 0 93 93
94 other 94 94 94 0 94 94
95 other 95 95 95 0 95 95
96 other 96 96 96 0 96 96
97 letter 97 65 65 0 97 97
98 letter 98 66 66 66 98 98
99 letter 99 67 67 67 99 99
100 letter 100 68 68 68 100 100
101 letter 101 69 69 0 101 101
102 letter 102 70 70 70 102 102
103 letter 103 71 71 71 103 103
104 letter 104 72 72 72 104 104
105 letter 105 73 73 0 105 105
106 letter 106 74 74 74 106 106
107 letter 107 75 75 75 107 107
108 letter 108 76 76 76 108 108
109 letter 109 77 77 77 109 109
110 letter 110 78 78 78 110 110
111 letter 111 79 79 0 111 111
112 letter 112 80 80 80 112 112
113 letter 113 81 81 81 113 113
114 letter 114 82 82 82 114 114
115 letter 115 83 83 83 115 115
116 letter 116 84 84 84 116 116
117 letter 117 85 85 0 117 117
118 letter 118 86 86 86 118 118
119 letter 119 87 87 87 119 119
120 letter 120 88 88 88 120 120
121 letter 121 89 89 0 121 121
122 letter 122 90 90 90 122 122
123 other 123 123 123 0 123 123
124 other 124 124 124 0 124 124
125 other 125 125 125 0 125 125
126 other 126 126 126 0 126 126
127 other 127 127 127 0 127 127
128 other 128 128 128 0 128 128
2433 letter 129 129 129 0 129 129
2434 letter 130 130 130 0 130 130
2435 letter 131 131 131 0 131 131
132 other 132 132 132 0 132 132
2437 letter 133 133 133 133 133 133
2438 letter 134 134 134 134 134 134
2439 letter 135 135 135 135 135 135
2440 letter 136 136 136 136 136 136
2441 letter 137 137 137 137 137 137
2442 letter 138 138 138 138 138 138
2443 letter 139 139 139 139 139 139
2444 letter 140 140 140 140 140 140
141 other 141 141 141 0 141 141
142 other 142 142 142 0 142 142
2447 letter 143 143 143 143 143 143
2448 letter 144 144 144 144 144 144
145 other 145 145 145 0 145 145
146 other 146 146 146 0 146 146
2451 letter 147 147 147 147 147 147
2452 letter 148 148 148 148 148 148
2453 letter 149 149 149 149 149 149
2454 letter 150 150 150 150 150 150
2455 letter 151 151 151 151 151 151
2456 letter 152 152 152 152 152 152
2457 letter 153 153 153 153 153 153
2458 letter 154 154 154 154 154 154
2459 letter 155 155 155 155 155 155
2460 letter 156 156 156 156 156 156
2461 letter 157 157 157 157 157 157
2462 letter 158 158 158 158 158 158
2463 letter 159 159 159 159 159 159
2464 letter 160 160 160 160 160 160
2465 letter 161 161 161 161 161 161
2466 letter 162 162 162 162 162 162
2467 letter 163 163 163 163 163 163
2468 letter 164 164 164 164 164 164
2469 letter 165 165 165 165 165 165
2470 letter 166 166 166 166 166 166
2471 letter 167 167 167 167 167 167
2472 letter 168 168 168 168 168 168
169 other 169 169 169 0 169 169
2474 letter 170 170 170 170 170 170
2475 letter 171 171 171 171 171 171
2476 letter 172 172 172 172 172 172
2477 letter 173 173 173 173 173 173
2478 letter 174 174 174 174 174 174
2479 letter 175 175 175 175 175 175
2480 letter 176 176 176 176 176 176
177 other 177 177 177 0 177 177
2482 letter 178 178 178 178 178 178
179 other 179 179 179 0 179 179
180 other 180 180 180 0 180 180
181 other 181 181 181 181 181 181
2486 letter 182 182 182 182 182 182
2487 letter 183 183 183 183 183 183
2488 letter 184 184 184 184 184 184
2489 letter 185 185 185 185 185 185
186 other 186 186 186 186 186 186
187 other 187 187 187 0 187 187
2492 letter 188 188 188 0 188 188
189 other 189 189 189 0 189 189
2494 letter 190 190 190 0 190 190
2495 letter 191 191 191 0 191 191
2496 letter 192 192 192 0 192 192
2497 letter 193 193 193 0 193 193
2498 letter 194 194 194 0 194 194
2499 letter 195 195 195 0 195 195
2500 letter 196 196 196 0 196 196
197 other 229 197 197 0 97 65
198 other 230 198 198 0 230 198
2503 letter 199 199 199 0 199 199
2504 letter 200 200 200 0 200 200
201 other 233 201 201 0 101 69
202 other 234 202 202 0 101 69
2507 letter 203 203 203 0 203 203
2508 letter 204 204 204 0 204 204
2509 letter 205 205 205 0 205 205
206 other 238 206 206 0 105 73
207 other 239 207 207 0 105 73
208 other 240 208 208 208 240 208
209 other 241 209 209 78 110 78
210 other 242 210 210 0 111 79
211 other 243 211 211 0 111 79
212 other 244 212 212 0 111 79
213 other 245 213 213 0 111 79
214 other 246 214 214 0 111 79
2519 letter 215 215 215 0 215 215
216 other 248 216 216 0 111 79
217 other 249 217 217 0 117 85
218 other 250 218 218 0 117 85
219 other 251 219 219 0 117 85
2524 letter 220 220 220 220 220 220
2525 letter 221 221 221 221 221 221
222 other 254 222 222 222 254 222
2527 letter 223 223 223 223 223 223
2528 letter 224 224 224 224 224 224
2529 letter 225 225 225 225 225 225
2530 letter 226 226 226 0 226 226
2531 letter 227 227 227 0 227 227
228 other 228 196 196 0 97 97
229 other 229 197 197 0 97 97
2534 letter 230 230 230 0 230 230
2535 letter 231 231 231 0 231 231
2536 letter 232 232 232 0 232 232
2537 letter 233 233 233 0 233 233
2538 letter 234 234 234 0 234 234
2539 letter 235 235 235 0 235 235
2540 letter 236 236 236 0 236 236
2541 letter 237 237 237 0 237 237
2542 letter 238 238 238 0 238 238
2543 letter 239 239 239 0 239 239
2544 letter 240 240 240 176 176 176
2545 letter 241 241 241 176 176 176
2546 letter 242 242 242 0 242 242
2547 letter 243 243 243 0 243 243
2548 letter 244 244 244 0 244 244
2549 letter 245 245 245 0 245 245
2550 letter 246 246 246 0 246 246
2551 letter 247 247 247 0 247 247
2552 letter 248 248 248 0 248 248
2553 letter 249 249 249 0 249 249
2554 letter 250 250 250 0 250 250
251 other 251 219 219 0 117 117
252 other 252 220 220 0 117 117
253 other 253 221 221 0 121 121
254 other 254 222 222 222 254 254
255 other 255 255 255 0 121 121
name_english Bengali
name_native বাংলা
lang bn
data-file u-beng.cset
data-file u-beng.cmap
author:
name Taneem Ahmed
email taneem at eyetap org
author:
name .
email dictionary at bengalinux org
author:
name Dr Abhijit Das
copyright GPL
url http://www.bengalinux.org/downloads
version 0.01.1-1
source-version 0.50-1
complete unknown
accurate unknown
alias bn bengali
dict:
name bn
add bn
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