On May 13, 2009, at 10:57 PM, Deepayan Sarkar wrote:
> On 5/12/09, Salahuddin Pasha <[email protected]> wrote:
>> Dear all,
>>
>> I was working on অভিধান - Abhidhan for XML support. To
>> enable various application and tools to utilize our dictionary.
>>
>> Basic work is already done, but we need to define a standard XML (XML
>> DTD or XML Schema).
>>
>> Any suggestion or comments ?
>
> Back in 2003, the bengalinux dictionary list had a discussion on this.
> Nothing ever came out of it, and when Golam first started on anubadok,
> his emphasis was more specialized. In any case, that discussion may
> provide some suggestions.
>
> You can get it from the list archives, and I'm also attaching a
> cleaned up and edited version of the thread here:
>
> .......................
> ----
>
> From: Kaushik Ghose <kgh...@wa...> - 2003-05-16 15:07
>
>
> <?xml version="1.0"?>
> <!ELEMENT dictionary (entry*)>
> <!ELEMENT entry (word, info*) >
> <!ELEMENT word (#CDATA)>
> <!ELEMENT info (refer?,pron?, synonym?,antonym?,meaning?,grammar?)>
> <!ATTLIST info pos (n|adj|v|adv) "n" plural (true|false) "false"
> origin
> CDATA #DEFAULT "????????????" date CDATA>
> <!ELEMENT refer (#CDATA)>
> <!ELEMENT pron (#CDATA)>
> <!ELEMENT synonym (#CDATA)>
> <!ATTLIST synonym lang CDATA #DEFAULT "bn">
> <!ELEMENT antonym (#CDATA)>
> <!ATTLIST antonym lang CDATA #DEFAULT "bn">
> <!ELEMENT meaning (#CDATA)>
> <!ATTLIST meaning lang CDATA #DEFAULT "bn">
> <!ELEMENT grammar (derivative?)>
> <!ELEMENT derivative (#CDATA)>
> <!ATTLIST derivative form (the|of) "the" num (singular|plural)
> "singular">
>
>
> also, to answer Deepayan's question by date I was thinking of date of
> origin, first use etc.
>
> Will potter with QT
>
> right now, I'm goign to hardcode the DTD structure, I can't think
> of a
> simple way of creating an editor that will parse the DTD and
> configure the
> GUI on the fly - fixed boxes for all teh element will be quicker
> for this
> size DTD
>
> PS. try the perl tool at
> http://www.sagehill.net/livedtd/download.html
>
> -kg
>
>
> </thread>
>
>
Dear Deepayan bhai,
Thank you for your mail.
Here is the present updated one example:
<?xml version="1.0" encoding="utf-8"?>
<dictionary>
<search_results>
<dict_entry>
<bdict_id>68218</bdict_id>
<en_word>apple</en_word>
<pos_tag>Proper noun, singular</pos_tag>
<penn_tag>NP</penn_tag>
<bn_pronunciation></bn_pronunciation>
<en_leema></en_leema>
<bn_word>অ্যাপল</bn_word>
<explanation></explanation>
<example>উদাঃ</example>
<status>EDITED</status>
</dict_entry>
</search_results>
</dictionary>
From Deepayan bhai's mail. I think we still need to add these fields.
We will add this in later version as we do not have enough information
for these fields now.
origin="deshi"
<synonyms>...</synonyms>
<antonyms>...</antonyms>
<entry>
<info pos="noun" plural="false" origin="deshi">
<synonyms>...</synonyms>
<antonyms>...</antonyms>
</info>
</entry>
<grammar>
<derivative form="the">chhaanaaTaa,chhaanaaTi</derivative>
<derivative form="of"num="singular">chhaanaaTir</derivative>
<derivative form="of" num="plural">chhaanaader</derivative>
</grammar>
Another questions is which would better for us ?
use <grammer> tag and store information in nested tags or the palin
one in the present updated one.
regards
salahuddin
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bengalinux-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bengalinux-core