Open-source Trallie turns free-form text into structured data
The authors of an arXiv preprint introduced Trallie, an open-source framework that uses large language models to extract structured data from HTML, PDF, TXT, and JSON files. Users can specify which fields to extract or have the framework infer a schema from a collection of documents and refine it before extraction. In tests with open-weight models on FDA 510(k) documents and movie and university websites, the authors reported that Trallie beat previously reported systems when given the target fields and was competitive when it had to discover the fields itself. The code is available on GitHub.
Why it matters
Teams extracting records from varied documents can start with a schema inferred from their files. In the authors’ tests, supplying the target fields produced the stronger comparative result.
Sources
- PrimaryarXiv · Computation and LanguageSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.