<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace CronExpressionDescriptor.Demo.Controllers
{
    [Route("api/[controller]")]
    public class DescriptorController : Controller
    {
        [HttpGet]
        public JsonResult Get(string expression, string locale)
        {
            var result = ExpressionDescriptor.GetDescription(expression, new Options()
            {
                ThrowExceptionOnParseError = false,
                Locale = (locale ?? "en-US")
            });

            return Json(new { description = result });
        }
    }
}<commit_msg>Use explict Options<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace CronExpressionDescriptor.Demo.Controllers
{
    [Route("api/[controller]")]
    public class DescriptorController : Controller
    {
        [HttpGet]
        public JsonResult Get(string expression, string locale)
        {
            var result = ExpressionDescriptor.GetDescription(expression, new Options()
            {

                ThrowExceptionOnParseError = false,
                Verbose = false,
                DayOfWeekStartIndexZero = true,
                Locale = (locale ?? "en-US")
            });

            return Json(new { description = result });
        }
    }
}
{'fraction_non_alphanumeric': 0.0925414364640884, 'fraction_numerical': 0.0, 'mean_word_length': 2.3541666666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6802199', 'n_tokens_mistral': 364, 'n_tokens_neox': 357, 'n_words': 82}