Skip to main content

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!

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.

License

This project is released under the Apache open source license.

Metadata

Release files for icenews 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for icenews 1.2.1
File Interpreter ABI Platform
icenews-1.2.1-py3-none-any.whl Python 3 none any Details

Release files / icenews-1.2.1-py3-none-any.whl

Download URL icenews-1.2.1-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce86628d234cfced6e50638eea338c4607b5bac23cc1ecc0ccac1f0f655b5d3
BLAKE2b-256 checksum
How to use checksums
96146caf6883be4adfbff4c2dff5335d56cd5dfc0a2fc2f44db026d27b430aeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page