Open nickmontfort opened 3 years ago
I made a preliminary implementation and some regression testings on BrandNames example story.
See work/hour for an example of how to determine whether to narrate something as a plural (“the doctors”) or singular (“the pair of doctors”). When this is implemented and tested the issue should be closed, as we can do similarly for any single object (“the sunglasses / the pair of sunglasses”) or grouping of objects.
The Curveship way is to define Things that are singular and to define more than one such Thing if, for instance, there are “servants” or “doctors” in the narrative.
We generally want to keep Things unitary, although there will be some special cases. If the story has a pair of sneakers, a bunch of coins, etc. that never need to be represented individually under any circumstances, it is allowable to have a Thing representing a group or multiplicity of objects. This means our servants in
examples/prodigal
and our doctors inexamples/hour
need to be rewritten to have one group of servants and one group of doctors.At the level of Names, we have to be able, in general, to speak of these “multiple things” either in the plural or in the singular: “his pair of sneakers” or “his sneakers.” So Names needs to have an optional flag, singular by default, that can be set to plural. We should still be able to keep all Names in the singular. So we’d use “sneaker” as the name but set the plural flag to true to get the plural.
There is some more to be worked out here, but see if this is enough to get started.