Пример #1
0
 public StringFileUlongFeatures(string fname, EAlphabet alpha) : this(modshogunPINVOKE.new_StringFileUlongFeatures__SWIG_1(fname, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public StringCharFeatures(string [] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringCharFeatures__SWIG_2(string_list.Length, string_list, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public StringShortRealFeatures(File loader, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_6(File.getCPtr(loader), (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public StringShortRealFeatures(EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_1((int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public StringBoolFeatures(BoolStringList string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_2(BoolStringList.getCPtr(string_list), (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public Alphabet(EAlphabet alpha) : this(modshogunPINVOKE.new_Alphabet__SWIG_2((int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 public StringShortRealFeatures(float[,] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_2(string_list.GetLength(0), string_list.GetLength(1), string_list, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
 public void use_alphabet(EAlphabet alpha)
 {
     modshogunPINVOKE.StreamingStringCharFeatures_use_alphabet__SWIG_0(swigCPtr, (int)alpha);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #9
0
 public void set_remap(EAlphabet ascii_alphabet)
 {
     modshogunPINVOKE.StreamingStringCharFeatures_set_remap__SWIG_2(swigCPtr, (int)ascii_alphabet);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #10
0
 public void load_ascii_file(string fname, bool remap_to_bin, EAlphabet ascii_alphabet)
 {
     modshogunPINVOKE.StringShortRealFeatures_load_ascii_file__SWIG_1(swigCPtr, fname, remap_to_bin, (int)ascii_alphabet);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #11
0
    public EAlphabet get_alphabet()
    {
        EAlphabet ret = (EAlphabet)modshogunPINVOKE.Alphabet_get_alphabet(swigCPtr);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #12
0
    public bool set_alphabet(EAlphabet alpha)
    {
        bool ret = modshogunPINVOKE.Alphabet_set_alphabet(swigCPtr, (int)alpha);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #13
0
    public static string get_alphabet_name(EAlphabet alphabet)
    {
        string ret = modshogunPINVOKE.Alphabet_get_alphabet_name((int)alphabet);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #14
0
 public static string get_alphabet_name(EAlphabet alphabet) {
   string ret = modshogunPINVOKE.Alphabet_get_alphabet_name((int)alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void set_remap(EAlphabet ascii_alphabet, EAlphabet binary_alphabet) {
   modshogunPINVOKE.StreamingStringShortRealFeatures_set_remap__SWIG_1(swigCPtr, (int)ascii_alphabet, (int)binary_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #16
0
 public Alphabet(EAlphabet alpha) : this(modshogunPINVOKE.new_Alphabet__SWIG_2((int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #17
0
 public bool set_alphabet(EAlphabet alpha) {
   bool ret = modshogunPINVOKE.Alphabet_set_alphabet(swigCPtr, (int)alpha);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #18
0
 public StringCharFeatures(string [] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringCharFeatures__SWIG_2(string_list.Length, string_list, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #19
0
 public StringShortRealFeatures(File loader, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_6(File.getCPtr(loader), (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #20
0
 public StringBoolFeatures(BoolStringList string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_2(BoolStringList.getCPtr(string_list), (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #21
0
 public void load_ascii_file(string fname, bool remap_to_bin, EAlphabet ascii_alphabet) {
   modshogunPINVOKE.StringShortRealFeatures_load_ascii_file__SWIG_1(swigCPtr, fname, remap_to_bin, (int)ascii_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void use_alphabet(EAlphabet alpha) {
   modshogunPINVOKE.StreamingStringByteFeatures_use_alphabet__SWIG_0(swigCPtr, (int)alpha);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #23
0
 public StringFileUlongFeatures(string fname, EAlphabet alpha) : this(modshogunPINVOKE.new_StringFileUlongFeatures__SWIG_1(fname, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #24
0
 public StringShortRealFeatures(EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_1((int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void set_remap(EAlphabet ascii_alphabet) {
   modshogunPINVOKE.StreamingStringByteFeatures_set_remap__SWIG_2(swigCPtr, (int)ascii_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #26
0
 public StringShortRealFeatures(float[,] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_2(string_list.GetLength(0), string_list.GetLength(1), string_list, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }