Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.81 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.81 KB

Install dependencies listed in pkglist.txt (names will vary depending from distro to distro). Then, to build the artifact (without Slovnik), run:

./build --no-slovnik

This repository contains code that produces a dictionary of 190 000 Bulgarian lemmata and 2 million wordforms along with:

  • stress patterns for most wordforms
  • full Slovnik-style morphosyntactic analysis of all wordforms
  • pronunciation of all wordforms
  • complete breakdown by syllables
  • derivational relationships between some of the lemmata

The dictionary is meant to be used for translating or writing metric and rhymed poetry in Bulgarian. It is based on previous Bulgarian linguistic resources such as Slovnik, RBE, Rechko and Murdarov's dictionary.

The build script requires a Linux distribution (it is developed on a standard Arch Linux setup), although the resulting artifact is a platform-independent SQLite file. To see how to set up on Ubuntu, please refer to .github/workflows/build.yml. Recommended RAM > 2.5GB. The script uses as many cores as possible, where parallelization is feasible.

For best results mount /tmp to main memory as tmpfs or ramfs. Build time is ~3 minutes on a quad-core i7 @ 2.5 GHz.

All wordforms in the database are annotated using the BulTreeBank morphosyntactic tagset. To learn more about it, please refer to the technical report inside resources/. The Slovnik dictionary, however, is encrypted as it is not intended for public use. Add option --no-slovnik to skip augmenting Slovnik into the final artifact. If you want to gain access to Slovnik, contact a BTB member at http://bultreebank.org. Afterwards, I will provide you with the password to decrypt Slovnik.

If you find any mistakes in the scripts or the dictionary itself, please raise an issue or contact the maintainer: b g o s p o d i n ov at pr ot on m ail dot c o m.!