title: TypeError: __init__() got an unexpected keyword argument 'unknown_value'
body: <p>I'm trying to execute the code that is downloaded from the GitHub, but it is displaying the error:</p>
  
  <pre class="lang-none prettyprint-override"><code>TypeError: __init__() got an unexpected keyword argument 'unknown_value'
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>def predict_sex(name):
      sex_predictor = gender.Detector(unknown_value=u"unknown",case_sensitive=True)
      first_name= name.str.split(' ').str.get(0)
      sex= first_name.apply(sex_predictor.get_gender)
      sex_dict={'female': -2, 'mostly_female': -1,'unknown':0,'mostly_male':1, 'male': 2}
      sex_code = sex.map(sex_dict).astype(int)
      return sex_code
  </code></pre>
  
  <p>I'm pretty new to Python. Please help me.</p>