...
These instructions will cover installation and running one of cTAKES against some text. Optional components are described in the Component Use Guide.
...
Step | Example | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. On the cTAKES downloads page, download the User Installation package.
|
| |||||||||||||||||
2. (Recommended) Verify the downloaded files against a signature to ensure you have the proper and complete file. From the following directory, download the signature file that corresponds to your download from step 1 https://www.apache.org/dist/ctakes/ctakes-4.0.0/ Please do not download any of the files that end with | No example | |||||||||||||||||
3. Unzip the file you downloaded into a directory that you want to be the cTAKES install location. The compressed files contain a single directory at the top level. This folder we will call <cTAKES_HOME>. It is the directory that contains subdirectories like You will need to refer to this directory later.
Linux:
| Windows:
| |||||||||||||||||
4. Download the cTAKES resources ZIP file with a matching version from the ctakesresources project (More information on cTAKES models). These resources are required to operate cTAKES.
| Windows:
| |||||||||||||||||
5. Copy (or move) the resources to cTAKES_HOME.
| Windows:
Linux:
Mac OSX:
| |||||||||||||||||
6. If you created your own dictionaries for use with a previous release of cTAKES and you plan to use them with cTAKES 4.0, you must convert your dictionaries to be compatible with cTAKES 4.0, which is described in the next section. The dictionaries installed by the above steps do not need to be converted. |
...
Step | Example |
---|---|
| No example |
2. If your dictionary's .properties file sets your dictionary's database to be read-only, you need to change it before you can convert it.
| |
3. Open the database with the 1.8 hsqldb jar: Locate the 1.8 hsqldb jar that you used when you created the database (for example, <CTAKES_HOME>. For example, if you used the cTAKES 3.2.2 convenience binary, <cTAKES_HOME_FOR_3.2.2>/lib/hsqldb-1.8.0.10.jar if you used the cTAKES 3.2.2 convenience binaryjar ) If you need to, you can download it from Maven Central at: http://central.maven.org/maven2/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar Open the HSQLDB manager GUI for version 1.8. For example, if your 1.8 jar is in
Connect to your database, by entering the appropriate URL and pressing the Ok button. For example, if you are on Windows and your dictionary's
you could enter the following for the URL
| |
4. Using HSQLDB 1.8, in the upper right pane, enter After the update count appears, go to the next step. | |
5. Using HSQLDB 1.8, in the upper right pane, enter After the update count appears, exit the Database Manager GUI.
| |
6. Now do the same with hsqldb 2.3.4 jar - open the HSQLDB 2.3.4 database manager GUI:
Connect to your database, by entering the appropriate URL and pressing the Ok button. In the upper right pane, enter Exit After the update count appears, exit the Database Manager GUI. | |
7. Verify the filename.properties file for your database contains If it doesn't, make sure the .properties file does not have readonly=true the .properties file does not have you used | |
8. Suggested: Set your dictionary's database to be read-only, by adding readonly=true to the filename.properties file. | |
9. Repeat the above steps for each of your dictionaries that you had created for use with a previous release of cTAKES. |
...