You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Finan, Sean" <Se...@childrens.harvard.edu> on 2017/06/05 14:46:16 UTC
RE: Japanese and portuguese Language support
Hi Shahid,
Ctakes does support other languages. To my knowledge it has been used with Italian and French dictionaries.
The dictionary gui is set up to create different language dictionaries, but right now it is hardcoded to English. I really want to remove the hardcoding and add a component to the gui, but I have not had time to do so.
Anyway, go to the MainPanel class in ctakes-gui org.apache.ctakes.gui.dictionary and edit line #208 in the statement
if ( DictionaryBuilder.buildDictionary( __umlsDirPath, __ctakesDirPath, __dictionaryName,
Collections.singletonList( "ENG" ),
__wantedSources, __wantedTargets, __wantedTuis ) ) {
Change
Collections.singletonList( "ENG" ),
To
Arrays.asList( "JPN", "POR" ),
The ISO standard codes listed at https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Sean
From: shahid ashraf [mailto:shahid@trialx.com]
Sent: Monday, May 29, 2017 3:35 AM
To: cTakes developers list; Finan, Sean
Subject: Re: Japanese and portuguese Language support
Also in dictionary builder i have selected mdrjpn and mdrpor dictionaries from umls. but i did not get any text from these languages in database
On Sun, May 28, 2017 at 2:00 PM, shahid ashraf <sh...@trialx.com>> wrote:
Hi All
Do ctakes support other languages ?
--
with Regards
Shahid Ashraf
--
with Regards
Shahid Ashraf