<commit_before>#encoding: utf-8

class Restaurant
  include Mongoid::Document
  include Mongoid::Timestamps

  store_in collection: "restaurants", database: "dishgo"
  field :lat, type: Float
  field :lon, type: Float
  field :subdomain, type: String
  field :host, type: String
  field :preview_token, type: String
  field :locs, type: Array
  field :menu, type: Hash
  # field :images, type: Array
  field :name, type: String
  field :multi_name, localize: true
  field :city, type: String
  field :email, type: String
  field :email_addresses, type: Array
  field :address_line_1, type: String
  field :address_line_2, type: String
  field :province, type: String
  field :postal_code, type: String
  field :phone, type: String
  field :website, type: String
  field :facebook, type: String
  field :facebook_page_id, type: String
  field :foursquare, type: String
  field :twitter, type: String
  field :urbanspoon, type: String
  field :instagram, type: String
  field :languages, type: Array<commit_msg>default languages in restaurant model<commit_after>#encoding: utf-8

class Restaurant
  include Mongoid::Document
  include Mongoid::Timestamps

  store_in collection: "restaurants", database: "dishgo"
  field :lat, type: Float
  field :lon, type: Float
  field :subdomain, type: String
  field :host, type: String
  field :preview_token, type: String
  field :locs, type: Array
  field :menu, type: Hash
  # field :images, type: Array
  field :name, type: String
  field :multi_name, localize: true
  field :city, type: String
  field :email, type: String
  field :email_addresses, type: Array
  field :address_line_1, type: String
  field :address_line_2, type: String
  field :province, type: String
  field :postal_code, type: String
  field :phone, type: String
  field :website, type: String
  field :facebook, type: String
  field :facebook_page_id, type: String
  field :foursquare, type: String
  field :twitter, type: String
  field :urbanspoon, type: String
  field :instagram, type: String
  field :languages, type: Array, default: ['en','fr']
{'fraction_non_alphanumeric': 0.09738372093023256, 'fraction_numerical': 0.0029069767441860465, 'mean_word_length': 4.688705234159779, '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': '2452578', 'n_tokens_mistral': 659, 'n_tokens_neox': 652, 'n_words': 239}