|
|
|
@ -27,10 +27,10 @@ func main() {
|
|
|
|
|
|
|
|
|
|
output_text := RemoveDoubleSpaces(strings.Join(text_slice, " ")) // slice back to single string
|
|
|
|
|
|
|
|
|
|
output_text = FixApostrophes(output_text) // function dealing with apostrophes
|
|
|
|
|
|
|
|
|
|
output_text = FixPunctuation(output_text) // final punctuation control
|
|
|
|
|
|
|
|
|
|
output_text = FixApostrophes(output_text) // function dealing with apostrophes
|
|
|
|
|
|
|
|
|
|
os.WriteFile(string(os.Args[2]), []byte(string(output_text)), os.ModePerm) |
|
|
|
|
|
|
|
|
|
// fmt.Println(string(output_text))
|
|
|
|
|