gan

Gan Chinese 贛語

ISO 639-3: gan I L
6,911 Words in vocabulary
2.13x Best compression
0.2986 Best isotropy

Sample text

Excerpts from Gan Chinese Wikipedia articles.

區劃 隆共管到八隻鎮同到兩隻鄉: 鎮:湘東鎮、荷堯鎮、老關鎮、下埠鎮、臘市鎮、麻山鎮、排上鎮、東橋鎮。 鄉:廣寒寨鄉、白竺鄉。 外部連接 湘東區政府網站
崇義係贛州管到嗰一隻縣。 行政區劃 鎮:橫水鎮、揚眉鎮、過埠鎮、鉛廠鎮、長龍鎮、關田鎮 鄉:龍勾鄉、杰壩鄉、金坑鄉、思順鄉、麟潭鄉、上堡鄉、聶都鄉、文英鄉、樂洞...
文身一般係話一隻人完身嗰器官組織,好似由上到下嗰頭、頸、胸、肚、腳箇滴子身體部件。 別嗰條目 文身最大嗰器官

Most common words

The 20 most frequently used words in Gan Chinese Wikipedia.

Top 20 words in Gan Chinese

Performance dashboard

Key metrics for all model types at a glance.

Performance dashboard for Gan Chinese

Quick start

Tokenizer

from wikilangs import tokenizer
tok = tokenizer('latest', 'gan', 32000)
tokens = tok.tokenize("Your text here")

N-gram

from wikilangs import ngram
ng = ngram('latest', 'gan', gram_size=3)
score = ng.score("Your text here")

Markov chain

from wikilangs import markov
mc = markov('latest', 'gan', depth=3)
text = mc.generate(length=50)

Vocabulary

from wikilangs import vocabulary
vocab = vocabulary('latest', 'gan')
info = vocab.lookup("word")

Embeddings

from wikilangs import embeddings
emb = embeddings('latest', 'gan', dimension=64)
vec = emb.embed_word("word")

Available models

Model Type Variants Description
Tokenizers8k, 16k, 32k, 64kBPE tokenizers with different vocabulary sizes
N-gram (Word)2, 3, 4, 5-gramWord-level language models
N-gram (Subword)2, 3, 4, 5-gramSubword-level language models
Markov (Word)Depth 1–5Word-level text generation
Markov (Subword)Depth 1–5Subword-level text generation
VocabularyWord dictionary with frequency and IDF
Embeddings32d, 64d, 128dPosition-aware word embeddings

Model evaluation

Tokenizer performance

Compression ratios and token statistics across vocabulary sizes.

Tokenizer compression

N-gram evaluation

Perplexity and entropy metrics across n-gram sizes.

N-gram perplexity

Markov chain evaluation

Entropy and branching factor by context depth.

Markov entropy

Vocabulary analysis

Word frequency distribution and Zipf's law analysis.

Zipf's law
Top 20 words

Embeddings evaluation

Isotropy and vector space quality metrics.

Embedding isotropy

Full research report

Access the complete ablation study with all metrics, visualizations, and generated text samples on HuggingFace.

View on HuggingFace →