facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Other
4.05k stars 720 forks source link

Regarding installation #664

Open nbala2k2 opened 2 years ago

nbala2k2 commented 2 years ago

I did the following steps: 1.Install haskell to your platform. 2.Install the project using stack build from duckling's project root. 3.Launch the duckling-server with the command stack exec duckling-example-exe 4.use the command pip install fb-duckling

Then typed this in jupyter notebook(local):

from fb_duckling import Duckling duckling = Duckling(locale="en_US") duckling("All work and no play makes jack@gmail.com a dull boy 0102030405")

I am getting this error .

ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000029A6E6EBD30>: Failed to establish a new connection: [WinError 10049] The requested address is not valid in its context'))

Am I missing out any steps . Is it possible to use it in google colab?If yes wat are the steps to be done