Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[german][time] dayofMonth monthAsNumber at timeOfDay not detecting #701

Open
r4nc0r opened this issue Aug 1, 2022 · 0 comments
Open

[german][time] dayofMonth monthAsNumber at timeOfDay not detecting #701

r4nc0r opened this issue Aug 1, 2022 · 0 comments

Comments

@r4nc0r
Copy link

r4nc0r commented Aug 1, 2022

Hi,

i really love Duckling, but one datetime parsing isnt quite right in german:
"dayofMonth monthAsNumber at timeOfDay" for example: am vierten achten um dreizehn uhr

should return 2022-08-04T13:00:00.000-07:00

but returns:

    {
        "body": "am vierten",
        "start": 0,
        "value": {
            "values": [
                {
                    "value": "2022-08-04T00:00:00.000-07:00",
                    "grain": "day",
                    "type": "value"
                },
                {
                    "value": "2022-09-04T00:00:00.000-07:00",
                    "grain": "day",
                    "type": "value"
                },
                {
                    "value": "2022-10-04T00:00:00.000-07:00",
                    "grain": "day",
                    "type": "value"
                }
            ],
            "value": "2022-08-04T00:00:00.000-07:00",
            "grain": "day",
            "type": "value"
        },
        "end": 10,
        "dim": "time",
        "latent": false
    },
    {
        "body": "achten um dreizehn uhr",
        "start": 11,
        "value": {
            "values": [
                {
                    "value": "2022-08-08T13:00:00.000-07:00",
                    "grain": "hour",
                    "type": "value"
                },
                {
                    "value": "2022-09-08T13:00:00.000-07:00",
                    "grain": "hour",
                    "type": "value"
                },
                {
                    "value": "2022-10-08T13:00:00.000-07:00",
                    "grain": "hour",
                    "type": "value"
                }
            ],
            "value": "2022-08-08T13:00:00.000-07:00",
            "grain": "hour",
            "type": "value"
        },
        "end": 33,
        "dim": "time",
        "latent": false
    }
]```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant