Skip to content

davidblurton/tala-api

Repository files navigation

Icelandic declension API

An API for icelandic declensions. Uses data from Beygingarlýsing íslensks nútímamáls

api.tala.is/find/hestur?lang=en

[
   {
      headWord: "Hestur",
      binId: 259304,
      wordClass: "Noun (masculine)",
      section: "örn",
      forms: [
         {
            form: "Hestur",
            grammarTag: "NFET",
            tags: {
               grammarCase: "nominative",
               number: "singular",
               article: "indefinite",
               gender: "masculine"
            }
         },
         {
            form: "Hest",
            grammarTag: "ÞFET",
            tags: {
               grammarCase: "accusative",
               number: "singular",
               article: "indefinite",
               gender: "masculine"
         }
         ...
   }
]

Declensions api

Search is case-insensitive (hestur returns results for hestur and Hestur). Add a lang query parameter to translate tags (supported languages: en, is)

/id/:id

Finds a word by bin id

/find/:word

Finds all words that match exactly

About

An API for icelandic declensions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published