You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the approach on the readme trying to run a simple entity linking sample below
import spacy
text_en = "Victor Hugo and Honoré de Balzac are French writers who lived in Paris."
nlp_model_en = spacy.load("en_core_web_sm")
nlp_model_en.add_pipe("entityfishing")
doc_en = nlp_model_en(text_en)
for ent in doc_en.ents:
print((ent.text, ent.label_, ent._.kb_qid, ent._.url_wikidata, ent._.nerd_score))
but receiving the response containing no information related to entity linking
Upon further inspection, I found that the API that will be called as shown in the page no longer works.
Calling the API directly
curl 'http://cloud.science-miner.com/nerd/service/disambiguate' -X POST -F "query={ 'text': 'The army, led by general Paul von Hindenburg defeated Russia in a series of battles collectively known as the First Battle of Tannenberg. But the failed Russian invasion, causing the fresh German troops to move to the east, allowed the tactical Allied victory at the First Battle of the Marne.', 'processSentence': [ 1 ], 'sentences': [ { 'offsetStart': 0, 'offsetEnd': 138 }, { 'offsetStart': 138, 'offsetEnd': 293 } ], 'entities': [ { 'rawName': 'Russian', 'type': 'NATIONAL', 'offsetStart': 153, 'offsetEnd': 160 } ] }"
Has indicated that the server has been moved.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://cloud.science-miner.com/nerd/service/disambiguate">here</a>.</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at cloud.science-miner.com Port 80</address>
</body></html>
Would you mind letting me know if the server is still on? If so, how should I reach it? Appreciate your attention to this matter.
The text was updated successfully, but these errors were encountered:
I am following the approach on the readme trying to run a simple entity linking sample below
but receiving the response containing no information related to entity linking
Upon further inspection, I found that the API that will be called as shown in the page no longer works.
Calling the API directly
Has indicated that the server has been moved.
Would you mind letting me know if the server is still on? If so, how should I reach it? Appreciate your attention to this matter.
The text was updated successfully, but these errors were encountered: