Skip to main content

ARCoder

arcoder.py implements an abstract base class called Encoder along with two concrete implementations: ARCoder and Holmes. Each has an encode method that takes a string and encodes it into a series of symbols designed to be used for similarity measurements.

    >>> from arcoder import ARCoder, Holmes
    >>> a = ARCoder()
    >>> a.encode("Sohaib")
    ['suhaeb', 'suhib']
    >>> h = Holmes()
    >>> h.encode("Sohaib")
    ['sohayb']

The ARCoder algorithm is described more fully in Moore, J., Hamid, S., and Bromberger, S.: "An Evaluation of Transliterated Arabic Name Matching Methods".

The Holmes implementation is derived from Holmes, D., Kashfi, S., Aqeel, S. U.: "Transliterated arabic name search", Communications, Internet, and Information Technology, pp. 267-273. (2004).

Release files for arcoder 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcoder 0.1.0
File Size Uploaded
arcoder-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arcoder 0.1.0
File Interpreter ABI Platform
arcoder-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / arcoder-0.1.0.tar.gz

Download URL arcoder-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f454aa5cd9bc61b2bdc5af84aaad130401ce0bb778b3da543a67179c3a376a55
BLAKE2b-256 checksum
How to use checksums
2d268e96ec7e8b4489857b31766822884420af91fd432623684793b0ba5865c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / arcoder-0.1.0-py3-none-any.whl

Download URL arcoder-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
774a3d918e8bb9b4f40f1768c2fed211e667cefb6f07ae18d515b1aeac319454
BLAKE2b-256 checksum
How to use checksums
07eacbd3f54f4a0f9b5f043777dac748bc092d1e92052e6c01c31891eb52dc0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page