Code Monkey home page Code Monkey logo

lark's Introduction

Lark API Readme

nextjs logo react logo typescript logo python logo prisma logo tailwindcss logo redis logo

What is it?

  • Lark API is a speech assessment REST API built using NextJS in Typescript.
  • It provides accuracy scores, speech to text transcription, and the projected IELTS pronunciation band.
  • It allows English learning apps and websites to assess and provide real-time feedback on the users’ pronunciation.

How does it work?

The Machine Learning part:

ML
  • Lark utilizes the Wav2Vec2 model from Meta for analyzing the speech sample.
  • It converts the speech to it’s phonetic transcription (S2P) using zero-shot cross-lingual recognition.
  • After recognizing the phonetics of the speech, it compares it with the ideal pronunciation of the transcribed speech using the Jaro-Winkler string similarity algorithm.

The Backend API part:

  • The API is written completely in NextJS using next-pages routing.
  • I have used next-auth for user authentication via GitHub and maintaining/persisting sessions.
  • I used Redis for rate-limiting the API based on the IP of the call.

The Frontend part:

  • The Frontend is written using NextJS in Typescript.
  • I opted for TailwindCSS as the CSS framework for this project.
  • For the tables and icons, Material UI has been used.

The Database part:

  • I used Prisma ORM on top of a PlanetScale database which is a serverless MySQL DB.
  • Here is the UML Diagram for the database:
UML

ML Models used

References

lark's People

Contributors

aryanxxvii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.