Assignment 0: Introduction, warm up

This is a simple warm-up assignment that introduces you to the environment we will use throughout this course, and refresh your git knowledge. This assignment is the way you register for the course. You will not be able to access further (graded or ungraded) assignments before completing this assignment.

Throughout this course, you will receive and submit your assignments through git repositories on GitHub. Our git usage will be rather simple and straightforward. However, you are recommended to learn (or refresh your knowledge about) basic usage of git (you can use any of the numerous tutorials you can find on the Internet).

How to work on and submit the assignments?

The URLs for the later assignments will be posted on the private course repository. You will get access to this repository only after you submit the current assignment. We will use this repository for some of the course material, course discussion and announcements. Make sure you are watching the common repository (visit the page and click on the eye icon on top right part of the page).

The exercise

Follow the instruction below for completing this assignment.

0.0 Set up your assignment repository

Follow this link to set up your assignment repository.

After setting up your repository, clone it to your local computer, and work on the following steps using your favorite programming environment.

0.1 ‘Hello world!’, again!

Write a simple Python program (with file name a0.py) that asks the user

and prints them out to standard output (screen).

Put your source code under version control (git add <filename>), and commit your changes (git commit).

0.2 Write output to a file

Modify your code to write the output to a JSON encoded file named assignment0.json. The data structure of the file should follow the provided example in example.json. Successive runs should overwrite the file.

Test your changes, and commit them (only the source code).

0.3 Provide the information for yourself

Run your application, and answer them correctly, populating the file assignment0.json with your own personal data. Specify the natural languages using three letter ISO 639-2 language codes. Make sure the file (and the name) complies the format described in 0.2.

Add the file to the repository, and commit it.

0.4 Give us some natural language data

Add a new text file, called essay.txt, where you describe your interest in linguistics and computation in at least 5 and at most 15 sentences.

Please make sure that the file you created is a plain text file encoded in UTF-8 (or ASCII). Do not use any special formatting (including markdown).

We will use these essays for later class exercises (without revealing the identity of the authors). Please contact the instructor if you are not comfortable with the use of your writing sample for this purpose.

0.5 Push your changes to GitHub

If you have not done so already, make sure that latest versions of all required files (the source code and the text file) are under version control, and push them to your GitHub repository.