Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a keyword based search utility #17

Merged
merged 2 commits into from
Jan 29, 2023

Conversation

lmcinnes
Copy link
Contributor

Longer texts are less good for cramming into dataframes for use with the regular search approach. Here we instead use a CountVectorizer and the efficiency of searching a vocabulary to make a simple keyword based search for longer text far more efficient and easy.

jc-healy
jc-healy previously approved these changes Jan 29, 2023
thisnotthat/search.py Outdated Show resolved Hide resolved
@jc-healy jc-healy merged commit 6f2da88 into TutteInstitute:main Jan 29, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants