TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Flip gender in Python

62 pointsby Old_Thrashbargalmost 7 years ago

9 comments

Old_Thrashbargalmost 7 years ago
The biggest problem I have right now with this is &quot;her&quot;. The 3rd person possessive and objective cases are identical for female (&quot;her&quot;), but different for male (&quot;him&quot; &#x2F; &quot;his&quot;).<p>So these 2 sentences flip &quot;her&quot; differently:<p><pre><code> It was created by her very quickly It was created by her very own child </code></pre> I&#x27;m no NLP expert so if anyone has some ideas, please see this issue: <a href="https:&#x2F;&#x2F;github.com&#x2F;Garrett-R&#x2F;gender_bender&#x2F;issues&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Garrett-R&#x2F;gender_bender&#x2F;issues&#x2F;2</a>
评论 #17748282 未加载
mattigamesalmost 7 years ago
This doesn&#x27;t &quot;examine gender norms&quot; it just creates a lot of non-sense per book like &quot;She had to go to war like most women and like many ended up amputated and homeless&quot;
评论 #17747527 未加载
评论 #17747074 未加载
评论 #17746987 未加载
评论 #17747318 未加载
saghmalmost 7 years ago
&gt; Dawn Quixote<p>Not sure if this is intentional or not, but &quot;Don&quot; in this case isn&#x27;t a name, but a title. Does the library attempt to determine whether a name that can also be a word is in fact used as a name in a given instance? (Not blaming it for getting this one wrong if it does, since it&#x27;s a Spanish rather than English word)
评论 #17748084 未加载
apu8812almost 7 years ago
The whole gender issue has been very well covered and is now overrated.<p>Much more important is to get people (especially typical parochial Americans) to realize that there exist other human beings in other countries. Even the most sexist American male is aware of gender issues (even if he doesn&#x27;t agree with them). But even &quot;liberal&quot;, &quot;soft-hearted&quot; Americans don&#x27;t much care or know about the life of someone in say Bangladesh or Indonesia.<p>So maybe you could also think of changing nationalities. E.g. change Anglo-American names to Bangladeshi or Indonesian ones.
评论 #17749434 未加载
评论 #17749968 未加载
评论 #17748087 未加载
评论 #17747917 未加载
staredalmost 7 years ago
It is interesting and close to some things I have been thinking about (vide <a href="http:&#x2F;&#x2F;p.migdal.pl&#x2F;2017&#x2F;09&#x2F;30&#x2F;dating-for-nerds-gender-differences.html" rel="nofollow">http:&#x2F;&#x2F;p.migdal.pl&#x2F;2017&#x2F;09&#x2F;30&#x2F;dating-for-nerds-gender-differ...</a>).<p>Did you try making some interactive version? I think this could be inspiring for a large audience.<p>Did you try using things like word2vec, to find word “analogies”? (They are often biased, like doctor - man + woman is nurse.) Comparing two “translations” could be interesting.
评论 #17747913 未加载
apu8812almost 7 years ago
Could you perhaps make a simple but user-friendly website that lets people convert their epubs?
评论 #17747748 未加载
stfwnalmost 7 years ago
Nice one! Original, sharp and funny.
评论 #17747503 未加载
sadamzninternalmost 7 years ago
“If Ivan weren’t my son perhaps I’d be dating him”<p>Loved the examples, can’t wait to try it!
评论 #17747923 未加载
1000unitsalmost 7 years ago
Excuse me, but this &quot;flipping&quot; business only further reinforces the idea of gender as a binary construct, which is problematic.
评论 #17748961 未加载
评论 #17748953 未加载
评论 #17749157 未加载