"""
# **Word Analysis**
"""
wordListE=[{"word":"trained","rt":"train","cat":"v","gen":"male","num":"sg","case":"","per":"first","tense":"simple-past","aspect":""}, 
           {"word":"stood","rt":"stand","cat":"v","gen":"male","num":"sg","case":"","per":"first","tense":"simple-past","aspect":""}, 
           {"word":"walking","rt":"walk","cat":"v","gen":"male","num":"sg","case":"","per":"first","tense":"present-continuous","aspect":""}, 
] 
def process(word): 
    for x in wordListE: 
        if word==x["word"]: 
            if x['cat']=="v": 
                print("Root of word is : ",x['rt'],"category is verb,","gender is",x['gen'],",number is",x['num'], ", tense is", 
                      x['tense'], ", person is", x['per'],", aspect is:",x['aspect'])
            else: 
                print("Root of word is : ",x['rt'],"category is noun,","gender is",x['gen'],",number is",x['num']) 
word = input("Enter the word:")
print("Your word is:",word)
process(word)