# Convert AnyStyle training files to the Prodigy format
Converter functions written with the help GPT-4, see https://chat.openai.com/share/3f42ae1d-3066-4563-944d-3139b5e1e867 and https://chat.openai.com/share/b6832876-9424-4ff9-bd83-157f3197f805
%% Cell type:markdown id:83bfc356ce72fe51 tags:
## Parser files
%% Cell type:markdown id:f46a123db5e7d341 tags:
For the output format, see https://prodi.gy/docs/api-interfaces#spans_manual
Since the finder files have no information on page breaks, document segmentation is done using the `meta` tag, which is a very simple heuristic and probably fails in many cases.