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.

License

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icenews-1.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file icenews-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: icenews-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for icenews-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b28aef2e54687ce06c15fb2998449ae16e574139c56ce9617d56f6de0bd602b
MD5 f042370ded1a83a143a1411f94465908
BLAKE2b-256 7ec1bcf253f0ed994e43346eda6ad8b7f32364aaf5cc204e52c08175e4759553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page