Skip to content

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

@Shivangini-G

Description

@Shivangini-G

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions