This package contains various JavaScript utilities for Interslavic language to work with BCP 47 codes, transliteration, declension, conjugation, etc.
To install in your project, use:
npm install @interslavic/utils --save
Reference is automatically generated at: https://medzuslovjansky.github.io/js-utils
-
InterslavicBCP47
- primary BCP 47 codes for Interslavic likeisv
and its variants per used alphabets. -
FlavorisationBCP47
- all possible BCP 47 codes for Interslavic with flavorisations applied like Northern, Southern, Slovianto, etc. -
Glagolitic
- collection of named constants for Glagolitic letters, e.g.Glagolitic.AZU
,Glagolitic.BUKY
, etc.
-
transliterate
- transliterate text from one alphabet to another using BCP 47 codes
-
parsePos
- parse tags likef.
,v.tr. impf.
, etc. into an object with convenient properties
-
declensionAdjective
- declension of adjectives into an object form. -
declensionAdjectiveFlat
- declension of adjectives into an array of strings.
-
declensionNoun
- declension of nouns into an object form. -
declensionNounFlat
- declension of nouns into an array of strings.
-
declensionNumeral
- declension of numerals into an object form. -
declensionNumeralFlat
- declension of numerals into an array of strings.
-
declensionPronoun
- declension of pronouns into an object form. -
declensionPronounFlat
- declension of pronouns into an array of strings.
-
conjugationVerb
- conjugation of verbs into an object form. -
conjugationVerbFlat
- conjugation of verbs into an array of strings.