Message Boards Message Boards

[NEW-11.2] Torn edge paper effect with semi-transparent drop-down shadow

Posted 7 years ago
POSTED BY: Alexey Popkov
6 Replies

enter image description here - Congratulations! This post is now a Staff Pick as distinguished by a badge on your profile! Thank you, keep it coming!

POSTED BY: Moderation Team

Heike is a female? I always read it as a male name, but can also be a female name now that I think about it…

POSTED BY: Sander Huisman

Dear Sander,

that is an interesting computational problem that Mathematica can readily solve:

enter image description here

or

enter image description here

depending on your assumptions.

;-)

Unfortunately MMA does not appear to know the naming frequency:

enter image description here

Luckily W|A knows more:

WolframAlpha["heike", {{"CurrentEstimates:GivenNameData", 1}, "Content"}, 
InputAssumptions -> {"*C.heike-_*GivenName-", "*DPClash.GivenNameE.heike-_**Heike.UnitedStates.female--"}]

gives

enter image description here

WolframAlpha["heike", {{"BasicInformation:GivenNameData", 1}, "Content"}, 
 InputAssumptions -> {"*C.heike-_*GivenName-", "*DPClash.GivenNameE.heike-_**Heike.UnitedStates.male--"}]

enter image description here

So in the US it's more likely female.

Sorry, too much time to waste...

Marco

PS: I am aware that this in the US version of the name. In Germany it would also be female though.

POSTED BY: Marco Thiel

That put a smile on my face! Nice!

In Dutch it can be both genders, but more likely Female. Though in Frisian I think I've heard it more for men. In German indeed female as far as I know…

Cheers!

POSTED BY: Sander Huisman

I also tried to use Mathematica for determining the gender of names automatically, and I was quite disappointed ...

enter image description here

Of course, there may be some weird people somewhere (the US is always a prime suspect) who are calling their sons Felicia, but it's quite absurd to return "male" by default. I don't like the WolframAlpha workaround because it does not even guarantee an interpretation as a name, and it is much too slow for practical work (e.g. a list of 100 names).


This is from the IGraph/M documentation:

enter image description here

POSTED BY: Szabolcs Horvát

Ok, I guess that we are really off-topic, but I yesterday created this function:

determineGender[str_] := 
 If[StringContainsQ[#[[2]], "error"], 
    "Name not found!", 
      {"gender" -> StringSplit[#[[-5 ;; -3]][[1]], {"<gender>", "</gender>"}][[2]],
      "male" -> StringSplit[#[[-5 ;; -3]][[2]], {"<male>", "</male>"}][[2]] , 
     "female" -> StringSplit[#[[-5 ;; -3]][[3]], {"<female>", "</female>"}][[2]]}] & 
      @(URLExecute["http://www.thomas-bayer.com/restnames/name.groovy?name=" <> str, "Data"])

Now

determineGender["Heike"]

gives:

{"gender" -> "unisex name (can be any gender)", "male" -> "true", "female" -> "true"}

and

determineGender["Szabolcs"]

gives

{"gender" -> "male first name", "male" -> "true", "female" -> "false"}

and

determineGender["Felicia"]

gives

{"gender" -> "female first name", "male" -> "false", "female" -> "true"}

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract