https://github.com/addono/word-pair-length-finder
Find word pairs by knowing the length of the words.
https://github.com/addono/word-pair-length-finder
Last synced: 11 months ago
JSON representation
Find word pairs by knowing the length of the words.
- Host: GitHub
- URL: https://github.com/addono/word-pair-length-finder
- Owner: Addono
- Created: 2019-12-23T12:34:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T12:13:58.000Z (over 6 years ago)
- Last Synced: 2025-05-16T21:11:58.017Z (about 1 year ago)
- Language: Python
- Size: 819 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Word Pair Length Finder
## Table of Contents
+ [About](#about)
+ [Getting Started](#getting_started)
+ [Usage](#usage)
## About
A small script to find word pairs when you know the length of these words. Originally written for finding book titles for a Chistmas puzzle.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine.
[](https://asciinema.org/a/gvBbu4VUGI9uLQxTko5JU4RWu)
### Prerequisites
For this project, you will need Python 3 and (optionally) `virtualenv`.
```
brew install python3 pyenv-virtualenv
```
### Installing
Create a virtual environment.
```bash
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```
Enter the virtual environment, if not already.
```bash
source venv/bin/activate
```
To run the script:
```bash
python search.py
```
This project comes with a dataset containing all Dutch book titles according to [book.be](https://book.be) released in 2019, scraped using [this](https://github.com/Addono/bookbe-spider) spider. You can replace the `data.csv` file with any dataset you like. The script will use the first column as its input.