Skip to main content
deleted 15 characters in body; edited tags
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 267

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnarydictionary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder? and what abou What about automatic substitution of mispelledmisspelled words? (using a predefined list file)

Regards

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder? and what abou automatic substitution of mispelled words? (using a predefined list file)

Regards

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder? What about automatic substitution of misspelled words? (using a predefined list file)

added 89 characters in body
Source Link
jomaweb
  • 541
  • 1
  • 4
  • 13

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder? and what abou automatic substitution of mispelled words? (using a predefined list file)

Regards

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder?

Regards

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder? and what abou automatic substitution of mispelled words? (using a predefined list file)

Regards

Source Link
jomaweb
  • 541
  • 1
  • 4
  • 13

filter document via aspell

I need to get a clean txt document and my first approach is to use aspell. The issue is I need it on batch, no interactive mode. Every txt file is piped to aspell and must be returned a new document with the non-dictionnary words deleted.

I've found just the inverse behaviour: list the non-dictionnary words using

cat $file | aspell list | sort -u -f 

Is aspell the correct tool to achieve that cleaned document folder?

Regards