Mercurial > hg > mpdl-group
comparison software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/general/Transcoder.java @ 12:fba5577e49d9
diverse Fehlerbehebungen
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 19 Apr 2011 16:51:26 +0200 |
parents | 2396a569e446 |
children |
comparison
equal
deleted
inserted
replaced
11:d6f528ad5d96 | 12:fba5577e49d9 |
---|---|
43 if (token != null) | 43 if (token != null) |
44 retStr += token; | 44 retStr += token; |
45 } catch (IOException e ) { | 45 } catch (IOException e ) { |
46 throw new ApplicationException(e); | 46 throw new ApplicationException(e); |
47 } | 47 } |
48 } | |
49 // replace "small letter sigma" at the end of a word by the "small letter end sigma" | |
50 if (retStr != null && retStr.contains("σ")) { | |
51 retStr = retStr.replaceAll("(.*)σ(\\s)", "$1ς$2"); | |
52 retStr = retStr.replaceAll("(.*)σ($)", "$1ς$2"); | |
48 } | 53 } |
49 return retStr; | 54 return retStr; |
50 /* | 55 /* |
51 // alternative to JFlex | 56 // alternative to JFlex |
52 String encodedUnicodeStr = null; | 57 String encodedUnicodeStr = null; |