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

Add rhythmical_lengths to alternative output #126

Open
aitordiaz opened this issue Oct 14, 2021 · 1 comment
Open

Add rhythmical_lengths to alternative output #126

aitordiaz opened this issue Oct 14, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aitordiaz
Copy link
Member

get_scansion("Verde abrigo azul", rhythmical_lengths=[7]) should return:

Ver dea bri go a zul

@aitordiaz aitordiaz added the bug Something isn't working label Oct 14, 2021
@aitordiaz
Copy link
Member Author

Correct output:

{
  "type": "word",
  "content": "que",
  "lemma": "example_lemma",
  "morphologicalAnnotation": "example_morphologicalAnnotation",
  "translation": "example_translation",
  "wordNumber": 2,
  "wordSense": "example_wordSense",
  "partOfSpeech": "EX_partOfSpeech",
  "syllableList": [
    {
      "content": "que",
      "isStressed": false,
      "isWordEnd": true,
      "hasSinaeresis": null,
      "hasSynalepha": true,
      "coda": "example_coda",
      "nucleus": "example_nucleus",
      "onset": "example_onset",
      "is_stressed": false,
      "has_synalepha": true,
      "is_word_end": true
    }
  ]
},
{
  "type": "word",
  "content": "en",
  "lemma": "example_lemma",
  "morphologicalAnnotation": "example_morphologicalAnnotation",
  "translation": "example_translation",
  "wordNumber": 3,
  "wordSense": "example_wordSense",
  "partOfSpeech": "EX_partOfSpeech",
  "syllableList": [
    {
      "content": "en",
      "isStressed": false,
      "isWordEnd": true,
      "hasSinaeresis": null,
      "hasSynalepha": null,
      "coda": "example_coda",
      "nucleus": "example_nucleus",
      "onset": "example_onset",
      "is_stressed": false,
      "is_word_end": true
    }
  ]
},

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

2 participants