--- title: PyTerrier Retrieve emoji: 🐕 colorFrom: green colorTo: green sdk: gradio sdk_version: 3.7 app_file: app.py pinned: false --- # 🐕 PyTerrier: Retrieve This is a demonstration of [PyTerrier's TerrierRetrieve transformer](https://pyterrier.readthedocs.io/en/latest/terrier-retrieval.html). TerrierRetrieve functions as a `Q→R` (retrieval, query-to-result) transformer and can be used in pipelines accordingly. For example, you can pipe the results to a transformer such as `get_text` to load the text associated with the document:
Q
TerrierRetrieve
R
get_text
R