•  
      Internship_Tracker #356483 A Flask-based API designed for name similarity validation.
    #356483
    Aniket Kumar (aniket.k)
    2024-12-05 10:11
    2024-12-05 10:11
    Details
    A Flask-based API designed for name similarity validation.

    This code implements a Flask-based API to calculate the similarity between two names, commonly used for matching an official name (like on an Aadhaar card) with an input name. It uses Python's SequenceMatcher to determine string similarity and calculates a weighted score based on full-name similarity and individual word (token) matches. Utility functions are included to clean and normalize names, validate the format (only letters and spaces are allowed), and handle different input scenarios. The primary endpoint /validate-name accepts a JSON payload with two names and returns the match percentage, while error handling ensures proper responses for invalid input or unexpected errors. Additional endpoints provide API status and testing functionality.

    Empty
    5 - Medium
    State of Progress
    2024-12-04
    100
    2024-12-05
    Alok Ranjan (alok), Abhijeet Anand (abhi912), Aniket Kumar (aniket.k)
    2024-12-05
    Open
    Attachments
    A Flask-based API designed for name similarity validation.
    References
    References list is empty