Registry / ai-ml / highered

highered

JSON →
library0.2.1pypypi✓ verified 79d ago

Learnable Edit Distance using PyHacrf. Version 0.2.1. Infrequently updated.

pip install highered
INSTALL
IMPORT
SIG · HIGHERED
H
highered
ai-mlpythonv0.2.1
Install
3.8s avg
Import
Disk
94MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 3.9s
py 3.11
✕ build_error
✓ 3.6s
py 3.12
✕ build_error
✓ 3.6s
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 4.3s
94MB installed
● package 94MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CRFEditDistance
from highered import CRFEditDistance
from highered import Higer
DefaultStateMachine
from highered import DefaultStateMachine
Hacrf
from highered import Hacrf

Train a learnable edit distance model using Higer.

from highered import Higer, train # Example training data: pairs of strings with label 1 for match, 0 for mismatch X = [('abc', 'abc'), ('abc', 'abd')] y = [1, 0] model = Higer() model.fit(X, y) # Predict distance print(model.predict(('abc', 'abc'))) # likely less than 0.5 print(model.predict(('abc', 'xyz'))) # likely greater than 0.5
Debug
Known issues
gotchaThe package is in early development (0.2.1). API may change without notice.
fix
Pin version in requirements and monitor for updates.
affects: <=0.2.1
gotchaThe library depends on PyHacrf which has its own dependencies (e.g., numpy, scipy). Ensure a compatible environment.
fix
Install in a clean virtual environment or check PyHacrf documentation for system requirements.
affects: all
gotchaThe Higer class may expect specific input types (e.g., lists of tuples of strings). Non-string or unbalanced pairs may fail silently.
fix
Always use pairs of strings; verify with small examples first.
affects: all
Upgrade
Version history
0.2.1latest on PyPI · released Jun 21, 2016
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
highered — pip install highered · libregistry