Active Topics

 



Notices


Reply
Thread Tools
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#31
Originally Posted by turist View Post
How? User can download something in tar.bz as a pure dictionary file, zip folder with set of files or even the full English wikipedia with cache. How can program know all this? I know an application for iPhone that comes with simple dictionaries and is able to download a lot of dictionaries on demand, but that's paid service and those dictionaries cost money and it's not even possible to upload them anywhere without being sued by Babylon or Abbyy. I don't see a problem to download a dictionary and then unpack it to some specific directory, there is even an option to define several directories to these dictionaries.

One solution that I can suggest is to unpack all zip/tar.gz files found in the defined dirs into the same directory with removal of the archive files.
Well, there are a number of free dictionaries, such as the ones listed on sourceforge. I think you can distribute those no problem.

Then a .deb would just need to be made that simply puts those files into /opt/qstardict/dicts (or whatever your default path is).

I think this will happen (eventually) and will make it easier for all users. If it hasn't happened in a month email me to bug me to do it. moe@blagblagblag.org

-Jeff
 
Posts: 40 | Thanked: 17 times | Joined on Feb 2008 @ Rotterdam, Netherlands
#32
I have my concerns about packaging these free dictionaries. Which one should I select as a default one for most of users? For example I don't care about French<->Urdu or Latin<->Spanish, but need Dutch<->English and German<->Russian. Will my choice be appreciated by the majority of users? I don't see it as a problem to have easy access dictionaries for N900, it's just like music - there are no common preferences.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#33
Originally Posted by turist View Post
I have my concerns about packaging these free dictionaries. Which one should I select as a default one for most of users? For example I don't care about French<->Urdu or Latin<->Spanish, but need Dutch<->English and German<->Russian. Will my choice be appreciated by the majority of users? I don't see it as a problem to have easy access dictionaries for N900, it's just like music - there are no common preferences.
Ya, the dictionaries would have to be *separate* packages. The qstardict.deb stays as it is today. Then you have a ton of .debs like:

dict-en-es.deb
dict-es-en.deb
dict-de-fi.deb
dict-fi-de.deb
dict-ru-de.deb
dict-de-ru.deb
dict-en-techwords.deb
etc...

Thanks for your package! I love it already
 
Posts: 40 | Thanked: 17 times | Joined on Feb 2008 @ Rotterdam, Netherlands
#34
Btw, I just recalled that I removed all dict paths except of the ~/MyDocs/stardict/dic from qstardict's path list. I'll restore the default /usr/share/stardict/dic and ~/.stardict/dic/ just to be safely compatible with other packages and stardicts.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#35
Originally Posted by jebba View Post
Ya, the dictionaries would have to be *separate* packages. The qstardict.deb stays as it is today. Then you have a ton of .debs like:

dict-en-es.deb
dict-es-en.deb
dict-de-fi.deb
dict-fi-de.deb
dict-ru-de.deb
dict-de-ru.deb
dict-en-techwords.deb
etc...

Thanks for your package! I love it already
Please consider managing these packages from somewhere other than the application manager - it's just such a mess with X hundred packages.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#36
Originally Posted by attila77 View Post
Please consider managing these packages from somewhere other than the application manager - it's just such a mess with X hundred packages.
Well, that's a problem with the package manager that should be solved upstream. Yumex/synaptic/etc can deal with thousands of applications.

If the Maemo application manager can't handle a few thousand packages in it's interface, the platform is dead.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#37
No, no, it can handle them all right, it's the users that can't (and shouldn't). In other words, don't make life of those less interested in your packages miserable. As an example see compris, it's language files add 3-4 extra *pages* worth of packages. Now imagine if every application added it's language-dependent features that way...
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Tomaszd's Avatar
Posts: 284 | Thanked: 498 times | Joined on Jun 2009 @ Poland
#38
Originally Posted by attila77 View Post
No, no, it can handle them all right, it's the users that can't (and shouldn't). In other words, don't make life of those less interested in your packages miserable. As an example see compris, it's language files add 3-4 extra *pages* worth of packages. Now imagine if every application added it's language-dependent features that way...
It was stupid to even bring those language files to the user-visible category to begin with. They should all be hidden, and the application extended to download the appropriate language package based on locale. This might be too much work to do for free of course, but I curse every time I have to scroll through those in HAM.
 

The Following 4 Users Say Thank You to Tomaszd For This Useful Post:
Posts: 344 | Thanked: 73 times | Joined on Oct 2009 @ Los Angeles
#39
Originally Posted by turist View Post
One example you may like

Everyone has a big set of mp3 files at home and no one is scared to manually copy music to N900's '.sounds/' directory. Why do you think it's more diffucult to connect N900 via USB and then copy dictionaries from PC's data dir to N900's 'E:\stardict\dic' ?
Understood, and I agree, so maybe this is my particular problem: I cannot get qstardict to see any directory on my SD card or anwhere else. What am I mising here?
 
Posts: 68 | Thanked: 36 times | Joined on Dec 2009
#40
It's true the process of installing dictionaries is not as friendly as one might like, and having debian packages for the dictionaries would help most users. Even for people who are not scared to do a little command line, it is not trivial to find out which is a good dictionary for a certain language. For instance the german-english dictionaries available from sourceforge seemed to be pretty bad, missing a lot of basic words (even though they are not small in terms of number of entries).

I am currently using two dictionaries.

One is a german dictionary that is freely available (langensheidt deutsch als fremdsprache, available from stardict sourceforge ). It is quite good quality, although not huge and perhaps a bit oldish. This one would be a good candidate for a package.

The other one is german english and viceversa from dict.cc... it is a huge dictionary (700k entries!) and quite good as well. It is freely available but not redistributable, so it would not be possible to package it as a deb. You can download it in tab format from the web site, and then you need to convert it to stardict format using the tabfile tool from stardict (on ubuntu it is in the stardict-tools package). See this page for details. Make sure the tab file is saved as utf8 before running tabfile (I had to open it and save it as utf8 with gedit to get the encoding right).

Anyhow with a little effort my offline dictionary needs on the n900 are now fully met ;-)

Last edited by feydrutha; 2010-01-16 at 14:34.
 
Reply

Tags
bada rox, help i'm stuck


 
Forum Jump


All times are GMT. The time now is 22:53.