Modified the linguistics API and fixed the code to identify verbs properly