diff --git a/examples/indecl-ops.ccl b/examples/indecl-ops.ccl new file mode 100644 index 0000000000000000000000000000000000000000..e022d32debdbe4e53db42ef989544f38e2bcb443 --- /dev/null +++ b/examples/indecl-ops.ccl @@ -0,0 +1,13 @@ +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") +) + diff --git a/examples/indecl.lex b/examples/indecl.lex new file mode 100644 index 0000000000000000000000000000000000000000..e78d6fb59ee189c1c9f593c2c4f962592b875a68 --- /dev/null +++ b/examples/indecl.lex @@ -0,0 +1,8 @@ +by part +och interj +ach interj +dla prep +bez prep +z prep +dziÅ› adv +wczoraj adv