Prodigy can import the xmi format file as input file?

Prodigy can import the xmi format file as input file?

Not out-of-the-box – but Prodigy is fully scriptable in Python, so if you can load your data in Python, you can use it in Prodigy. All you need is write a generator function that yields examples in Prodigy’s format. For example:

def get_stream():
    # Load your data somehow in Python
    data = load_your_data_somehow()
    for line in data:
        # Format your data as a dict
        yield {"text": line}

You can also find more details in this section on writing custom loaders. For the exact dictionary formats expected by the different interfaces, see the “Annotation task formats” section in your PRODIGY_README.html.