Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
4a10849e
Commit
4a10849e
authored
13 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
lexicon sample
parent
0f640d95
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/indecl-ops.ccl
+13
-0
13 additions, 0 deletions
examples/indecl-ops.ccl
examples/indecl.lex
+8
-0
8 additions, 0 deletions
examples/indecl.lex
with
21 additions
and
0 deletions
examples/indecl-ops.ccl
0 → 100644
+
13
−
0
View file @
4a10849e
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")
)
This diff is collapsed.
Click to expand it.
examples/indecl.lex
0 → 100644
+
8
−
0
View file @
4a10849e
by part
och interj
ach interj
dla prep
bez prep
z prep
dziś adv
wczoraj adv
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment