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

module 'spotlight' has no attribute 'annotate' #19

Open
Shivangini-G opened this issue Mar 5, 2021 · 2 comments
Open

module 'spotlight' has no attribute 'annotate' #19

Shivangini-G opened this issue Mar 5, 2021 · 2 comments

Comments

@Shivangini-G
Copy link

Hey there! I would like to kindly ask for some help.
I was trying to use the spotlight module but I am getting this error...
can you plz help :)

import spotlight
annotations = spotlight.annotate('http://api.dbpedia-spotlight.org/en/annotate', 'President Obama on Monday hat they pay at least the same percentage',confidence=0.4, support=20, spotter='Default')

Traceback (most recent call last):
File "/Users/shivanginigugalia/Documents/spot.py", line 2, in
annotations = spotlight.annotate('http://api.dbpedia-spotlight.org/en/annotate', 'President Obama on Monday hat they pay at least the same percentage',confidence=0.4, support=20, spotter='Default')
AttributeError: module 'spotlight' has no attribute 'annotate'

@originell
Copy link
Contributor

Huh. That's weird. May I ask how you installed the library?

@Shivangini-G
Copy link
Author

pip install pyspotlight

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