Coder Social home page Coder Social logo

mostafa / farhang Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 18.01 MB

Farhang DPS is a dictionary type-setting and production software for bilingual dictionaries

License: GNU General Public License v3.0

C# 88.45% TeX 11.55%
dps dictionary-production dictionary bilingual farhang

farhang's Introduction

Farhang Dictionary Production System (DPS)

The purpose of this project is to typeset bilingual dictionaries. After typesetting, it provides options to export them to a specially crafted TeX file, which uses farhang.cls LaTeX class file for the layout of the TeX files which will then be converted to PDF using TeXLive distribution using XeLaTeX. It also has a SQLite export feature to be used for writing dictionary apps.

It is written in C# and uses MongoDB as database for storing dictionary entries as separate documents. The first (stone-age) version was developed about 9 years ago using Python, PostgreSQL and it was developed on Debian and was cross-compiled for windows. The current version has been developed about 6 years ago and is very old and possibly needs refactoring and adding features. I used Mercurial (Hg) to manage the project, but converted the whole project from Mercurial to Git, just before making it free using hg-git plugin, mercurial package, python and bitbucket.

In order to run the project, you should install MongoDB and compile and run the project from source. I will try to provide a binary version for your convenience if I can find a suitable time. Also, you should have DejaVu font family installed on your machine to be able to use this software, since this font family has by far the most complete set of unicode characters. You can download it here. It is published with Free License and is in Public Domain.

This project is used to typeset a bilingual German-Persian dictionary of over 2600 pages which is published by Zabankadeh and Langenscheidt AG.

Langenscheidt Handwörterbuch Deutsch-Persisch

Screenshots

Main screen

Farhang 2 Screenshot - Main Screen

International Phonetic Alphabet (IPA) Keyboard

SQLite Database Exporter (a.k.a. Mobile Database Exporter)

Manual Headword Sorter

Farhang 2 Screenshot - Manual Headword Sortter

TeX Exporter (aka. PDF Builder)

Generated TeX file

TeX->PDF Output

Contribution

Contribution is always welcome! To report bugs, simply open an issue and fill it with related information. To fix a bug, fork the repository, fix the bug, push to your own fork, make a pull request and done!

License

GPLv3

farhang's People

Contributors

mostafa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.