shrivastava95 / odia-dictionary

A repository for organizing contributions to the creation of an Odia Dictionary dataset for the Dictionary Augmented Translations project in C4GT'23.
4 stars 1 forks source link

Simple Search APIs for Dict #5

Closed ChakshuGautam closed 1 year ago

ChakshuGautam commented 1 year ago

Connect DuckDB Python Client to search the dictionary. Adding examples to colab should suffice.

shrivastava95 commented 1 year ago

I have added an example to the bottom of the demo notebook for loading the parsed csv files into an in-memory duckdb database and querying it using SQL commands.

Based on the time taken for a single query, it seems feasible to use this. If worst comes to worst, optimizing the queries by making indexes should be sufficient. image