/stardict-sanskrit

Stardict dictionary files for the Sanskrit language.

Primary LanguageMakefile

Table of content

Dictionary user instructions

Grab latest files to use for with your stardict compatible program.

Options:

Dictionary program recommendations and download help (esp for mobile devices)

Organization

  • Dictionaries are stored in multiple repositories under indic-dict, for example: stardict-sanskrit-vyAkaraNa, stardict-kannada etc..
  • Some external pre-built dictionaries also on archive.org (as in the case of stardict-english).

Builds

  • Dictionaries are built with either github actions or travis-ci and deployed to gh-pages branch of the repository. For example:
  • Within the output branch, for each dictionary collection, the following folders are produced:
    • tars with compressed (xyz.tar.gz) dictionary files for use with stardict clients.
    • slob files for use with aard2 dictionary clients.
    • per-headword text files for use with HTTP calls.

Development

Cologne to babylon convertor

https://github.com/sanskrit-lexicon/cologne-stardict - make_babylon.py is the workhorse.

Latest stardict binaries

Sometimes, latest stardict binaries may be required.

  • Extract the latest stardict tools package (https://sourceforge.net/projects/stardict-4/files/3.0.1/stardict-tools-3.0.1.tar.bz2/download) in ~/stardict/tools directory. Then do cd stardict/tools and build it (Run ./configure and make as described in the INSTALL file in the directory - but don't remove the compiled binaries from the src directory.).
    • A shortcut if you are running Linux on a 64 bit computer: Just git clone --depth 1 https://github.com/sanskrit-coders/stardict in your home directory.
  • Install stardict-tools-git
    • Replaces outdated step: git clone git@github.com:sanskrit-coders/stardict.git. Then build it with ./configure, make etc..

Other notes

Recipe to convert decompiled en-head dictionaries from ajita to sa-head dictionaries: ^.+\t(.+?). should be replaced by \1\t

Dictionary popularity metrics

  • For properly releaseed dictionaries, one can get stats as shown here.