def _run_harfbuzz(text, font, language, extra_parameters=None):
    """Run harfbuzz on some text and return the shaped list."""
    try:
        # if extra_parameters is a string, split it into a list
        extra_parameters = extra_parameters.split(' ')
    except __HOLE__:
        pass
    hb_output = render.run_harfbuzz_on_text(
        text, font, language, extra_parameters)
    return json.loads(hb_output)
dataset/ETHPy150Open googlei18n/nototools/nototools/unittests/layout.py/_run_harfbuzz