Add genders

This commit is contained in:
Feufochmar 2019-09-29 10:38:04 +02:00 committed by Feufochmar
parent 5045f415c4
commit 3a1ba490f5
2 changed files with 62 additions and 5 deletions

View File

@ -11,7 +11,7 @@ The files and their format is described below.
## calendar.json
Contains the description of the calendar year and astrological signs.
The root object contains two fields:
The root is an `object` containing two fields:
- `months` (`list`: `month`): the list of months
- `astrological-signs` (`list`: `sign`): the list of astrological signs
@ -22,11 +22,26 @@ A `month` object has the following fields:
- `named-after` (`string`): the origin of the name
A `sign` object has the following fields:
- `name` (`string`): the name of the sign
- `symbol` (`string`): the path to the image of the symbol of the sign
- `from` (`object`: `date`): the starting date of the astrological sign
- `to` (`object`: `date`): the ending date of the astrological sign
- `name` (`string`): the name of the sign
- `symbol` (`string`): the path to the image of the symbol of the sign
- `from` (`object`: `date`): the starting date of the astrological sign
- `to` (`object`: `date`): the ending date of the astrological sign
A `date` objects used in the astrological signs has the folowing fields:
- `month` (`integer`): the month of the date
- `day` (`integer`): the day of the date
## genders.json
Contains the description of (english) genders. Mostly for grammatical use when generating sentences.
The root is a `list` of `gender` objects.
A `gender` object has the following fields:
- `name` (`string`): the name of the gender
- `title` (`string`): the honorific used to indicate the gender of a person
- `title-abbreviation` (`string`): the abbreviation of the title
- `subject-pronoun` (`string`): the 3rd person subject pronoun corresponding to the gender
- `object-pronoun` (`string`): the 3rd person object pronoun corresponding to the gender
- `genitive-adjective` (`string`): the 3rd person genitive adjective corresponding to the gender
- `reflexive-pronoun` (`string`): the 3rd person reflexive pronoun corresponding to the gender
- `plural?` (`boolean`): indicate if verbs should be conjugated in plural when the subject pronoun is the subject of a sentence

42
genders.json Normal file
View File

@ -0,0 +1,42 @@
[
{
"name": "masculine",
"title": "Mister",
"title-abbreviation": "Mr",
"subject-pronoun": "he",
"object-pronoun": "him",
"genitive-adjective": "his",
"reflexive-pronoun": "himself",
"plural?": false
},
{
"name": "feminine",
"title": "Miss",
"title-abbreviation": "Ms",
"subject-pronoun": "she",
"object-pronoun": "her",
"genitive-adjective": "her",
"reflexive-pronoun": "herself",
"plural?": false
},
{
"name": "neutral-person",
"title": "Mixter",
"title-abbreviation": "Mx",
"subject-pronoun": "they",
"object-pronoun": "them",
"genitive-adjective": "their",
"reflexive-pronoun": "themselves",
"plural?": true
},
{
"name": "neutral-thing",
"title": "Thing",
"title-abbreviation": "Tg",
"subject-pronoun": "it",
"object-pronoun": "it",
"genitive-adjective": "its",
"reflexive-pronoun": "itself",
"plural?": false
},
]