<commit_before><?php

namespace SimplePHPEasyPlus\Parser;

class SimpleNumberStringParser implements SimpleNumberStringParser
{
    /**
     * Parses the given string and returns its numeric value
     *
     * @param  string $string
     *
     * @return flaot
     */
    public function parse($string)
    {
        if ( ! is_numeric($string)) {
           throw new SimpleNumberStringParserException('Invalid numeric value.');
        }
<commit_msg>Fix typo in simple number string parser<commit_after><?php

namespace SimplePHPEasyPlus\Parser;

class SimpleNumberStringParser implements SimpleNumberStringParserInterface
{
    /**
     * Parses the given string and returns its numeric value
     *
     * @param  string $string
     *
     * @return flaot
     */
    public function parse($string)
    {
        if ( ! is_numeric($string)) {
           throw new SimpleNumberStringParserException('Invalid numeric value.');
        }

{'fraction_non_alphanumeric': 0.08289054197662062, 'fraction_numerical': 0.0, 'mean_word_length': 2.8137651821862346, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4937074', 'n_tokens_mistral': 247, 'n_tokens_neox': 246, 'n_words': 68}