silpa-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [silpa-discuss] syllabalized output in DB


From: shantanu oak
Subject: Re: [silpa-discuss] syllabalized output in DB
Date: Sun, 1 May 2011 19:05:26 +0530

print "mysql -e\"insert into test.syllabalize values (text_index, index, 'syllable')\""

This does not print the text_index i.e. 1 or 2 it simply prints the text, "text_index".
Again, it goes without saying about my python expertise.

-- Shantanu


On Sun, May 1, 2011 at 6:20 PM, shantanu oak <address@hidden> wrote:
Yes. Correct.

The only difference is the word list will come from mysql table ...

http://hunspell-marathi-dictionary.googlecode.com/files/shabdasampada_version9_1.sql.zip.zip

and the syllabalized characters will be saved back to mysql.
I am a python newbie so need help with seemingly simple tasks.

-- Shantanu



On Sun, May 1, 2011 at 4:12 PM, Santhosh Thottingal <address@hidden> wrote:
On Sun, May 1, 2011 at 3:59 PM, shantanu oak <address@hidden> wrote:
> Hi,
> The syllabalize utility is one of the best that I found here...
> http://silpa.org.in/Syllabalize
>
> If I type a unicode word, for e.g. "test" it will return t,e,s,t
> What all I want to do is to save the output in a mysql table as follows:
>
> 1 1 t
> 1 2 e
> 1 3 s
> 1 4 t
>
> Where 1 is the unique word id and 1,2,3,4 are the character positions. The
> python script needs to be modified to accommodate this change. Is it
> possible what I am trying to achieve?
>
> http://code.google.com/p/hunspell-marathi-dictionary/wiki/syllabalize

Is this what you are looking for?
https://gist.github.com/950405


Thanks
Santhosh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]