<commit_before>class Work < ApplicationRecord
  include PgSearch

  belongs_to :author
  belongs_to :corpus
  belongs_to :language

  has_many :text_nodes

  pg_search_scope :search_by_title, against: :title
end<commit_msg>search against english title for search_works_by_title query<commit_after>class Work < ApplicationRecord
  include PgSearch

  belongs_to :author
  belongs_to :corpus
  belongs_to :language

  has_many :text_nodes

  pg_search_scope :search_by_title, against: :english_title
end
{'fraction_non_alphanumeric': 0.04790419161676647, 'fraction_numerical': 0.0, 'mean_word_length': 5.876712328767123, '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': '4074224', 'n_tokens_mistral': 163, 'n_tokens_neox': 161, 'n_words': 41}