Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2011, 02:13 PM   #1
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,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Question index_search & dictionary inflection index

I created a dictionary that uses the inflection index feature. For example, if you highlight "caught", it will display the entry for "catch," if you highlight "went" it will display the entry for "go" etc. because I added these variants as so called inflections to the main entries. (I attached a smaller demo dictionary with just 3 entries that shows how this works.)

However, when I do a manual search or use index_search as a <guide /> item, only the actual index entries show up in the list and not their inflections. However, I'd like them to be included, too.

What I cannot figure out is the right index_search parameter(s) to make the inflections show up in the list as well because I cannot figure out how to specify the inflections index as the index to be searched.

Any ideas are welcome.
Attached Files
File Type: zip EnDeSampleDic.zip (2.3 KB, 372 views)
Doitsu is offline   Reply With Quote
Old 03-09-2011, 09:25 AM   #2
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 41
Karma: 12
Join Date: Jul 2009
Device: ppc
Try to change from
Code:
<idx:entry>
	<idx:orth>bring<idx:infl><idx:iform value="brought"/></idx:infl></idx:orth>
	<br />
	<span color="navy">bringen</span>
 </idx:entry>
to
Code:
<idx:entry>
	<idx:orth>bring</idx:orth>
	<idx:orth value="brought"/>
	<br />
	<span color="navy">bringen</span>
 </idx:entry>
naisren is offline   Reply With Quote
Advert
Old 03-11-2011, 03:39 PM   #3
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,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Thanks, naisren! That actually works.
I'm surprised that it does even without the inflection index tags.
Doitsu is offline   Reply With Quote
Reply

Tags
dictionary, index_search, inflections, mobi


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
International Kindle & Alternate Dictionary alterego Amazon Kindle 88 06-16-2012 03:54 AM
PDF & Dictionary Lookup not working floriano Amazon Kindle 5 08-20-2011 11:53 PM
Setting series index in bulk metadata search&replace bubak Calibre 4 12-19-2010 04:04 PM
Index & Menus Morrile Workshop 2 11-21-2010 07:59 PM
best foreign language & dictionary options? joedevivre Which one should I buy? 2 12-13-2009 09:40 AM


All times are GMT -4. The time now is 09:07 AM.


MobileRead.com is a privately owned, operated and funded community.