Skip to content
Snippets Groups Projects
Commit 4a10849e authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

lexicon sample

parent 0f640d95
Branches
No related merge requests found
import("indecl.lex", "indecl") // import file as "indecl"
@b:"indecl" ( // tests for particular classes from the lexicon
inter(lex(lower(orth[0]), "indecl"), ["adv"]);
inter(lex(lower(orth[0]), "indecl"), ["interj"]);
inter(lex(lower(orth[0]), "indecl"), ["part"]);
inter(lex(lower(orth[0]), "indecl"), ["prep"])
)
@s:"indecl_label" ( // gets the label from the lexicon
lex(lower(orth[0]), "indecl")
)
by part
och interj
ach interj
dla prep
bez prep
z prep
dziś adv
wczoraj adv
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment