// Path: src/main/java/com/github/situx/cunei/util/enums/methods/CharTypes.java
// public enum CharTypes implements MethodEnum {
//     /**Akkadian Char.*/
//     AKKADIAN("Akkadian Char","akk",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0X12000,0X12399},"[A-z0-9, -]+","\uD808\uDC2D","akkadian"),
//     /**Cuneiform Char.*/
//     CUNEICHAR("Cuneiform Char",Locale.ENGLISH.toString(),2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[0],".*","","cuneiform"),
//     /**Hittite Char.*/
//     HITTITE("Hittite Char","hit",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0x12000,0x12399},"[A-z0-9, -]+","\uD808\uDC2D","hittite"),
//     /**Language Char.*/
//     LANGCHAR("Language Char",Locale.ENGLISH.toString(),1,".", Arrays.asList(new String[0]),new Integer[0],".*","","lang"),
//     /**Sumerian Char.*/
//     SUMERIAN("Sumerian Char","sux",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0x12000,0x12399},"[A-z0-9, -]+","\uD808\uDC2D","sumerian"),
//   EGYPTIANCHAR("Egyptian Char","egy",1,"(?<=\\p{Nd})", Arrays.asList(new String[]{"。","，","？","！"}),new Integer[0],".*","","egyptian");
// 
//     public String getPreviewString() {
//         return previewString;
//     }
// 
// 
//     private final String previewString;
// 
//     private final List<String> stopchars;
// 
//     private Boolean initialized=false;
//     private Integer char_length;
//     private Integer[] unicode_ranges;
//     private String legalTranslitCharsRegex;
//     /**String value (name of the method).*/
//     private String  locale,splitcriterion,smallstr;
//     /**String value (name of the method).*/
//     private String value;
// 
//     public String getLegalTranslitCharsRegex() {
//         return legalTranslitCharsRegex;
//     }
// 
//     public void setLegalTranslitCharsRegex(final String legalTranslitCharsRegex) {
//         this.legalTranslitCharsRegex = legalTranslitCharsRegex;
//     }
// 
// 
// 
//     public String getSmallstr() {
//         return smallstr;
//     }
// 
//     /**Constructor using a description parameter.*/
//     private CharTypes(String value,String locale,Integer char_length,String splitcriterion,final List<String> stopchars,final Integer[] unicode_ranges,final String legalTranslitChars,final String previewString,String smallstr){
//         this.value=value;
//         this.locale=locale;
//         this.unicode_ranges=unicode_ranges;
//         this.char_length=char_length;
//         this.splitcriterion=splitcriterion;
//         this.stopchars=stopchars;
//         this.previewString=previewString;
//         this.legalTranslitCharsRegex =legalTranslitChars;
//         this.smallstr=smallstr;
// 
//     }
// 
//     public Integer getChar_length() {
//         return char_length;
//     }
// 
// 
//     public String getLocale() {
//         return locale;
//     }
// 
//     @Override
//     public String getShortname() {
//         return null;
//     }
// 
//     public String getSplitcriterion() {
//         return splitcriterion;
//     }
// 
//     public List<String> getStopchars() {
//         return stopchars;
//     }
// 
//     @Override
//     public String toString() {
//         return this.value;
//     }
// }


import com.github.situx.cunei.akkad.util.enums.methods.CharTypes;
package com.github.situx.cunei.akkad.dict.chars.cuneiform;


/**
 * Created with IntelliJ IDEA.
 * User: timo
 * Date: 25.10.13
 * Time: 12:00
 * Class for modelling a sumerian cuneiform character.
 */
public class SumerianChar extends CuneiChar {

    private String SHAnumber;

    /**
     * Constructor for this class
     * @param character the cuneiform character modelled by this class.
     */
    public SumerianChar(final String character){
        super(character);
        this.character=character;
// Path: src/main/java/com/github/situx/cunei/util/enums/methods/CharTypes.java
// public enum CharTypes implements MethodEnum {
//     /**Akkadian Char.*/
//     AKKADIAN("Akkadian Char","akk",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0X12000,0X12399},"[A-z0-9, -]+","\uD808\uDC2D","akkadian"),
//     /**Cuneiform Char.*/
//     CUNEICHAR("Cuneiform Char",Locale.ENGLISH.toString(),2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[0],".*","","cuneiform"),
//     /**Hittite Char.*/
//     HITTITE("Hittite Char","hit",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0x12000,0x12399},"[A-z0-9, -]+","\uD808\uDC2D","hittite"),
//     /**Language Char.*/
//     LANGCHAR("Language Char",Locale.ENGLISH.toString(),1,".", Arrays.asList(new String[0]),new Integer[0],".*","","lang"),
//     /**Sumerian Char.*/
//     SUMERIAN("Sumerian Char","sux",2,"-", Arrays.asList(new String[]{System.lineSeparator()}),new Integer[]{0x12000,0x12399},"[A-z0-9, -]+","\uD808\uDC2D","sumerian"),
//   EGYPTIANCHAR("Egyptian Char","egy",1,"(?<=\\p{Nd})", Arrays.asList(new String[]{"。","，","？","！"}),new Integer[0],".*","","egyptian");
// 
//     public String getPreviewString() {
//         return previewString;
//     }
// 
// 
//     private final String previewString;
// 
//     private final List<String> stopchars;
// 
//     private Boolean initialized=false;
//     private Integer char_length;
//     private Integer[] unicode_ranges;
//     private String legalTranslitCharsRegex;
//     /**String value (name of the method).*/
//     private String  locale,splitcriterion,smallstr;
//     /**String value (name of the method).*/
//     private String value;
// 
//     public String getLegalTranslitCharsRegex() {
//         return legalTranslitCharsRegex;
//     }
// 
//     public void setLegalTranslitCharsRegex(final String legalTranslitCharsRegex) {
//         this.legalTranslitCharsRegex = legalTranslitCharsRegex;
//     }
// 
// 
// 
//     public String getSmallstr() {
//         return smallstr;
//     }
// 
//     /**Constructor using a description parameter.*/
//     private CharTypes(String value,String locale,Integer char_length,String splitcriterion,final List<String> stopchars,final Integer[] unicode_ranges,final String legalTranslitChars,final String previewString,String smallstr){
//         this.value=value;
//         this.locale=locale;
//         this.unicode_ranges=unicode_ranges;
//         this.char_length=char_length;
//         this.splitcriterion=splitcriterion;
//         this.stopchars=stopchars;
//         this.previewString=previewString;
//         this.legalTranslitCharsRegex =legalTranslitChars;
//         this.smallstr=smallstr;
// 
//     }
// 
//     public Integer getChar_length() {
//         return char_length;
//     }
// 
// 
//     public String getLocale() {
//         return locale;
//     }
// 
//     @Override
//     public String getShortname() {
//         return null;
//     }
// 
//     public String getSplitcriterion() {
//         return splitcriterion;
//     }
// 
//     public List<String> getStopchars() {
//         return stopchars;
//     }
// 
//     @Override
//     public String toString() {
//         return this.value;
//     }
// }


// Path: src/main/java/com/github/situx/cunei/dict/chars/cuneiform/SumerianChar.java
import com.github.situx.cunei.akkad.util.enums.methods.CharTypes;

package com.github.situx.cunei.akkad.dict.chars.cuneiform;


/**
 * Created with IntelliJ IDEA.
 * User: timo
 * Date: 25.10.13
 * Time: 12:00
 * Class for modelling a sumerian cuneiform character.
 */
public class SumerianChar extends CuneiChar {

    private String SHAnumber;

    /**
     * Constructor for this class
     * @param character the cuneiform character modelled by this class.
     */
    public SumerianChar(final String character){
        super(character);
        this.character=character;
        this.charlength= CharTypes.SUMERIAN.getChar_length();