def parse(args={})
      string_block = args.fetch(:text, nil)
      string_block = sample_string_block if !string_block.present?
      result_hash = {results: count_strings(string_block), text: string_block }
    end
def parse(args={})
      string_block = args.fetch(:text, nil)
      string_block = sample_string_block if !string_block.present?
      result_hash = {results: count_strings(string_block), text: string_block }
    end
AlgoService.new.parse