[Paper Review] Word Embeddings from Large-Scale Greek Web Content
This paper presents the first large-scale Greek word embeddings trained on a 50GB corpus of 20 million Greek web pages, using FastText with subword information. The key contribution is a publicly available, high-quality resource with a live web tool for interactive exploration of semantic relationships, similarity, analogies, and t-SNE visualizations of word vectors.
Word embeddings are undoubtedly very useful components in many NLP tasks. In this paper, we present word embeddings and other linguistic resources trained on the largest to date digital Greek language corpus. We also present a live web tool for testing the Greek word embeddings, by offering "analogy", "similarity score" and "most similar words" functions. Through our explorer, one could interact with the Greek word vectors.
Motivation & Objective
- To create the largest publicly available Greek language corpus for NLP by crawling 20 million Greek web pages.
- To develop high-quality word embeddings for Greek using FastText with subword modeling on a large, cleaned corpus.
- To provide a live web-based tool for interactive exploration of Greek word vectors, including similarity, analogy, and clustering.
- To offer linguistic resources such as n-grams, stopword lists, and vocabulary for downstream NLP tasks.
- To enable visualization of semantic relationships via t-SNE and k-means clustering in a web interface.
Proposed method
- Crawled 20 million Greek-language URLs using Heritrix over 45 days, storing data in WARC format for preservation.
- Pre-processed text using multiple libraries (Boilerpipe, BeautifulSoup, Justext) to remove boilerplate and non-Greek content.
- Applied de-duplication per domain, reducing corpus size by 75%, resulting in ~50GB of clean text with 3B tokens and 118M unique sentences.
- Trained multiple FastText and gensim-based skip-gram models with 300-dimensional vectors, optimizing for minCount=11 and negative sampling.
- Built a Flask-based web interface with Jinja and Bootstrap to host a vector explorer using t-SNE dimensionality reduction and k-means clustering.
- Enabled interactive functions: similarity scoring, most similar words, analogy solving, and word combination comparison.
Experimental results
Research questions
- RQ1What is the performance of FastText-based word embeddings trained on a large-scale Greek web corpus compared to other methods?
- RQ2How effective is the de-duplication and boilerplate removal pipeline in improving corpus quality for NLP tasks?
- RQ3Can a live web-based tool effectively support exploration and interpretation of semantic relationships in Greek word vectors?
- RQ4How do subword information and skip-gram training impact the reliability of semantic similarity and spell correction tasks in Greek?
- RQ5To what extent can t-SNE visualization reveal meaningful clusters and relationships in Greek word embeddings?
Key findings
- The final corpus contains approximately 3 billion tokens and 118 million unique sentences after de-duplication, with a 75% reduction in size from raw data.
- The FastText skip-gram model with subword information (minCount=11, negative sampling) achieved the best performance in similarity and spell correction evaluations.
- The web-based explorer enables real-time interaction with word vectors, supporting analogy, similarity, and t-SNE visualization of semantic clusters.
- The system successfully generated and made available unigrams (~7M), bigrams (~90M), and trigrams (~300M) for the Greek language.
- The corpus was extracted from 350,000 Greek domains and 112,000 WARC files, totaling 10TB of HTML content.
- The training process required 2 days on an 8-core system with 32GB RAM, demonstrating feasibility of large-scale Greek NLP training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.