I've built my list that contains some Arabic words, then add a record related to this list in the def file and put the two files in the same directory then in my java code I've written:
FeatureMap params = Factory.newFeatureMap();
params.put("encoding", "UTF-8");
params.put("listsURL","file:/D:/ThesisProj/Gazetteers/lists.def");
LanguageAnalyser gazetteer = (LanguageAnalyser)Factory.createResource("arabic.ArabicGazetteer",params);
gazetteer.init();
when the list and the file- I match words from it- containing English words, the matching is done as the resulted annotations have lookup annotation with the matched words, but when I try to use Arabic language and have just Arabic words in both list and comparing file there is no lookup annotation in the resulted annotations, can any one help me to make GATE recognize Arabic character and match them, I think utf-8 not suitable