Skip to content

cecilebertin/conjugator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

conjugator

Conjugator for languages, currently supporting Korean and Hindi. Quickly look up a verb and its usage!

The conjugator takes in a verb and a grammar form and outputs the conjugated word. For example, the future form of ‘하다’(to do) should return ‘할꺼야’(will do). This API will come handy for people who are learning a new language or, if you’re like me, building a language learning app (https://llip.io).

Usage

// First get a conjugator object for language of your choice. (We currently only support korean and hindi)
let koreanConjugator = Conjugator.create('korean');

// Call the conjugator object's conjugate method to conjugate the verb of your liking
let conjugatedWord = koreanConjugator.conjugate(‘하다’, {
  tense: 'future',
  });

Tests

$ npm run test        # run single time
$ npm run test:watch  # live re-run test for any change

Full API Documentation

About

Conjugator for languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%