Re-implementation of Pāli Dictionary and Pāli Tipiṭaka in Go programming language.
Development Environment:
Re-implementation of Pāli Dictionary is almost finished. Pāli Tipiṭaka not yet.
git clone the pali repository and data repository:
# create a workspace in your home directory $ mkdir ~/dev # enter workspace $ cd ~/dev # git clone paligo repository $ git clone https://github.com/siongui/paligo.git --depth=1 # or clone with full depth #$ git clone https://github.com/siongui/paligo.git # git clone data repository $ cd ~/dev/paligo $ make clone_pali_data
Update Ubuntu and install following packages:
- Go
- gopalilib
- go-libsass
- go-online-pali-ime
- gopherjs-i18n
- gopherjs-input-suggest
- paliDataVFS
- GopherJS
$ cd ~/dev/paligo $ make update_ubuntu $ make download_go $ make install
Set up data of this project:
$ make po2mo $ make dir $ make html $ make scss $ make js
Run development server at http://localhost:8000/
$ make devserver
See
# optional: parse dictionary books
$ make parsebooks
$ make parsewords
# optional: convert po files to json
$ make po2json
# optional: build succinct trie
$ make succinct_trie
# optional: create VFS (embed data in front-end Go code)
$ make lib_fileb0x
$ make vfsbuild
Released in public domain. See UNLICENSE.
[1] | GitHub - siongui/pali: Pāḷi Tipiṭaka and Pāḷi Dictionaries |
[2] | siongui/data: Data files for Pāḷi Tipiṭaka, Pāḷi Dictionaries, and external libraries |
[3] | old implementation of Pāli Dictionary |