but can a function which is basically &quot;name -&gt; gender&quot; really be honest with its users? It&#x27;s claiming something that would require much more information to predict with any reasonable chance of success (even excluding lgbt folks). If you look at the files it is based on, it looks like there are only a tiny number of names defined anyway - what hope does the user have of accomplishing the goal they want?<p>Now, I might accept an API in which machine learning was involved and tons of historical data was included as input before predicting the value. Even then, it would of course have a decent potential of being wrong, but at least the result would be a more realistic claim.<p>The current API feels a lot like this sort of thing:<p>boolean isHappySentence(String sentence) {
  return sentence.contains(&quot;:)&quot;);
}<p>Sure, it might get it right some of the time, but it&#x27;s not effective enough to be useful.