This project is a web application that helps users find words from a dictionary based on their input word and the edit distance between words. The edit distance is a measure of how many edits (insertions, deletions, or substitutions) are needed to transform one word into another. The application provides a list of the top 10 words from the dictionary that have the smallest edit distance to the input word.
- Clone the Repository: Clone this GitHub repository to your local machine using the command:
git clone https://github.com/your-username/your-repository.git
- Navigate to the Project Directory: Open a terminal or command prompt and navigate to the project directory:
cd your-repository
- Access the Frontend Files: Move to the directory containing the frontend files (HTML, CSS, JavaScript):
cd frontend
- Running the Application Open the HTML File: Open the HTML file in your browser either by double-clicking on it or using the terminal/command prompt:
open index.html # macOS/Linux
start index.html # Windows
- Interact with the Web Application: Once the HTML file is opened, the web application will load in your browser. Enter a word in the input field and click "Get Suggestions" to see the top 10 words with edit distance.