Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2016, 04:59 AM   #16
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 47
Karma: 41370
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Ok, i made something like this:

OPF:
Code:
<?xml version="1.0" encoding="utf-8"?>
    <package unique-identifier="uid">
        <metadata>
            <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0/">
            <dc:identifier id="uid">Dictionary test (es)</dc:identifier>
            <dc:Title><h2>Dictionary test (es)</h2></dc:Title>
    		<dc:language>es</dc:language>
        </dc-metadata>
        <x-metadata>
                <DictionaryInLanguage>es</DictionaryInLanguage>
                <DictionaryOutLanguage>es</DictionaryOutLanguage>
        </x-metadata>
    </metadata>
    <!-- list of all the files needed to produce the .prc file -->
    <manifest>
        <item id="dictionary11" href="slo11.html" media-type="text/x-oeb1-document"/>
    </manifest>
	<!-- list of the html files in the correct order  -->
    <spine>
	    <itemref idref="dictionary11"/>
    </spine>
    <guide> 
        <reference type="search" title="Dictionary Search" onclick= "index_search()"/> 
    </guide>
</package>
slo11.html
Code:
<html xmlns:idx="http://www.mobipocket.com/idx" xmlns:mbp="www.mobipocket.com">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>

    <body>
        <mbp:frameset>
		<idx:entry name="spanish" scriptable="yes" spell="yes">
			<a id="12345"></a>
			<idx:orth value="uña"><b>uña</b>
				<idx:infl>
					<idx:iform value="uñas" exact="yes" />
				</idx:infl>
			</idx:orth><br/>
			Definition for <b>uñas</b>.
		</idx:entry>
		<idx:entry name="spanish" scriptable="yes" spell="yes">
			<a id="12345"></a>
			<idx:orth value="una"><b>una</b>
				<idx:infl>
					<idx:iform value="unas" exact="yes" />
				</idx:infl>
			</idx:orth><br/>
			Definition for <b>unas</b>.
		</idx:entry>
	 </mbp:frameset>
    </body>
</html>
It finds uña but not una.
(tested on some polish book with changed lang's to es and added paragraph with those two - testbook2 - go to "Testowanie słownika" and next page)
Attached Files
File Type: mobi slo-1.mobi (129.4 KB, 83 views)
File Type: mobi testbook2.mobi (990.2 KB, 72 views)

Last edited by San Zamoyski; 05-24-2016 at 05:03 AM.
San Zamoyski is offline   Reply With Quote
Old 05-25-2016, 07:14 AM   #17
quiris
Groupie
quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'
 
quiris's Avatar
 
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KV, PW, K4S; Kindle apps; Marvin3
Quote:
Originally Posted by Doitsu View Post
Since you own both a Kindle 4 and a PW1, can you test my dictionary on both machines?
Yes, I have already tested both devices. No differences.
quiris is offline   Reply With Quote
Old 05-25-2016, 07:38 AM   #18
Doitsu
Wizard
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: 4,339
Karma: 14300083
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by quiris View Post
Yes, I have already tested both devices. No differences.
Do you mean by "no differences" that looking up łaska brings up the definition for laska or does everything work as designed?
Doitsu is offline   Reply With Quote
Old 05-25-2016, 07:44 AM   #19
quiris
Groupie
quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'
 
quiris's Avatar
 
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KV, PW, K4S; Kindle apps; Marvin3
Quote:
Originally Posted by Doitsu View Post
Do you mean by "no differences" that looking up łaska brings up the definition for laska or does everything work as designed?
I mean the problem with non-working exact=yes attribute is present on both devices.
quiris is offline   Reply With Quote
Old 09-20-2018, 06:41 AM   #20
3QVKwyNT9hR849t7
Enthusiast
3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about
 
Posts: 27
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.10.1.2
Still have this issue on PW3 with semi-recent FW.

I have two words, vare and vår.

vare has an inflection var.

looking up vår gives only the definition for vår. (correct)

looking up var gives vare AND vår (incorrect)

Amazon's treatment of dictionary features really isn't the best.
3QVKwyNT9hR849t7 is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI [Polish] vs. CLI ebook-polish phossler Calibre 6 10-01-2015 09:27 AM
E-reader with Dutch/English or Dutch/Polish dictionary tttx Which one should I buy? 17 08-20-2015 06:42 AM
Dictionary question: changing word delimiters for french dictionary oecherprinte Amazon Kindle 1 05-09-2011 05:45 AM
Converting PWN Oxford Polish-English dictionary to Mobipocket owl123 Workshop 1 05-24-2010 08:07 AM
Oxford built-in dictionary disappears after changing default dictionary YYZscientist Amazon Kindle 4 01-24-2010 09:42 PM


All times are GMT -4. The time now is 02:57 PM.


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