Homework 3

Due Thurs Nov 11, 18:00

Exercise: (10 points)

Write a progam called RuleBasedPosGuesser that guesses the part of speech of a word based on the language and some rules that apply to the language.

Input / Output overview:
Input:
Processing:
Output:

Optional:
Sample Input/Output:

language:
input word:
output:
English
walked
walked [pos: VERB]

hiking
hiking [pos: VERB]

ugly
ugly [pos: ADJ]

dog
dog [pos: unknown]
German
Dunkelheit
Dunkelheit [pos: NOUN]

Planung
Planung [pos: NOUN]

ehrlich
ehrlich [pos: ADJ]

schreiben
schreiben [pos: VERB]

Hunger
Hunger [pos: unknown]



Submit the following file to Anne (javaiscl (at googlemail.com)):
RuleBasedPosGuesser.java