Code snippets for XQuery Working Group (Text Mining at Scale)
✓ Published0🌍 Public
CCliffordAnderson
Last edited Oct 4, 2019
Created on Oct 2, 2019
This example demonstrates a text-mining workflow for querying the Victorian Women Writers Project corpus stored in a BaseX database, using XQuery and XPath Full Text 1.0. It walks through creating structured records from TEI XML, saving them to a new database, and running full-text searches with scoring, stemming, and thesaurus-based matching. The code exercises functions like `db:replace`, `ft:mark`, and `ft:extract` to highlight matching text, while also showing stop-word filtering and boolean operators for queries.
AI-generated description