Home · Projects · ML Lab

Interactive lab / NLP

Natural Language Processing Lab

Explore document representation, similarity and clustering using your own text. All calculations run locally in your browser.

Text vectorisation

Tokens

Document-term matrix

Cosine similarity

K-means document groups

TF-IDF uses raw term frequency × (log((1+N)/(1+df))+1), followed by L2 normalisation. K-means uses Euclidean distance in the selected vector space.

English-to-Xitsonga research

Research proposal: compare original-only training, random back-translated data, round-trip similarity selection and bidirectional model-score selection under equal budgets.

This lab does not train or host a translation model. Read the research methodology.