File size: 1,743 Bytes
bb2bcf8
c8085d2
 
bb2bcf8
 
 
c8085d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb2bcf8
 
c8085d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: tigmorph · Tigre morphological analyzer
emoji: 🔤
colorFrom: green
colorTo: indigo
sdk: static
app_file: index.html
pinned: true
license: mit
short_description: Morphological analyzer and generator for Tigre (ትግሬ)
tags:
  - tigre
  - tig
  - morphology
  - morphological-analysis
  - finite-state
  - ethiopic
  - geez
  - low-resource
datasets:
  - BeitTigreAI/tigre-data-monolingual-text
---

# tigmorph · Tigre morphological analyzer

Interactive demo of [tigmorph](https://github.com/beshir-a-Ibrahim/tigmorph), a morphological analyzer and generator
for **Tigre** (ትግሬ, Ge'ez script) built from Shlomo Raz, *A Descriptive Study of Tigre Grammar* (1973).

The analyzer runs entirely in the visitor's browser with [Pyodide](https://pyodide.org): tigmorph is pure Python with
no dependencies, so this is a static Space with no server.

- **Analyze**: words or whole sentences, giving root or lemma, word class, features, pronunciation in Raz's
  transcription and an English gloss, ranked by a model learned from an 11-million-word Tigre corpus.
- **Generate**: any form from a root and features, or a full paradigm.
- **Normalize**: rewrite text in one standard spelling.

## Files

| File | What it is |
|---|---|
| `index.html` | the page |
| `web.py` | small glue layer between the page and tigmorph |
| `tigmorph.zip` | the `tigmorph/` package folder from GitHub, zipped (code and compiled transducers) |

To update after changing tigmorph, rebuild the zip from the repository root and upload it:

```bash
zip -r tigmorph.zip tigmorph -x '*/__pycache__/*'
```

Code MIT; data CC0 / CC BY 4.0 / CC BY-SA 4.0 by source (see the repository's LICENSE-DATA.md).
If you use tigmorph, please cite it and Raz (1973).