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

https://github.com/arvind-4/word-indexing

Solution for the Question
https://github.com/arvind-4/word-indexing

file pathlib python

Last synced: 5 months ago
JSON representation

Solution for the Question

Awesome Lists containing this project

README

          

# Assignment

## Challenge outline

"Create index of words in a book" is a standard question we ask as practical test for devteam candidates.

Time limit is 3 hours. But it can be extended.

The question is given in Assignment.txt.

Data for testing the program is present in Page1.txt, Page2.txt, Page3.txt & exclude-words.txt.

Correct answer for test data is present in index.txt.

[The Question](https://github.com/Arvind-4/Assignment/blob/main/assignment/Assignment.txt)

## Getting Started

### Install requirements

```bash
python3.10 venv .
source bin/activate
pip install -r requirements.txt
```

### Run the App

```bash
python src/main.py
```
### Check Outputs

```
# output folder
# ./src/output/index.txt
```