-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gender specification in sketches #15
Comments
To generalize this problem, we could introduce a system of dictionary lookups that can match keys to values. In the gender case, it could match names to pronouns, for example. JavaScript uses the |
I don't quite understand what you are suggesting. |
I believe the solution to this can be extended to a lot more than just
gender. Saying that if a certain word is used, in this case a person's
name, another particular word or set of words should be used elsewhere, in
this case, the pronouns. Hence the key : value structure. Is this
understanding right?
On 19 Feb 2018 21:42, "k-cap" <[email protected]> wrote:
I don't quite understand what you are suggesting.
Can you please elaborate.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AR21hZDQB1IC48dMyFiEhjmzlHSOt4d8ks5tWZ18gaJpZM4SKnFN>
.
|
Can you give an example of the key:value structure. |
Female :
- Tanvi
- Divya
Male :
- Tarun
- George
Now saying that Female is associated with her/she/ and Male with he/him
etc. Extending same to other things. Key her would be female or male I
believe
…On 19 Feb 2018 22:05, "k-cap" ***@***.***> wrote:
Can you give an example of the key:value structure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AR21hcXQhHUJwPQFsh-b6Phbk0NyblFRks5tWaLPgaJpZM4SKnFN>
.
|
I think @fdb mentioned that the names should be matched to the pronouns, which means it should be like
We can then have our own dictionary specified like -
And then user can directly use |
I'm not quite sure how it would work. I think we need to look at it more generally, not just as a gender-specifier but as a generic mapping from keys to values. I'm open to suggestions for how the syntax might look... |
I think what I suggested earlier can help the user to write of the generic cases. |
Right now if the user wants to include a gender specific word like his/her, he/she, etc., then it needs to be hard coded. What it means that the user will have know before hand what the gender is.
Maybe you could add a way to let user specify the statement to be used for a particular gender.
It could be done in the following way -
This is just a suggestive syntax. It should obviously be decided by you.
The text was updated successfully, but these errors were encountered: