<commit_before># WhitekitNews

This is a News for [WhiteKit](https://github.com/whiteskull/whitekit)

## Installation

Add this line (or uncomment) to your WhiteKit's  Gemfile:

```ruby
    gem 'whitekit_news'
```

And then execute:

```bash
$ bundle install
````

Then you need add (or uncomment) routes for news in routes.rb

```ruby
resources :news, only: [:index, :show] do
  get 'page/:page', action: :index, on: :collection
end
```

Then run

```bash
$ rails g whitekit_news
````

And then

```bash
$ rake db:migrate
```

## Usage<commit_msg>add instructions<commit_after># WhitekitNews

This is a News for [WhiteKit](https://github.com/whiteskull/whitekit)

## Installation

Add this line (or uncomment) to your WhiteKit's  Gemfile:

```ruby
gem 'whitekit_news'
```

And then execute:

```bash
$ bundle install
````

Then run

```bash
$ rails g whitekit_news
````

And then

```bash
$ rake db:migrate
```

Then you need add (or uncomment) routes for news in routes.rb

```ruby
resources :news, only: [:index, :show] do
  get 'page/:page', action: :index, on: :collection
end
```

## Usage
{'fraction_non_alphanumeric': 0.14977168949771688, 'fraction_numerical': 0.0, 'mean_word_length': 4.5353535353535355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2690161', 'n_tokens_mistral': 417, 'n_tokens_neox': 386, 'n_words': 128}