Exercises

LM-C02-C-001Exercise: Document count

A corpus has 5 files, and each file is one document. How many documents are in the corpus?

Compute it first, then check your number.

LM-C02-C-002Exercise: Lowercase merge

If Cat, cat, CAT, and dog are lowercased, how many times does cat appear?

Compute it first, then check your number.

LM-C02-C-003Exercise: Word count

How many word items are in small models learn?

Compute it first, then check your number.

LM-C02-C-004Exercise: Validation role

Enter 1 for train, 2 for validation, or 3 for test: which split is usually used to choose between model settings?

Compute it first, then check your number.

LM-C02-C-005Exercise: Leakage check

Enter 1 if using test text to tune preprocessing decisions can leak information, or 0 if it cannot.

Compute it first, then check your number.