Lecture: Copy words in Excel and translate them into multiple languages with googletrans on Google Colaboratory ver. 2

Last Updated on September 18, 2022 by shibatau

Typos are corrected.

I. What will you learn?

There are some international students in my class. They are from China, Indonesia, Nepal, Sri Lanka and Vietnam. Students take notes with Excel in my class. Sometimes I show the important words in Excel and explain them though I’m not expert at Excel. This may be useful when you explain about English words in class when there are some international students in your class.

II. The scripts

1.The data

You have to copy the cells of the English words in the Excel sheet and paste them as a string with line breaks using “”” “””.

# get words as strings from Excel
str = """lists
tuples
sets
dictionaries
data frames
rows
columns
variables
observations
indices
values
strings
numerals
series"""
str
2. The codes

You can see the scripts here on Google Colaboratory:

https://colab.research.google.com/drive/1tDw81KB0Ue-yZ4RIQYNpzuwLXQfW_aQ3?usp=sharing

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.