<commit_before># Tog::Search provides a simple interface to site-wide searches through a flexible collection of +sources+
# that the developer can extend to plug its own classes on the general search.
#
# ==== Simple example
#
#   Tog::Search.sources << "User"
#   @results = Tog::Search.search("joe-theplumber") # the @results instance will be paginated
#
# The modules used as +sources+ should implement a class method called search(query, search_options={}) and
# should return an +Array+ instance.
module Search

  # The sources availables to search in. These sources must be strings representing classes o modules that can
  # be retrieved through <pre>source.constantize</pre>.
  def self.sources
    @sources ||= []
  end
<commit_msg>fixed typo.<commit_after># Tog::Search provides a simple interface to site-wide searches through a flexible collection of +sources+
# that the developer can extend to plug its own classes on the general search.
#
# ==== Simple example
#
#   Tog::Search.sources << "User"
#   @results = Tog::Search.search("joe-theplumber") # the @results instance will be paginated
#
# The modules used as +sources+ should implement a class method called site_search(query, search_options={}) and
# should return an +Array+ instance.
module Search

  # The sources availables to search in. These sources must be strings representing classes o modules that can
  # be retrieved through <pre>source.constantize</pre>.
  def self.sources
    @sources ||= []
  end

{'fraction_non_alphanumeric': 0.09494949494949495, 'fraction_numerical': 0.0, 'mean_word_length': 4.5655430711610485, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, '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': '7285614', 'n_tokens_mistral': 401, 'n_tokens_neox': 392, 'n_words': 175}