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

Language options list returns invalid data for hyphenation field #3

Open
snomos opened this issue Feb 12, 2020 · 0 comments
Open

Language options list returns invalid data for hyphenation field #3

snomos opened this issue Feb 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@snomos
Copy link
Member

snomos commented Feb 12, 2020

The following command:

$ curl -s -X GET -k -H 'Content-Type: application/json' -i 'https://api-giellalt.uit.no/languages' | grep '{' | jq .

returns this data structure:

{
  "available": {
    "grammar": {
      "smj": "julevsámegiella",
      "sma": "Åarjelsaemien gïele",
      "sms": "nuõrttsääʹmǩiõll",
      "smn": "anarâškielâ",
      "se": "davvisámegiella"
    },
    "speller": {
      "se": "davvisámegiella",
      "smj": "julevsámegiella",
      "sma": "Åarjelsaemien gïele",
      "sms": "nuõrttsääʹmǩiõll",
      "smn": "anarâškielâ"
    },
    "hyphenation": {
      "hyphenator-gt-desc": "hyphenator-gt-desc"
    }
  }
}

The returned data for hyphenation is invalid, the expected data should be as for speller and grammar.

@snomos snomos added the bug Something isn't working label Feb 12, 2020
@bbqsrc bbqsrc changed the title Bug in hyphenation API Language options list returns invalid data for hyphenation field Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant