public static void init(String _language) {
        if (replace == null) {
            replace = new SetOfReplacements(SegmentationConstant.FILE_REPLACE);
        }
        if (_language.equals("???")) {
            System.out.println("default=EN");
            _language = "ENGLISH";
        }
        language = _language;
        String dictionnary = SenseOS.getMYCAT_HOME() + "/config/dict";
        readAbreviation(dictionnary + "/" + language + ".txt");
        if (_language.equals("FRENCH")) {
            boundary = BreakIterator.getSentenceInstance(ULocale.FRENCH);
        }
        if (_language.equals("ENGLISH")) {
            boundary = BreakIterator.getSentenceInstance(ULocale.ENGLISH);
        }
        if (_language.equals("RUSSIAN")) {
            boundary = BreakIterator.getSentenceInstance(new ULocale("ru"));
        }
        if (_language.equals("ARABIC")) {
            boundary = BreakIterator.getSentenceInstance(new ULocale("ar"));
        }
        if (_language.equals("CHINESE")) {
            boundary = BreakIterator.getSentenceInstance(ULocale.CHINESE);
        }
        if (_language.equals("SPANISH")) {
            boundary = BreakIterator.getSentenceInstance(new ULocale("es"));
        }
        if (_language.equals("PORTUGUESE")) {
            boundary = BreakIterator.getSentenceInstance(new ULocale("pt"));
        }
    }