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

Argument types_src in get_dbpedia_uris() only implemented for character vectors #55

Open
ChristophLeonhardt opened this issue Apr 18, 2024 · 1 comment
Assignees

Comments

@ChristophLeonhardt
Copy link
Collaborator

In the general workflow, DBpedia Spotlight returns the types of the entities. These are stored in a column types which contains a list of lists for each entity. This column can be resolved to individual columns with the types_src argument in get_dbpedia_uris(). Currently, this argument is only available for character vectors.

For other input data such as quanteda corpora, columns of the default value of types_src are still created. For subcorpora based on CWB corpora, this is not the case.

In this case, the columns are not provided. This is an issue for the current implementation of entity_types_map() which relies on these columns.

On a related note: When implemented, the README should be updated to account for these developments.

@ablaette
Copy link
Contributor

ablaette commented May 9, 2024

All get_dbpedia_uris()-methods now have the argument types_src: Can the issues you mention now be resolved?

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

2 participants