Skip to content

rohitchormale/text-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Analyzer

This module implements APIs to analyze text for possible errors and provide suggestions against input dictionary using Damerau-Levenshtein Distance algorithm. Here, Damerau-Levenshtein Distance is calculated by using Iterative Matrix method.

Requirements

  • Python2.x/Python3.x

Installation

There are no external dependencies for this script.

chmod +x text_analyzer.py

Usage

text_analyzer.py [-h] [-t T] [-f F] [-d D]
optional arguments:
  -h, --help  show this help message and exit
  -t T        Input text to be analyzed
  -f F        Input file path containing text to be analyzed
  -d D        Input file path of dictionary to be used with analyzer. Each new
              word should be on new line.

References

About

Analyse given text to suggest possible matches from dictionary using Damerau-Levenshtein Distance algorithm

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages