SerbDict - Serbian-English Dictionary
I've highlighted a few language programs in this column, but so far they've been for Japanese, Chinese and German—all languages spoken by large populations. So a dictionary program for a language like Serbian jumped right out at me. According to the SourceForge page: "Serbian Dictionary is a bidirectional Serbian-English dictionary. It currently contains only a command-line interface. It supports only *nix-based operating systems at this moment. Tested on Linux, *BSD and Cygwin."
SerbDict lets you translate words from English to Serbian and vice versa.
Here's a search involving Serbian to English and a search involving both languages simultaneously.
I found only a source tarball at the Web site at the time of this writing, although the installation still is quite easy. Also, the home page is in Serbian, and I had to use a translator (Chrome's translator handled this well). The download page at least is called "Download", so that was easy. The download page takes you to a basic SourceForge file list, which should be localized into your own language.
Grab the latest tarball, extract it, and open a terminal in the new folder. Compiling this program is easy, just enter:
If your distro uses sudo, enter:
$ sudo make install
And, if your distro uses root, enter:
$ su # make install
Using SerbDict also is very easy (at least, once I'd translated the documentation). If you want to translate something from English into Serbian, enter:
$ serbdict -e word
If you want to translate a Serbian word into English, enter:
$ serbdict -s word
SerbDict appears to query a database of words and terms, and it outputs everything, including extensions of your queried word. For instance, querying the word "entire" gave me not only translations for entire, but also for entirely and entirety.
If you speak Serbian (and I don't), there's a man page with instructions on how to extend the program, available with the command:
$ man serbdict
One thing I managed to pick up from the man page is that if you skip the -s and -e extensions, any query you make will output any matches in both English and Serbian at the same time.
Below your outputted text will be a message saying, "Ukupno: x prevoda". After querying those words, it turns out Ukupno means altogether. And although "prevoda" didn't return any matches, prevod means rendering, translation or version, so I'm guessing prevoda would be some kind of plural form of these words.
Well, that covers Serbian, but if anyone has written a program for a really rare or dying language, send me an e-mail. I'd love to cover it.
Read more: http://serbdict.sourceforge.net
John Knight is the New Projects columnist for Linux Journal.
Webinar: 8 Signs You’re Beyond Cron
11am CDT, April 29th
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.Join us!
|Play for Me, Jarvis||Apr 16, 2015|
|Drupageddon: SQL Injection, Database Abstraction and Hundreds of Thousands of Web Sites||Apr 15, 2015|
|Non-Linux FOSS: .NET?||Apr 13, 2015|
|Designing Foils with XFLR5||Apr 08, 2015|
|diff -u: What's New in Kernel Development||Apr 07, 2015|
- Drupageddon: SQL Injection, Database Abstraction and Hundreds of Thousands of Web Sites
- Play for Me, Jarvis
- Non-Linux FOSS: .NET?
- Designing Foils with XFLR5
- Not So Dynamic Updates
- Flexible Access Control with Squid Proxy
- Users, Permissions and Multitenant Sites
- New Products
- diff -u: What's New in Kernel Development