<commit_before>/** Generated from SHR definition for shr.core.Title */
class Title {

  constructor(json) {
      if (json) {
          if (json.value) this.string = json.value;
          if (json.value) this._string = json.value;
      }
  }<commit_msg>when creating a Title without any json, set string to null<commit_after>/** Generated from SHR definition for shr.core.Title */
class Title {

  constructor(json) {
      if (json) {
          if (json.value) this.string = json.value;
          //if (json.value) this._string = json.value;
      } else {
          this.string = null;
      }
  }
{'fraction_non_alphanumeric': 0.12333333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 2.266304347826087, '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': '5496512', 'n_tokens_mistral': 184, 'n_tokens_neox': 178, 'n_words': 53}