Git Product home page Git Product logo

nithya-hub-26 / get_close_matches Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

The get_close_matches() function returns a list of close matched strings. The order of close matched string is based on similarity score, so the most similar string comes first in the list.

Python 100.00%
python python3 get-close-matches get-close-match close-matches similarity-search closest-match closest-word-search difflib

get_close_matches's Introduction

get_close_matches

get_close_matches is a function which can be imported from difflib, it is used to get a close matches of a word given. This concept is used in the search engines like google where it shows results for the close match if the word which user enters is not a dictionary word. It returns a list of the best "good enough" matches. This function contains mainly two parameters one is word parameter which contains a sequence for which close matches are desired and another is possibilities parameter which contains a list of sequences against to match words.

There is a json file which consists of some data in which the keys of the file is the possibilities and the word is given by the user which then displays the value of the key. There is an option to display the calendar for a particular year which is given as user input, if the user enters calendar then it asks for the year then accordinglyr it displays the calendar for that year.

get_close_matches's People

Contributors

nithya-hub-26 avatar

Watchers

 avatar

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.