AWSalvage will take a folder of AppleWorks documents, determine which ones are salvageable, copy them to a new location, and rename them with the first four words of the document`s text.
The source code is included, as the AWSalvage program will likely require adaptation to fit your needs.