<commit_before>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpModule, Http } from '@angular/http';

import { Ng2PageScrollModule } from 'ng2-page-scroll';
import { MaterialModule } from '@angular/material';
import { TranslateModule, TranslateLoader, TranslateStaticLoader } from 'ng2-translate';
import { ToasterModule } from 'angular2-toaster/angular2-toaster';

import { IsariDataService } from './isari-data.service';
import { UserService } from './user.service';
import { LoggedInGuard } from './logged-in.guard';
import { OrganizationResolver } from './organization.resolver';

import { routing } from './app.routing';
import { AppComponent } from './app.component';
import { IsariListComponent } from './isari-list/isari-list.component';
import { IsariEditorComponent } from './isari-editor/isari-editor.component';
import { DataTableComponent } from './data-table/data-table.component';
import { DataEditorComponent } from './data-editor/data-editor.component';
import { FieldComponent } from './fields/field.component';
import { DisabledDirective } from './fields/disabled.directive';

import { IsariInputComponent } from './fields/isari-input/isari-input.component';
import { IsariSelectComponent } from './fields/isari-select/isari-select.component';
import { IsariDateComponent } from './fields/isari-date/isari-date.component';
import { IsariPaginationComponent } from './data-table/isari-pagination/isari-pagination.component';
import { IsariColsSelectorComponent } from './isari-list/isari-cols-selector/isari-cols-selector.component';
import { IsariMultiInputComponent } from './fields/isari-multi-input/isari-multi-input.component';
import { IsariMultiSelectComponent } from './fields/isari-multi-select/isari-multi-select.component';
import { IsariLayoutComponent } from './isari-layout/isari-layout.component';
import { LoginComponent } from './login/login.component';
import { SpinnerComponent } from './spinner/spinner.component';
import { IsariColComponent } from './data-table/isari-col/isari-col.component';
import { IsariCheckboxComponent } from './fields/isari-checkbox/isari-checkbox.component';
import { IsariTextareaComponent } from './fields/isari-textarea/isari-textarea.component';
import { HomeComponent } from './home/home.component';
import { IsariHeaderComponent } from './isari-header/isari-header.component';
import { IsariChartComponent } from './isari-chart/isari-chart.component';
import { IsariChartPeopleComponent } from './isari-chart/isari-chart-people/isari-chart-people.component';
import { IsariDownloadButtonComponent } from './isari-list/isari-download-button/isari-download-button.component';

@NgModule({
  declarations: [
    AppComponent,
    IsariListComponent,
    IsariEditorComponent,
    DataTableComponent,
    DataEditorComponent,
    FieldComponent,
    DisabledDirective,
    IsariInputComponent,
    IsariSelectComponent,
    IsariDateComponent,
    IsariPaginationComponent,
    IsariColsSelectorComponent,
    IsariMultiInputComponent,
    IsariMultiSelectComponent,
    IsariLayoutComponent,
    LoginComponent,
    SpinnerComponent,
    IsariColComponent,
    IsariCheckboxComponent,
    IsariTextareaComponent,
    HomeComponent,
    IsariHeaderComponent,
    IsariChartComponent,
    IsariChartPeopleComponent,
    IsariDownloadButtonComponent
  ],
  imports: [
    BrowserModule,
    CommonModule,
    ReactiveFormsModule,
    MaterialModule.forRoot(),
    routing,
    HttpModule,
    Ng2PageScrollModule.forRoot(),
    TranslateModule.forRoot({
      provide: TranslateLoader,
      useFactory: (http: Http) => new TranslateStaticLoader(http, '/assets/i18n', '.json'),
      deps: [Http]
    }),
    ToasterModule
  ],
  providers: [
    IsariDataService,
    UserService,
    LoggedInGuard,
    OrganizationResolver
  ],
  entryComponents: [
    AppComponent,
  ],
  bootstrap: [AppComponent]
})
export class AppModule {

}<commit_msg>fix(cv): some ng2 bloat (refs #139)<commit_after>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpModule, Http } from '@angular/http';

import { Ng2PageScrollModule } from 'ng2-page-scroll';
import { MaterialModule } from '@angular/material';
import { TranslateModule, TranslateLoader, TranslateStaticLoader } from 'ng2-translate';
import { ToasterModule } from 'angular2-toaster/angular2-toaster';

import { IsariDataService } from './isari-data.service';
import { UserService } from './user.service';
import { LoggedInGuard } from './logged-in.guard';
import { OrganizationResolver } from './organization.resolver';

import { routing } from './app.routing';
import { AppComponent } from './app.component';
import { IsariListComponent } from './isari-list/isari-list.component';
import { IsariEditorComponent } from './isari-editor/isari-editor.component';
import { DataTableComponent } from './data-table/data-table.component';
import { DataEditorComponent } from './data-editor/data-editor.component';
import { FieldComponent } from './fields/field.component';
import { DisabledDirective } from './fields/disabled.directive';

import { IsariInputComponent } from './fields/isari-input/isari-input.component';
import { IsariSelectComponent } from './fields/isari-select/isari-select.component';
import { IsariDateComponent } from './fields/isari-date/isari-date.component';
import { IsariPaginationComponent } from './data-table/isari-pagination/isari-pagination.component';
import { IsariColsSelectorComponent } from './isari-list/isari-cols-selector/isari-cols-selector.component';
import { IsariMultiInputComponent } from './fields/isari-multi-input/isari-multi-input.component';
import { IsariMultiSelectComponent } from './fields/isari-multi-select/isari-multi-select.component';
import { IsariLayoutComponent } from './isari-layout/isari-layout.component';
import { LoginComponent } from './login/login.component';
import { SpinnerComponent } from './spinner/spinner.component';
import { IsariColComponent } from './data-table/isari-col/isari-col.component';
import { IsariCheckboxComponent } from './fields/isari-checkbox/isari-checkbox.component';
import { IsariTextareaComponent } from './fields/isari-textarea/isari-textarea.component';
import { HomeComponent } from './home/home.component';
import { IsariHeaderComponent } from './isari-header/isari-header.component';
import { IsariChartComponent } from './isari-chart/isari-chart.component';
import { IsariChartPeopleComponent } from './isari-chart/isari-chart-people/isari-chart-people.component';
import { IsariDownloadButtonComponent } from './isari-list/isari-download-button/isari-download-button.component';
import { CVComponent } from './cv/cv.component';

@NgModule({
  declarations: [
    AppComponent,
    IsariListComponent,
    IsariEditorComponent,
    DataTableComponent,
    DataEditorComponent,
    FieldComponent,
    DisabledDirective,
    IsariInputComponent,
    IsariSelectComponent,
    IsariDateComponent,
    IsariPaginationComponent,
    IsariColsSelectorComponent,
    IsariMultiInputComponent,
    IsariMultiSelectComponent,
    IsariLayoutComponent,
    LoginComponent,
    SpinnerComponent,
    IsariColComponent,
    IsariCheckboxComponent,
    IsariTextareaComponent,
    HomeComponent,
    IsariHeaderComponent,
    IsariChartComponent,
    IsariChartPeopleComponent,
    IsariDownloadButtonComponent,
    CVComponent,
  ],
  imports: [
    BrowserModule,
    CommonModule,
    ReactiveFormsModule,
    MaterialModule.forRoot(),
    routing,
    HttpModule,
    Ng2PageScrollModule.forRoot(),
    TranslateModule.forRoot({
      provide: TranslateLoader,
      useFactory: (http: Http) => new TranslateStaticLoader(http, '/assets/i18n', '.json'),
      deps: [Http]
    }),
    ToasterModule,
  ],
  providers: [
    IsariDataService,
    UserService,
    LoggedInGuard,
    OrganizationResolver,
  ],
  entryComponents: [
    AppComponent,
  ],
  bootstrap: [
    AppComponent,
  ]
})
export class AppModule {

}
{'fraction_non_alphanumeric': 0.1228495275018173, 'fraction_numerical': 0.00242306760358614, 'mean_word_length': 4.689179875947622, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5421343', 'n_tokens_mistral': 2374, 'n_tokens_neox': 2366, 'n_words': 448}