I think I'd rather see this interaction as the params having a Factory and this code using that factory to create the analyzer.  The statefulness implied by the init() method scares me.