Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neeme Kahusk
Lightewn
Commits
9d0e1fdc
Commit
9d0e1fdc
authored
Mar 06, 2015
by
Neeme Kahusk
Browse files
translation tables
parent
e2f204df
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/visdic.py
View file @
9d0e1fdc
...
...
@@ -24,7 +24,13 @@ from settings import FIN_PATH
TABLE_FILENAMES
=
{
'adj'
:
'fin2pwn-adj.txt'
,
'adv'
:
'fin2pwn-adv.txt'
,
'noun'
:
'fin2pwn-noun.txt'
,
'verb'
:
'fin2pwn-verb.txt'
}
# TODO: other marks of POS e.g. normalisePOS
def
normalisePOS
(
i
):
"""get POS in whatever form and return on one of
adj, adv, noun, verb
"""
pass
POINTER_SYMBOLS
=
{
# (symbol, pos):
(
'!'
,
'n'
):{
'gloss'
:
'Antonym'
,
'vis'
:
'antonym'
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment