Open squallstar opened 8 years ago
What about a "plural-object" word type? Then new sets of phrases would have to be added with formatting such as "There are {plural-object}.", "Are these {plural-object}?" etc.
That would work, though I was thinking of something more automatic, like specifing some rules and have regular expressions to parse the phrase and substitute words in the English phrase with their plural when a word is plural. I'll think about a solution over the Christmas holidays :)
This would also work:
given type: {{object plural}}
There are some {{object plural}}.
(Since subtypes can already be defined by a space) — anyway, I want to try to build a better solution to handle singular and plural with the same word/phrase so there's not redundant elements.
Seems like you need a way to represent singular and plural determiners and verbs in order to make the following types of associations: this, these -> この that, those -> その is, are -> no direct mapping but possibly ある in some cases
The case of determiners might have a full mapping. I'm not sure if there are consistent mappings beyond that but I can try to see if anything like this exists since it's interesting.
Thanks for the advice, I'll write out all the mappings to see whether we can build a nice mechanism for plurals or it's safer to just have different sentences and words.
On Sun, 27 Dec 2015, 01:20 jepurcell notifications@github.com wrote:
Seems like you need a way to represent singular and plural determiners and verbs in order to make the following types of associations: this, these -> この that, those -> その is, are -> no direct mapping but possibly ある in some cases
The case of determiners might have a full mapping. I'm not sure if there are consistent mappings beyond that but I can try to see if anything like this exists since it's interesting.
— Reply to this email directly or view it on GitHub https://github.com/squallstar/gakusei/issues/21#issuecomment-167374375.