<commit_before>import React, { Component, PropTypes } from 'react';
import { Sidebar, Segment, Menu, Icon } from 'semantic-ui-react';
import LibraryContainer from '../library/LibraryContainer';
import { openWidget } from '../../../helpers';

class SideBar extends Component {
  state = { visible: true }

  render() {
    const { visible } = this.state;
    const { getCloudinaryData } = this.props;
    return (
      <div className='siderbar'>
        <Sidebar.Pushable as={Segment}>
          <Sidebar
            as={Menu}
            color={'blue'}
            width='thin'
            icon='labeled'
            visible={visible}
            vertical
            inverted
          >
            <Menu.Item name='upload'>
              <Icon
                name='cloud upload'
                onClick={() => openWidget(getCloudinaryData)}
              />
              Upload
            </Menu.Item>
            <Menu.Item name='filter'>
              <Icon name='filter' />
              Coming Soon: Filter!
            </Menu.Item>
            <Menu.Item name='chat'>
              <Icon name='chat' />
              Coming Soon: Chat!
            </Menu.Item><commit_msg>fixed typo<commit_after>import React, { Component, PropTypes } from 'react';
import { Sidebar, Segment, Menu, Icon } from 'semantic-ui-react';
import LibraryContainer from '../library/LibraryContainer';
import { openWidget } from '../../../helpers';

class SideBar extends Component {
  state = { visible: true }

  render() {
    const { visible } = this.state;
    const { getCloudinaryData } = this.props;
    return (
      <div className='sidebar'>
        <Sidebar.Pushable as={Segment}>
          <Sidebar
            as={Menu}
            color={'blue'}
            width='thin'
            icon='labeled'
            visible={visible}
            vertical
            inverted
          >
            <Menu.Item name='upload'>
              <Icon
                name='cloud upload'
                onClick={() => openWidget(getCloudinaryData)}
              />
              Upload
            </Menu.Item>
            <Menu.Item name='filter'>
              <Icon name='filter' />
              Coming Soon: Filter!
            </Menu.Item>
            <Menu.Item name='chat'>
              <Icon name='chat' />
              Coming Soon: Chat!
            </Menu.Item>
{'fraction_non_alphanumeric': 0.12774957698815567, 'fraction_numerical': 0.0, 'mean_word_length': 1.5484913793103448, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, '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': '928279', 'n_tokens_mistral': 606, 'n_tokens_neox': 601, 'n_words': 146}