Skip to main content

Simple NLP for Icelandic News

Project description

icenews

Simple NLP for Icelandic News

This project is aimed at extracting themes / concepts from simple icelandic news text - headlines and such. This is used for example by helst.is for processing mainstream Icelandic news media.

travis

How to use

$ pip install icenews
$ python -m icenews

And then when the web server is running - analyze your text. For example:

$ python
>>> import requests
>>> t = 'Áformað er að taka upp nýtt greiðslukerfi fyrir Strætó á næstunni.'
>>> r = requests.post('http://127.0.0.1:5000/v1/parse', json={'in': t}) 
>>> print(r.json())
{'important_words': ['greiðslukerfi', 'strætó', 'upp', 'á næstunni', 'áforma', 'áformaður', 'nýr', 'nýta']}

Use with container

If you prefer you can also load the prebuilt container and run locally:

docker run -d -p 5000:5000 --rm --name icenews sverrirab/icenews

Now with API documentation!

Visit API Documentation to read the documentation and try out the API.

Note on licensing

This project is released under the Apache License because that is compatible with all the other licenses for libraries it depends on. They are as time of writing: Public Domain, MIT, BSD, BSD-3 and GPLv3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for icenews, version 1.0.9
Filename, size File type Python version Upload date Hashes
Filename, size icenews-1.0.9-py3-none-any.whl (14.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page