Bartosz
Bartosz
Offending examples: `08h00 - 11h30` Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="08h00 - 11h30"' ``` Result: ```json [ { "body":"08h00 - 11h30", "start":1, "value":{ "values":[ { "to":{ "value":"2021-09-04T23:31:00.000-07:00", "grain":"minute" },...
Offending input: `01.07.2021 - 30.06.2026` Command ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="01.07.2021 - 30.06.2026"' ``` Current erroneous output: ```json [ { "body": "01.07.2021 - 30.06.2026", "dim": "phone-number", "end": 24, "latent":...
Offending input: ` 08h30-12h00 et 14h00-16h30` Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text=" 08h30-12h00 et 14h00-16h30"' ``` Problems with the current output: * ` 08h30-12h00 et 14h00-16h30` is parsed as...
Offending input: `Téléphone : 021/821’51’08` Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="Téléphone : 021/821’51’08"' ``` Current output: ```json [ { "body": "021/821", "dim": "number", "end": 20, "latent": false, "start": 13,...
Offending input: `2011 à aujourd'hui` (2011 to today) Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="2011 à aujourd\'hui"' ``` Incorrect output: ```json [ { "body": "2011", "dim": "number", "end": 5, "latent":...
Offending input: `01.07.2021` Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="01.07.2021"' ``` Current output: ```json [ { "body": "01.07.2021", "dim": "phone-number", "end": 11, "latent": false, "start": 1, "value": { "type": "value",...
Offending examples: `16’157`, `815'300` 1. Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="16’157"' ``` Result (lacking an answer recognizing the number 16157): ```json [ { "body":"16", "start":1, "value":{ "value":16, "type":"value" },...
Offending phrase: `du 1er juillet 2021 au 30 juin 2022` (from July 1, 2021 to June 30, 2022) Command: ```bash curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="du 1er juillet 2021 au 30...
### Before submitting a *pull request* make sure you have: - [x] [Searched](https://github.com/ytdl-org/youtube-dl/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests - [x] Read [adding new extractor tutorial](https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site) - [ ] Read...
Added functions `setlogmask()` and `getlogmask()` in order to implement functionality provided by syslog `setlogmask` (https://linux.die.net/man/3/setlogmask). Differences between this implementation and original: - I used `set[SyslogSeverity]` instead of bitmasks, - I...