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 support for lexemes #1

Open
Teester opened this issue Nov 8, 2020 · 2 comments
Open

Add support for lexemes #1

Teester opened this issue Nov 8, 2020 · 2 comments
Labels
backend Issues relating to the python backend enhancement New feature or request

Comments

@Teester
Copy link
Owner

Teester commented Nov 8, 2020

Lexemes currently get the "failed to validate schema" error message.

Support for lexemes needs to be added to the api. This required determining the important prefixes used by lexemes and translating them into properties, forms and senses in shape.py. The analysis in compareshape.py will presumably also have to take into account forms and senses.

The userscript may also need to be updated if the html element ids and classes are different to the ones that are used in entities.

An initial partial solution may be to ignore certain prefixes and only analyse properties (which the api can currently do) so there's at least partial support available.

@Teester
Copy link
Owner Author

Teester commented Nov 20, 2020

Current Status:

  • Basic support
  • Support for statements
  • Support for lexicalCategory
  • Support for language
  • Support for Forms
  • Support for Senses

@Teester Teester added backend Issues relating to the python backend enhancement New feature or request labels Apr 6, 2021
@fnielsen
Copy link

Interestingly, https://entityshape.toolforge.org/api?entityschema=E34&entity=Lexeme:L468580&language=da does not work ("An error has occurred while translating this schema") while https://entityshape.toolforge.org/api?entityschema=E34&entity=Lexeme:L117&language=da does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues relating to the python backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants