Download the PHP package crosseno/lexicon without Composer
On this page you can find all versions of the php package crosseno/lexicon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download crosseno/lexicon
More information about crosseno/lexicon
Files in crosseno/lexicon
Package lexicon
Short Description Storage-neutral contracts for Crosseno language packs, lexical catalogs, and solver candidate queries.
License MIT
Informations about the package lexicon
Crosseno Lexicon
Storage-neutral contracts for Crosseno language packs, lexical catalogs, and solver candidate queries.
The package defines solver indexes, cell patterns, candidate filtering, and stable lexical identity. An in-memory backend provides the reference behavior.
Installation
Published releases resolve crosseno/core through the tagged ^0.1 constraint. Source-level CI injects checked-out sibling repositories through Composer's global root configuration; the published manifest contains no path repository.
Patterns and queries
Patterns always have an exact cell count. A cell may contain multiple Unicode code points, and fixed symbols are compared exactly. Unknown cells may carry an allow/exclude CellEligibilityMask.
Language services
Language packs provide AnswerNormalizerInterface, CellTokenizerInterface, and LexicalEquivalenceInterface. The package defines no English, Polish, normalization, or morphology rules. Language tags use canonical BCP 47 form; matching must select exact, RFC 4647 basic-filtering, or RFC 4647 lookup behavior explicitly.
RuntimeLanguagePackInterface is the composition view for ordinary applications. It exposes the language pack, storage-neutral lexical clue catalog, solver index, exact ordinal keys, manifest-derived artifact/ordinal identity, and aggregate clue coverage. Concrete language packages load and validate artifacts; builders consume only this contract.
Stable identity
StableKeyFactory produces versioned answer, sense, and lexeme keys from ordered NFC canonical fields. Version 1 hashes an unambiguous length-prefixed byte stream with SHA-256. Keys include their entity type, source namespace, and algorithm major. See ADR 0001 for the byte-level contract.
Candidate semantics
CandidateConstraints explicitly controls inclusive/exclusive difficulty bounds, unknown difficulty, answer classes, tri-state proper-name and abbreviation flags, dialect matching, clue-language coverage, stable-key exclusions, themes, and the meaning of every empty set filter. Rich clue text is intentionally absent.
Non-goals
This package contains no SQLite adapter, binary-index reader, compiler, concrete language logic, clue assignment policy, generator, CMS integration, or persistence configuration. Lexical clue records are storage-neutral transfer records, not rendered or assigned clues.