Go-reloaded
In this project i built a small Go tool that reads a text file and automatically applies to a set of editing rules such as :
1.converting words to uppercase/lowercase/capitalized form
2.converting hexadecimal and binary numbers to decimal
3.fixing punctuation spacing
4.fixing quotes 'like this'
5.converting a → an before vowels or h
This project works like auto-correct it corrects a sentence and puts every letter in order and also punctuation.
This program takes two arguments:
- an input file name (that contains raw text) 2.an output file name where the corrected output will be written example: a)sample.txt this is where the input/ raw text will be b) result.txt this where the corrected output will be displayed. You can use this "go run . sample.txt. result.txt"
Top comments (1)
Sorry but is this all?