Skip to main content

Simple NLP for Icelandic News

Project description


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 for processing mainstream Icelandic news media.


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 ='', 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!

If you run the server locally you can view the documentation locally by visiting http://localhost:5000/docs - You can view the OpenAPI specification here.


This project is released under the Apache open source license.

Project details

Download files

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

Built Distribution

icenews-1.2.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page