Hello everyone! Specialists who use the Experimental Code Column, please tell me, can you somehow use the information on the links below in order to inflect the Russian surname, first name and patronymic entered in the Glide table?
JS library to inflect Russian first, last, and middle names. - GitHub - petrovich/petrovich-js: JS library to inflect Russian first, last, and middle names.
Склонение названий городов, определения пола по ФИО, склонения имен по падежам - GitHub - nodkz/lvovich: Склонение названий городов, определения пола по ФИО, склонения имен по падежам
"use strict";
(function () {
// Predefined values
var predef = {
genders: ['male', 'female', 'androgynous'],
nametypes: ['first', 'middle', 'last'],
cases: ['nominative', 'genitive', 'dative', 'accusative', 'instrumental', 'prepositional']
};
// Auxiliary function: no Array.indexOf owing to IE8
function contains(arr, x) {
for (var i = 0; i < arr.length; i++) {
if (arr[i] === x) return true;
}
return false;
}
// First use means:
This file has been truncated. show original