Skip to content

IRIS Language Model

Jos Denys edited this page Mar 30, 2022 · 1 revision

If you have a recent InterSystems IRIS installation, you can run the iKnow Standalone language model in IRIS.

An automated script (lang_update_iris) is available, so no need to manually copy files.

There is one important dependency : ICU 69.1

IRIS has recently migrated to ICU 69.1, it is necessary to use the same version in iKnow standalone (see Build-Process), you can tell by listing the "bin" directory (for Windows : <GitDir>\source\repos\iknow\kit\x64\Release\bin) :

C:\Users\jdenys\source\repos\iknow\kit\x64\Release\bin>dir icu*.dll
 Volume in drive C is OS
 Volume Serial Number is B24F-31DD

 Directory of C:\Users\jdenys\source\repos\iknow\kit\x64\Release\bin

02/03/2022  17:13        28.667.392 icudt69.dll
02/03/2022  17:13         3.014.144 icuin69.dll
09/03/2022  12:26            60.928 icuio69.dll
09/03/2022  12:26           217.088 icutu69.dll
02/03/2022  17:13         2.196.992 icuuc69.dll

These are the correct dll-files.

Copy the "lang_update_iris.bat" file to your local binary directory (for Windows : <GitDir>\source\repos\iknow\kit\x64\Release\bin), then you can run the script with 2 parameters : the language you want to run, and your local IRIS installation path : "lang_update_iris <lang> <IRIS installation directory>"

An example could be : "lang_update_iris nl C:\InterSystems\NLP117"

This will recompile the dutch language model, and copy the language dll-files to the IRIS installation, making them available for all iKnow processing in IRIS.