Multilingual text detection and routing accuracy, specifically for non-Latin scripts (Armenian). Core functionality failure in language analysis and routing.
Raw Developer Origin & Technical Request
GitHub Issue
Sep 19, 2026
Armenian text is classified as having no letters. At `6a5819129eb220570792e417e49723d697efd76f`, `analyse("Հայերեն")` returns:
```python
{'script': 'unknown', 'script_profile': {}, 'language': None,
'is_english': True, 'non_latin_fraction': 0.0}
```
The characters pass `isalpha()`, but `_SCRIPT_RANGES` has no Armenian entry, so both `detect_script` and `script_profile` discard them. `Router.route` treats `unknown` as “no letters detected” and selects the default checkpoint (English by default). I'd expect Armenian text to select the multilingual route, while genuinely letter-free input such as `12345` keeps the existing fallback.
Reproduced on Windows with Python 3.13 by loading the dependency-free language module directly from the checkout:
```python
import importlib.util
spec = importlib.util.spec_from_file_location("laya_lang", "laya/lang.py")
lang = importlib.util.module_from_spec(spec)
spec.loader.exec_module(lang)
print(lang.analyse("\u0540\u0561\u0575\u0565\u0580\u0565\u0576")) # Հայերեն
```
The English control (`Please refund the charge`) returns `latin` / `is_english=True`; the numeric control returns `unknown`. This checks the detector only; the routing consequence above is from reading `Router.route`. No model weights were loaded and no inference accuracy was measured.
AI assistance: Codex investigated this and ran the reproduction.
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from NandhaKishorM/laya.
Frequently Asked Questions
Market intelligence mapped to Multilingual text detection and routing accuracy, specifically for non-Latin scripts (Armenian). Core functionality failure in language analysis and routing..
How is Multilingual text detection and routing accuracy, specifically for non-Latin scripts (Armenian). Core functionality failure in language analysis and routing. positioned in the market?
What architecture is tied to Multilingual text detection and routing accuracy, specifically for non-Latin scripts (Armenian). Core functionality failure in language analysis and routing.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like script and language by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics