Visualization Example for Named Entity Boundary Detection

E: Encoder Network, D: Decoder Network.
Example: Hover over "International" in Decoder Network, our system points out the entity boundary "Unions".

Bill Jordan is the general secretary of the International Confederation of Free Trade Unions.

How to call our model programmingly?

User API: Our API returns detected named entity boundary with JSON format.
http://138.197.118.157:8000/bdrybot/api/?q=Glasgow Rangers striker Ally McCoist, another man in form after two hat-tricks in four days, was also named for the August 31 World Cup qualifier against Austria in Vienna.

import urllib
import urllib.parse
import urllib.request

data = {'q': 'Glasgow Rangers striker Ally McCoist, another man in form after two hat-tricks in four days, was also named for the August 31 World Cup qualifier against Austria in Vienna.'}
params = urllib.parse.urlencode(data)
url = "http://138.197.118.157:8000/bdrybot/api/?%s" % params
response = urllib.request.urlopen(url).read()
print(response)