Skip to content

Support for Mispar Hechrachi #14

Description

@WolfCoder161

Hi!

Is it possible to add support (maybe an arg in the gematria_to_int function) for Mispar Hechrachi (sofit letters are the same as their regular counterparts)?

Currently the library supports Mispar Gadol (where sofit letters extend alphabet after ת).

> python
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from hebrew_numbers import gematria_to_int
>>> mem = "מ"
>>> mem_sofit = "ם"
>>> gematria_to_int(mem)
40
>>> gematria_to_int(mem_sofit) 
600

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions