...
Step
| Example | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. Open a command prompt and change to the cTAKES_HOME directory, which is the directory that contains subdirectories like bin, desc, resources, lib.
|
Linux:
| ||||||||||||
2. Create a directory for some test data. |
| ||||||||||||
3. Download this sample file and place it into the testdata directory.The sample dictionary that does not require UMLS rights contains only a few terms. Create a file containing the sentence at right into the testdata directory. | The patient says they took 325 mg aspirin for knee pain.No example | ||||||||||||
4. Start the collection processing engine by running this command: | Windows:
Linux:
| ||||||||||||
5. This will bring up the Collection Processing Engine Configurator. In the Menu bar click File >Open CPE Descriptor | |||||||||||||
6. Navigate to the following file, which uses the AggregateCdaProcessorAggregatePlaintextProcessor
| No example | ||||||||||||
7. Change the Collection Reader input directory to testdata, which contains a CDA file(s).the files to process Within the CAS Consumers pane of the same window, change the output directory to testdata/output | |||||||||||||
8. Click the Play button (green/blue play arrow near the bottom).
| |||||||||||||
9. You should see that one document was processed. You did process a collection of documents. In this case the collection only contained one just to show how to do it. Close the results Performance Report window.
| |||||||||||||
10. Close the CPE application. You may be prompted to save changes. Since this was just a test you may click the No button. | No example |
...