When research material is not in English, or one text uses more than one language, a starting point is Programming Historian's open lesson, "Analyzing Multilingual French and Russian Text using NLTK, spaCy, and Stanza." Ian Goodale wrote it for beginners in text analysis. It introduces Python text processing with mixed French and Russian. Readers can open the lesson and follow the contents through preparation, the tools, and the code sections. [1]

The page has an English original and a French version, and it lists learning goals, installation, introductions to the tools, and the practical sections. To see the whole path, start with "Lesson Goals" and "Preparation." A reader with a definite task can use the contents to go directly to tokenization, language detection, part-of-speech tagging, or lemmatization. [1]

Follow the lesson through a multilingual text

The lesson introduces NLTK, spaCy, and Stanza, then uses a multilingual text in French and Russian to explain three preprocessing tasks and automatic language detection. A learner can prepare text the program can read, then follow the code sections and compare the results. [1]

The first step is tokenization: splitting the text into units that can be processed. The lesson focuses on splitting text into words and has separate tokenization sections for NLTK, spaCy, and Stanza. A reader can see how the same kind of task is done with different tools, then continue to tagging and lemmatization. [1]

Part-of-speech tagging marks words as nouns, verbs, adjectives, and so on. Lemmatization returns a word to its dictionary form. The lesson has spaCy and Stanza sections for each of those tasks, meant to follow tokenization. It also has a separate section on automatic language detection, for text that contains more than one language. [1]

What to prepare first

The lesson does not require prior knowledge of Python, but it suggests knowing basic syntax and common operations, especially importing libraries, writing functions and loops, and handling strings. That helps with the structure of the code. A complete beginner can read the introductory tutorial the page recommends. [1]

The installation calls for Python 3 and for NLTK, spaCy, and Stanza from the Python Package Index. The listed environment is Python 3.12, NLTK 3.8.1, spaCy 3.8.11, and Stanza 1.11.1. The page says the code was updated in April 2026 for changes in those libraries. Follow the versions and the installation section on the page. [1]

References

  1. Analyzing Multilingual French and Russian Text using NLTK, spaCy, and Stanza