Ivashkevych, Lesia2023-05-102023-05-102019Ivashkevych, L. Teaching programming with Python for linguistics students: whys and how-tos / Lesia Ivashkevych // Advanced Linguistics. – 2019. – № 3. – Pр. 4-12. – Bibliogr.: 9 ref.https://ela.kpi.ua/handle/123456789/55479The article shows why it is worth introducing the basics of computational linguistics in general and programming as a method of the natural language processing in particular to the linguistics students. Computational linguistics has become the basis for solving many practical tasks in the language industry. Providing the linguistics students with the basics and the methods of the computational linguistics we widen their views on linguistics and show a perspective field of their possible future engagement to them. To get acquainted with computational linguistics, students have to learn how to work with corpora and acquire the basics of programming. This article demonstrates why Python is a good choice for linguists to start learning to programme. It also suggests an approach to teaching the fundamentals of the programming in Python for such students and gives step by step the main structures which can be used for processing texts or corpora. To such structures belong strings, variables, lists, loops, print-function, splitmethod, incrementation, and control structure. Combining these elements one can, for instance, split text into sentences or words, count words or sentences in text or count only some concrete elements in the text which satisfy a special condition. The article also outlines how to start working with input files. The further structures of Python are named, which can be introduced to the students next so that they become able to do more operations with texts. It is stressed that teaching programming is impossible without trying out every structure, so it is important to encourage the students to write their own code experimenting with each new element of Python and offer them enough practical tasks. Some examples of such tasks are illustrated in the article.encomputational linguisticslinguistics studentsteaching programmingmethods of the computational linguisticsbasic structures in Pythonкомп’ютерна лінгвістикастуденти-лінгвістинавчання програмуванняметоди комп’ютерної лінгвістикиосновні структури мови програмування PythonTeaching programming with Python for linguistics students: whys and how-tosНавчання студентів-лінгвістів програмування мовою Python: для чого та яким чином.ArticlePp. 4-12https://www.doi.org/10.20535/2617-5339.2019.3.16568781ʼ330000-0001-7166-5331