You don't solve the inflexion problem.
You would need something where the lemmization tokenization of the sentence is easily accessible to a grammar engine.
Something horrible like:
<div ><lemm="personnal pronoun">I</lemm> <lemm=verb>have</lemm>< <case=accusative quant=3><lemm=noun quantifier /><lemm=....</div>