<commit_before>package EnsEMBL::ORM::DbFrontend::News;

### NAME: EnsEMBL::ORM::DbFrontend::News;

### STATUS: Under development

### DESCRIPTION:

use strict;
use warnings;
no warnings 'uninitialized';

use base qw(EnsEMBL::ORM::DbFrontend);

sub init {
  my $self = shift;

  ## Alter default settings if required
  $self->{'show_fields'} = [qw(title content)];
  $self->{'show_primary_key'} = 0;
}

1;<commit_msg>Added more customisation parameters<commit_after>package EnsEMBL::ORM::DbFrontend::News;

### NAME: EnsEMBL::ORM::DbFrontend::News;

### STATUS: Under development

### DESCRIPTION:

use strict;
use warnings;
no warnings 'uninitialized';

use base qw(EnsEMBL::ORM::DbFrontend);

sub init {
  my $self = shift;

  ## Custom values
  $self->{'record_select_columns'} = [qw(title)];
  $self->{'record_table_columns'} = [qw(title status)];

  ## Alter default settings if required
  $self->{'show_fields'} = [qw(release_id title content priority status)];
  $self->{'show_primary_key'} = 0;
}

1;
{'fraction_non_alphanumeric': 0.16881827209533268, 'fraction_numerical': 0.003972194637537239, 'mean_word_length': 5.904109589041096, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3213957', 'n_tokens_mistral': 373, 'n_tokens_neox': 348, 'n_words': 80}