Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.9 KB

README.md

File metadata and controls

13 lines (11 loc) · 1.9 KB

Examples

The examples of lindera-sqlite search Japanese text on SQLite with the extension, and with the dependencies that Lindera finds between the words; one of them is a web application that searches the articles of Wikinews. Each has a README in its directory, which says what it shows, how to run it, and how to read its output. The README of the repository says how to build and load the extension.

Path Contents
documents.tsv, queries.tsv The 20 documents and the 3 queries that the example in Rust and compare.py both search
ipadic.yml, unidic.yml The configurations of lindera_tokenizer for the table of the text, with IPADIC and with UniDic
rust/ Search with dependency pairs: the package lindera-sqlite-examples, with the example dependency_pairs, which compares five ways to query the same index, with IPADIC and with UniDic, and the code it shares with the measurement in eval/ and an end-to-end test
python/compare.py Compare with vector search: full-text search, dependency pairs, vector search and three hybrid ways, side by side
python/direction/ Check the direction of a relation: whether a way to search tells apart two documents that differ in the direction of a relation alone
python/requirements.txt The Python packages of compare.py and of the scripts of direction/, at the versions they were run with
wikinews/ Search Wikinews in a web application: a web application in Python that indexes the articles of the Japanese Wikinews, and searches them by keywords, with or without the dependency pairs, by vectors, and by the hybrid of the two