gopalilib

module
v0.0.0-...-5a1af90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: Unlicense

README

=================================
Pāli_ Library and Data Processing
=================================

.. image:: https://img.shields.io/badge/Language-Go-blue.svg
   :target: https://golang.org/

.. image:: https://godoc.org/github.com/siongui/gopalilib?status.svg
   :target: https://godoc.org/github.com/siongui/gopalilib

.. .. image:: https://api.travis-ci.org/siongui/gopalilib.svg?branch=master
   :target: https://travis-ci.org/siongui/gopalilib

.. image:: https://github.com/siongui/gopalilib/workflows/Test%20Package/badge.svg
    :target: https://github.com/siongui/gopalilib/blob/master/.github/workflows/build.yml

.. image:: https://gitlab.com/siongui/gopalilib/badges/master/pipeline.svg
    :target: https://gitlab.com/siongui/gopalilib/-/commits/master

.. image:: https://goreportcard.com/badge/github.com/siongui/gopalilib
   :target: https://goreportcard.com/report/github.com/siongui/gopalilib

.. image:: https://img.shields.io/badge/license-Unlicense-blue.svg
   :target: https://github.com/siongui/gopalilib/blob/master/UNLICENSE

This repository consist of:

1. Common Go_ code (library of `Pāli project`_) to be shared and used by
   client-side (front-end browser) and
   server-side (back-end server).
   The code is located at `lib <lib/>`_ directory.

2. Bootstrap/setup Dictionary (Offline data processing).
   The code is located at `dicutil <dicutil/>`_.

   - test_po2json
   - test_bookparser
   - test_wordparser
   - test_triebuild needs test_wordparser
   - test_vfsbuild needs test_wordparser
   - test_symlink needs test_vfsbuild
   - test_embedmetadata needs test_bookparser and test_triebuild

3. Bootstrap/setup Tipiṭaka (Offline data processing).
   The code is located at `tpkutil <tpkutil/>`_.

   - test_download_tpk
   - test_build_tpk_tree
   - test_embed_tpk_toc
   - test_tipitaka_symlink

4. Utility methods for offline data processing.
   The code is located at `util <util/>`_.

5. Common frontend code, compiled to JavaScript via GopherJS.
   The code is located at `libfrontend <libfrontend/>`_.


UNLICENSE
+++++++++

Released in public domain. See UNLICENSE_.


References
++++++++++

.. [1] `reflection - What are the use(s) for tags in Go? - Stack Overflow <https://stackoverflow.com/questions/10858787/what-are-the-uses-for-tags-in-go>`_
.. [2] `GitHub Pages Symbolic Link Caveat <https://siongui.github.io/2017/03/30/github-pages-symlink-caveat/>`_

.. _Go: https://golang.org/
.. _Pāli: https://en.wikipedia.org/wiki/Pali
.. _Pāli project: https://github.com/siongui/pali
.. _UNLICENSE: http://unlicense.org/

Directories

Path Synopsis
Package dicutil provides methods for offline processing to build Pāli Dictionary.
Package dicutil provides methods for offline processing to build Pāli Dictionary.
lib
Package lib is common library for Pāli Dictionary and Pāli Tipiṭaka.
Package lib is common library for Pāli Dictionary and Pāli Tipiṭaka.
dicmgr
Package dicmgr provides high-level methods to access dictionary data.
Package dicmgr provides high-level methods to access dictionary data.
dictionary
Package dictionary provides dictionary-specific methods for Pāli Dictionary.
Package dictionary provides dictionary-specific methods for Pāli Dictionary.
gettext
Package gettext provides methods for translations, similar to GNU gettext function but much simpler.
Package gettext provides methods for translations, similar to GNU gettext function but much simpler.
jsgettext
Package jsgettext is built on top of package gettext (located at lib/gettext in the same repo).
Package jsgettext is built on top of package gettext (located at lib/gettext in the same repo).
tipitaka
Package tipitaka provides tipitaka-specific methods for Pāli Tipiṭaka.
Package tipitaka provides tipitaka-specific methods for Pāli Tipiṭaka.
trie
Package trie provides methods for building and loading succinct data structure trie for Pāli Dictionary.
Package trie provides methods for building and loading succinct data structure trie for Pāli Dictionary.
Package libfrontend provides common library for frontend code.
Package libfrontend provides common library for frontend code.
everyword
Package everyword marks every Pali word in the given DOM element.
Package everyword marks every Pali word in the given DOM element.
setting
Package setting provides common frontend code for Pali website setting.
Package setting provides common frontend code for Pali website setting.
treeview
Package treeview provides treeview UI for Pāḷi Tipiṭaka ToC (table of content) tree.
Package treeview provides treeview UI for Pāḷi Tipiṭaka ToC (table of content) tree.
velthuis
Package velthuis provide inputting Pali words using Velthuis scheme.
Package velthuis provide inputting Pali words using Velthuis scheme.
xslt
Package xslt sets up XSLTProcessor, given the xsl url.
Package xslt sets up XSLTProcessor, given the xsl url.
Package tpkutil provides methods to process Pāli Tipiṭaka data.
Package tpkutil provides methods to process Pāli Tipiṭaka data.
Package util provides helper methods for development.
Package util provides helper methods for development.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL