Skip to content

Commit

Permalink
refactor: use python2 compatible syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rokasramas committed Jul 2, 2019
1 parent 22449d7 commit 0d4a24c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spacy/lang/lt/morph_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
]

MORPH_RULES = {
'Cg': {
**{word: {"POS": "CCONJ"} for word in _coordinating_conjunctions},
**{word: {"POS": "SCONJ"} for word in _subordinating_conjunctions}
},
'Cg': dict(
[(word, {"POS": "CCONJ"}) for word in _coordinating_conjunctions] +
[(word, {"POS": "SCONJ"}) for word in _subordinating_conjunctions]
),
'Pg--an': {
'keletą': {
LEMMA: PRON_LEMMA,
Expand Down

0 comments on commit 0d4a24c

Please sign in to comment.