Skip to main content

NYSIIS phonetic encoding algorithm.

Project description

NYSIIS Python Package Version

The pynysiis package provides a Golang implementation of the New York State Identification and Intelligence System (NYSIIS) phonetic encoding algorithm. NYSIIS encodes names based on pronunciation, which is helpful in name-matching and searching applications.

Requirements

Python 2.7 and later.

Setup

You can install this package by using the pip tool and installing:

$ pip install pynysiis

Or:

$ easy_install pynysiis

Usage Example

from nysiis import NYSIIS

# Create an instance of the NYSIIS class
nysiis = NYSIIS()

# Encode a string using the NYSIIS instance
name = "Watkins"
coded_name = nysiis.encode(name)
print(coded_name) # Output: "WATCAN"

Reference

@inproceedings{Rajkovic2007,
  author    = {Petar Rajkovic and Dragan Jankovic},
  title     = {Adaptation and Application of Daitch-Mokotoff Soundex Algorithm on Serbian Names},
  booktitle = {XVII Conference on Applied Mathematics},
  editors   = {D. Herceg and H. Zarin},
  pages     = {193--204},
  year      = {2007},
  publisher = {Department of Mathematics and Informatics, Novi Sad},
  url       = {https://jmp.sh/hukNujCG}
}

Additional References

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynysiis-1.0.2.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

pynysiis-1.0.2-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file pynysiis-1.0.2.tar.gz.

File metadata

  • Download URL: pynysiis-1.0.2.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for pynysiis-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3b07ffb82dd2f90e6792458e3b16888f24eecb93b0ff3b70b5117c311b6ca3ad
MD5 598657547d0b426a10008a9f8145c031
BLAKE2b-256 96755d46e8000606f2897f38e9fe6f957043202347831dcd65c74351eecf84e8

See more details on using hashes here.

File details

Details for the file pynysiis-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pynysiis-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for pynysiis-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84041f05bc4b1ca0eb9010a98cbd11336169677fb182cab1099cf83f40e73cc0
MD5 9940d69e4640515475b33d7554ae1147
BLAKE2b-256 77abd0d74cda7ea833bff7515978c6204873593b83a786c721d196a52f9cfa62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page