Commit 60a1558a authored by Mateusz Gniewkowski's avatar Mateusz Gniewkowski

Merge branch 'patch-1' into 'master'

Bug fixing

See merge request !3
parents e323a2f2 2aac16c1
Pipeline #933 passed with stages
in 1 minute and 33 seconds
......@@ -15,3 +15,4 @@ services:
- './config.ini:/home/worker/config.ini'
- './src:/home/worker/src'
- './'
- './info.json:/home/worker/info.json'
"""Implementation of omwn_worker."""
"""Implementation of omwn_worker."""
import logging
import json
import lex_ws
import nltk
from nltk.corpus import wordnet as wn
my_logger = logging.getLogger(__name__)
......@@ -17,6 +19,8 @@ class OMWNWorker(lex_ws.LexWorker):
def static_init(cls, config):
"""Initialize worker."""'wordnet')'omw')"Loading models...")
for lang in languages:
wn.lemmas("test", lang=languages[lang])
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment