0.0.1 • Published 6 years ago
@datagica/parse-calendar-events v0.0.1
Parse Items
If a calendar event is missing you can create a pull request
Installation
$ npm i @datagica/parse-calendar-events
Usage
Example:
await parse("anniversaire sabine")
Output:
[
{
"ngram": "anniversaire",
"position": {
"begin": 0,
"end": 12,
"sentence": 0,
"word": 0,
},
"score": 1,
"value": {
"aliases": {
"en": [
"bday",
"birthday",
"birthdays",
],
"fr": [
"anniv",
"anniversaire",
"anniversaires",
],
},
"category": "party",
"icons": {},
"id": "birthday",
"label": {
"en": "Birthday",
"fr": "Anniversaire",
},
"locations": [
"home",
"bar",
"park",
],
"plural": {
"en": "Birthdays",
"fr": "Anniversaires",
},
"recommend": [
"gift",
],
},
},
]