Hi Prajol,

You can define custom compound patterns with a regular
expression-like syntax in the next version of Hunspell.
A working test example for English ordinal numbers:

--------compound4.aff--------
# English ordinal numbers
COMPOUNDMIN 1
ONLYINCOMPOUND c
COMPOUND 2
COMPOUND n*1t
COMPOUND n*mp
--------compound4.dic--------
22
0/nm
1/n1
2/nm
3/nm
4/nm
5/nm
6/nm
7/nm
8/nm
9/nm
0th/pt
1st/p
1th/tc
2nd/p
2th/tc
3rd/p
3th/tc
4th/pt
5th/pt
6th/pt
7th/pt
8th/pt
9th/pt
--------compound4.good--------
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
12th
13th
14th
15th
16th
17th
18th
19th
20th
21st
22nd
23rd
24th
25th
100th
1000th
10001st
10011th
--------compound4.wrong--------
1th
2th
3th
10001th
10011st

For decimal numbers with separators will be also a hardcoded solution
(http://www.openoffice.org/issues/show_bug.cgi?id=53643).

Thanks for your bug report.

Best regards,

Laci


Quoting prajol shrestha <[EMAIL PROTECTED]>:

> Hi All,
> in OOo when we type any nepali number with more than one digit like ༨000,
> which is 2000 in english, it is underlined as a spelling mistake. English
> numbers with more than one digits are also underlined as spelling mistakes
> but can be ignored by checking the check box named "check words with
> numbers" in Tools>SpellChecker...F7>Options......>Options. How could we make
> OOo ignore Nepali numbers to be spell checked or is there anything else that
> we have to do?
>
> with regards,
> Prajol
> --
> Prajol Shrestha
> Developer
> Nepali Language Computing Project
> Madan Puraskar Pustakalaya
> www.mpp.org.np <http://www.mpp.org.np>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to