Skip to content

Package to get category name for a text when being uploaded to pecha.org

License

Notifications You must be signed in to change notification settings

OpenPecha/pecha_org_tools

Repository files navigation


OpenPecha

Pecha.org Categorizer

Description

  • A python package to get category for a particular pecha.
  • Spreedsheet link here.
  • Kindly ask for permission from @tenzin3 for write access to the spreadsheet.
  • Input the Pechas with unassigned categories in the Spreedsheet here.
  • To know how to use the package, refer to extract folder from tests directory.

How it Works?

Category image

pecha.org organizes content in a tree-like structure, where a specific Pecha can belong to various nested categories or sections.

For example, in the image above:

  • The primary category is ཁ་འདོན། (Recitation).
  • Under it, there are subcategories like སྨོན་ལམ། (Aspiration Prayer), which further branches into ཀུན་བཟང་སྨོན་ལམ། (Samantabhadra Aspiration Prayer) and བཟང་སྤྱོད་སྨོན་ལམ། (Bodhicharyavatara Aspiration Prayer).

Each cell in the spreadsheet contains the following information: སྨོན་ལམ།(སྨོན་ལམ་འགྲེལ་བཤད་)(སྨོན་ལམ་འགྲེལ་བཤད་ཐུང་ཐུང་)

Structure of a Cell

  1. Title: The first part is the title of the category (e.g., སྨོན་ལམ།).
  2. Description: The text in the first set of parentheses provides a detailed description (e.g., སྨོན་ལམ་འགྲེལ་བཤད་ - Explanation of Aspiration Prayer).
  3. Short Description: The text in the second set of parentheses gives a brief description (e.g., སྨོན་ལམ་འགྲེལ་བཤད་ཐུང་ཐུང་ - Brief Explanation of Aspiration Prayer).

The corresponding English cell might look like this: Aspiration Prayer (Explanation of Aspiration Prayer) (Brief Explanation of Aspiration Prayer)

By using pecha_org_tools, users can ensure consistency in both Tibetan and English categorizations, making it easier to organize and navigate the texts on pecha.org.

Project owner(s)

None

Docs

Read the docs here.

About

Package to get category name for a text when being uploaded to pecha.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages