<commit_before>import React, { PropTypes, Component } from 'react'
import { ActivityIndicator, View, StyleSheet, TextInput, Platform } from 'react-native'
import Icon from 'react-native-vector-icons/MaterialIcons'
import colors from '../config/colors'
import normalize from '../helpers/normalizeText'

class Search extends Component {
  focus() {
    const ref = this.props.textInputRef
    this.refs[ref].focus()
  }

  clearText() {
    const ref = this.props.textInputRef
    this.refs[ref].clearText();
  }

  render () {
    const {
    containerStyle,
    inputStyle,
    icon,
    noIcon,
    lightTheme,
    round,
    showLoadingIcon,
    loadingIcon,
    clearIcon,<commit_msg>Fix function name in Search<commit_after>import React, { PropTypes, Component } from 'react'
import { ActivityIndicator, View, StyleSheet, TextInput, Platform } from 'react-native'
import Icon from 'react-native-vector-icons/MaterialIcons'
import colors from '../config/colors'
import normalize from '../helpers/normalizeText'

class Search extends Component {
  focus() {
    const ref = this.props.textInputRef
    this.refs[ref].focus()
  }

  clearText() {
    const ref = this.props.textInputRef
    this.refs[ref].clear();
  }

  render () {
    const {
    containerStyle,
    inputStyle,
    icon,
    noIcon,
    lightTheme,
    round,
    showLoadingIcon,
    loadingIcon,
    clearIcon,
{'fraction_non_alphanumeric': 0.11127167630057803, 'fraction_numerical': 0.0, 'mean_word_length': 3.4249201277955272, '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': '2182566', 'n_tokens_mistral': 416, 'n_tokens_neox': 411, 'n_words': 105}