English · Русский
Bachelor's thesis project at HSE University (2023) on distinguishing human- and machine-generated text through structural representations of language.
Instead of relying only on surface-level text features, the project represents text as trajectories through a semantic space and studies graph-based properties of those trajectories.
The research pipeline includes:
- preprocessing corpora in Russian and English;
- TF-IDF vectorization;
- dimensionality reduction with SVD;
- representation of words as vectors and construction of text sequences;
- semantic trajectories through text;
- data-driven graph construction;
- graph metrics and text-classification experiments for separating human and generated text.
Python · NumPy · pandas · SciPy · NetworkX · Ray · Jupyter
EnPreprocessing/— English-language preprocessing, TF-IDF/SVD, and vectorization;Russian/— Russian-language preprocessing and feature construction;Graph/— graph construction, graph metrics, trajectory analysis, and classification experiments;TextGenBot/— tooling used to generate machine-written text for the research pipeline;EpubToTXT.ipynb— utility for converting source texts into a usable text format.
This repository preserves the original thesis workflow rather than a production package. Some notebooks were run in a local research environment and therefore contain historical absolute paths and cached outputs.