public static string ToSerialString(this StopwordsList value) => value switch
 {
        internal static string ToSerializedValue(this StopwordsList value)
        {
            switch (value)
            {
            case StopwordsList.Arabic:
                return("arabic");

            case StopwordsList.Armenian:
                return("armenian");

            case StopwordsList.Basque:
                return("basque");

            case StopwordsList.Brazilian:
                return("brazilian");

            case StopwordsList.Bulgarian:
                return("bulgarian");

            case StopwordsList.Catalan:
                return("catalan");

            case StopwordsList.Czech:
                return("czech");

            case StopwordsList.Danish:
                return("danish");

            case StopwordsList.Dutch:
                return("dutch");

            case StopwordsList.English:
                return("english");

            case StopwordsList.Finnish:
                return("finnish");

            case StopwordsList.French:
                return("french");

            case StopwordsList.Galician:
                return("galician");

            case StopwordsList.German:
                return("german");

            case StopwordsList.Greek:
                return("greek");

            case StopwordsList.Hindi:
                return("hindi");

            case StopwordsList.Hungarian:
                return("hungarian");

            case StopwordsList.Indonesian:
                return("indonesian");

            case StopwordsList.Irish:
                return("irish");

            case StopwordsList.Italian:
                return("italian");

            case StopwordsList.Latvian:
                return("latvian");

            case StopwordsList.Norwegian:
                return("norwegian");

            case StopwordsList.Persian:
                return("persian");

            case StopwordsList.Portuguese:
                return("portuguese");

            case StopwordsList.Romanian:
                return("romanian");

            case StopwordsList.Russian:
                return("russian");

            case StopwordsList.Sorani:
                return("sorani");

            case StopwordsList.Spanish:
                return("spanish");

            case StopwordsList.Swedish:
                return("swedish");

            case StopwordsList.Thai:
                return("thai");

            case StopwordsList.Turkish:
                return("turkish");
            }
            return(null);
        }