Giter Club home page Giter Club logo

fuzzyname's Introduction

fuzzyname

PyPI version

A simple python class for fuzzy name matching, especially in academic settings.

Installation

pip install fuzzyname

Examples

from fuzzyname import FuzzyName as Name

Name("Vanessa T. Porter") == Name("V. T. Porter")
Name("Vanessa T. Porter") == Name("V. Porter")
Name("Vanessa Teresa Porter") == Name("V. T. Porter")
Name("Vanessa Teresa Porter") != Name("V. C. Porter")
Name("Vanessa Teresa Porter") == Name("Teresa Porter")
Name("Vanessa Teresa Porter") == Name("V. Teresa Porter")
Name("Vanessa Teresa Porter") != Name("C. Teresa Porter")
Name("Vanessa Teresa Porter") == Name("Vanessa Teresa")
Name("Vanessa Teresa Porter") == Name("Teresa, Vanessa")
Name("Porter, Vanessa") == Name("Porter, Vanessa T.")
Name("Porter, V. Teresa") == Name("Porter, Teresa")
Name("Vanessa Porter") == Name("V. Porter")
Name("Porter, V.") == Name("V. T. Porter")
Name("Phil Porter") == Name("Philip Porter")
Name("Benjamin Porter") == Name("Ben Porter")
Name("Yessica van de Langenberg") == Name("van de Langenberg, Y.")
Name("Li Qin Ho") == Name("Li-Qin Ho")
Name("Li Qin Ho") == Name("L.-Q. Ho")
Name("Li Qin Ho", exact=True) == Name("L. Q. Ho")
Name("Vanessa Teresa Porter") != Name("V. R. Porter")
Name("Vanessa Porter") != Name("Violet Porter")
Name("Li Qin Ho", exact=True) != Name("L. Ho")
Name("Li Qin Ho", exact=True) != Name("Li Qi Ho")
Name("Bill Gates") == Name("William Gates")
Name("Bill Gates", exact=True) != Name("William Gates")
Name("André François") == Name("Andre Francois")
Name("Borgland, Anders W.") == Name("Borgland, Anders")

fuzzyname's People

Contributors

yymao avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

fuzzyname's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.