Levenshtein VS xpinyin

Compare Levenshtein vs xpinyin and see what are their differences.

Levenshtein

The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity (by ztane)

xpinyin

Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音 (by lxneng)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Levenshtein xpinyin
2 -
1,239 809
- -
0.0 2.6
over 2 years ago over 3 years ago
C Python
GNU General Public License v2.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Levenshtein

Posts with mentions or reviews of Levenshtein. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-28.
  • Is it possible on Python?
    4 projects | /r/Python | 28 Apr 2022
    Yeah my hunch is that a combination of nltk, python-Levenshtein, numpy for language processing, pandas for gathering results and scrapy for web scraping should make it possible. Sadly such a project probably requires at least a month or two worth of training in Python to prototype. Good luck OP.
  • Four Useful Python Libraries You Don't Know About
    1 project | /r/Python | 2 May 2021
    I've used fuzzy-wuzzy and it is pretty slow if you can't install python-Levenshtein (which I couldn't, though I don't remember why). I ended up uninstalling it and using a custom matching algorithm for search in my app.

xpinyin

Posts with mentions or reviews of xpinyin. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning xpinyin yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing Levenshtein and xpinyin you can also consider the following projects:

fuzzywuzzy - Fuzzy String Matching in Python

pyfiglet - An implementation of figlet written in Python

jellyfish - 🪼 a python library for doing approximate and phonetic matching of strings.

汉字拼音转换工具(Python 版) - 汉字转拼音(pypinyin)

TextDistance - 📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

chardet - Python character encoding detector

ftfy - Fixes mojibake and other glitches in Unicode text, after the fact.

Charset Normalizer - Truly universal encoding detector in pure Python

shortuuid - A generator library for concise, unambiguous and URL-safe UUIDs.

uniout - Never see escaped bytes in output.