An open API service indexing awesome lists of open source software.

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.

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.

[![asciicast](https://asciinema.org/a/gvBbu4VUGI9uLQxTko5JU4RWu.svg)](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
```

## Usage

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.