Create Pipeline object and use it instead of analyzer