Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Added Character encoding for synonyms table
authorlingutln <lingutln@localhost>
Thu, 11 Apr 2013 19:37:34 +0000 (19:37 +0000)
committerlingutln <lingutln@localhost>
Thu, 11 Apr 2013 19:37:34 +0000 (19:37 +0000)
svn path=/; revision=466

Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java

index aee4863a70421a0010686eef7f827a1007d0d294..20778abe824b655b0db492b13ac02f6beeb5a36b 100644 (file)
@@ -24,6 +24,7 @@ import java.util.logging.*;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import org.apache.commons.lang3.StringEscapeUtils;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.jface.action.*;
 import org.eclipse.jface.operation.*;
@@ -428,7 +429,7 @@ public class SegmentationView extends Composite {
                        
                                for (int j=0; j<synArray.length(); j++) {
                                TableItem item = new TableItem (termSynonymTable, SWT.NONE);
-                                       item.setText(0,formatizeToUnescapeHTML(synArray.getString(j)));
+                                       item.setText(0,StringEscapeUtils.unescapeHtml4(formatizeToUnescapeHTML(synArray.getString(j))));
                                }
                        termSynonymTable.getColumn(0).pack();
                                termSynonymTable.pack();