View Single Post
Old 01-10-2017, 04:46 AM   #163
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Teom@n View Post
I installed python 2.7 and converted my dict. It works. Now I have to solve hypenation. How should I edit and optimize my database for the best search result? I have a problem with plural words as "inédit, inédite, inédites" and some cells contains a few words as "lequel, laquelle, lesquels, lesquelles ".
You'll need to explicitly define them as inflections. E.g.

Code:
<html>
<body>

<idx:entry>
	<b><idx:orth>cheval
	<idx:infl>
		<idx:iform value="chevaux"/>
	</idx:infl>
	</idx:orth> </b> 
	beygir 
</idx:entry>

<hr/>

<idx:entry>
	<b><idx:orth>feu
	<idx:infl>
		<idx:iform value="feux"/>
	</idx:infl>
	</idx:orth> </b> 
	ateş, yangın
</idx:entry>

</body>
</html>
For French verbs you might find the dsl2mobi French verb inflection list helpful.
Doitsu is offline   Reply With Quote