def make_ner_file(tagger_id, tmp_cleansed_path, tmp_ner_path, pipeline_root):
params = dict(INPUT_FILE=tmp_cleansed_path,<EOL>OUTPUT_FILE=tmp_ner_path,<EOL>PIPELINE_ROOT=pipeline_root)<EOL>pipeline_cmd = pipeline_cmd_templates[tagger_id] % params<EOL>print(pipeline_cmd)<EOL>print('<STR_LIT>' % tmp_ner_path)<EOL>start_time = time.time()<EOL>gpg_child = subprocess.Popen(<EOL>pipeline_cmd,<EOL>stderr=subprocess.PIPE, shell=True)<EOL>s_out, errors = gpg_child.communicate()<EOL>assert gpg_child.returncode == <NUM_LIT:0> and '<STR_LIT>' not in errors, errors<EOL>elapsed = time.time() - start_time<EOL>print('<STR_LIT>' % (tmp_ner_path, elapsed))<EOL>'''<STR_LIT>'''<EOL>
run child process to get OWPL output