added inv doc freq model, cmd line args