2.5k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill akkadian-noun-analyzer- _meta.json298 B
- SKILL.md1.8 KB
Overview
This skill implements an Akkadian noun analyzer based on regular-expression feature extraction. It maps surface forms to morphological features like gender, number, case, and state, and includes a simple disambiguator for ambiguous zero-marking cases. The design is lightweight and intended for linguistic exploration, historical language work, or as a component in a larger morphological pipeline.
How this skill works
The analyzer applies a set of regex patterns to input tokens and assigns feature dictionaries when patterns match (e.g., nominative singular endings). For forms with ambiguous zero-marking (absolute vs. construct) it emits combined state labels and relies on a downstream disambiguator that compares neighboring word feature structures to resolve state. The implementation is modular: pattern table, feature assignments, and a separate disambiguation function so you can extend or replace any part easily.
When to use it
- Analyzing Akkadian corpora or inscriptions where surface morphology is regular enough for regex rules
- Building or prototyping morphological analyzers for ancient or low-resource languages
- Integrating a fast, explainable extractor into a pipeline for POS tagging or syntactic parsing
- Teaching morphology or demonstrating rule-based analysis methods
- Preprocessing data before statistical or neural modeling to provide feature priors
Best practices
- Start with a small, well-documented set of regex rules and expand iteratively as exceptions appear
- Keep feature assignments explicit and minimal to avoid overfitting noisy orthography
- Use the disambiguator to leverage local syntactic cues (e.g., surrounding nouns and particles) for absolute/construct resolution
- Validate outputs against a gold set or bilingual glosses when available
- Log unmatched forms for rule refinement and create prioritized test cases for frequent tokens
Example use cases
- Extracting candidate noun paradigms from a cuneiform text corpus to seed a lexicon
- Disambiguating absolute vs. construct states using contextual agreement patterns
- Rapidly prototyping a morphological frontend before training statistical models
- Annotating small annotated datasets where rule transparency is required
- Combining with orthography-normalization scripts to handle variant spellings
FAQ
Regex rules can handle variants if you include alternative patterns or pre-normalize spellings; add normalization steps for diacritics and common orthographic variants.
How does the disambiguator decide between absolute and construct?
The disambiguator inspects nearby words’ feature lists and applies simple heuristics or agreement checks to prefer one state over the combined label; you can extend it with probabilistic scoring.