Finds the gender of Spanish nouns.
$ npm install --save gender-es
var gender = require('gender-es');
gender.genderForNoun('carne');
// -> 'f'
gender.isFeminine('récord');
// -> false
gender.isMasculine('felicidad');
// -> false
gender.definiteArticle('calle');
// -> 'la'
gender.addDefiniteArticle('miel');
// -> 'la miel'
gender.indefiniteArticle('moto');
// -> una;
gender.addIndefiniteArticle('mapa',5); {
// -> 'unos mapa';
Type: string
Get the gender of the Spanish noun.
Type: string
Is the Spanish noun masculine?
Type: string
Is the Spanish noun feminine?
Type: string
Gets the indefinite article for the word (un,una,unos,unas).
Type: string
Gets the definite article for the word (el,la,los,las).
Type: string
Prefixes the indefinite article for the word (un,una,unos,unas) to the word.
Type: string
Prefixes the definite article for the word (el,la,los,las).