02-28-2011, 02:13 PM | #1 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
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. |
03-09-2011, 09:25 AM | #2 |
Enthusiast
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> Code:
<idx:entry> <idx:orth>bring</idx:orth> <idx:orth value="brought"/> <br /> <span color="navy">bringen</span> </idx:entry> |
Advert | |
|
03-11-2011, 03:39 PM | #3 |
Grand Sorcerer
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. |
Tags |
dictionary, index_search, inflections, mobi |
|
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 |