Bruce D'Arcus
Bruce D'Arcus
OK, but it's possible this pre-process parsing will in fact precede, and be completely independent of, any CSL process. But in any case, the reasons I said family name is...
I just think that's not our concern. A CSL processor could choose, for example, to only accept 1.0 files, but internally convert them into something equivalent to 1.1. Or they...
> In almost all cases where a name has particles or suffixes, they are going to arrive at the processor/pre-processor with the particles/suffixes still stored in family/given. We need to...
So let me see if I understand this narrow issue: family name suffixes and particles: We have properties for these in the input schema, so there are places to put...
> I think from a practical point of view it would be indeed very useful to have a collection of typical preprocessing tasks that arise when one tries to massage...
That's very helpful @andras-simonyi - thanks! So on 3, you mean JSON something like this? ``` js { "names: [ { "input": "Doe, Jane", "output": { "family": "Doe", "given": "Jane"...
> There are quite a few tests in the CSL test-suite (starting with `name_`) illustrating particle and suffix parsing That's exactly what's frustrated some developers; what they mean by undocumented...
WDYT about this? - [repo](https://github.com/citation-style-language/data-parsing) - [gh-pages](https://citationstyles.org/data-parsing/) Currently, the content is mostly a placeholder, aside from the beginnings of the [JSON schema](https://github.com/citation-style-language/data-parsing/blob/master/json/string-parse.json) (I would, however need to hook it up...
> It'd be nice to have a place for similar descriptions in the JSON schema for the examples. Like a `description` property; metadata? That makes sense.
OK, here's [an example](https://github.com/citation-style-language/data-parsing/blob/master/json/titles.json) of what I currently have. ``` js { "description": "Title and Subtitle, but Question Mark Delimeter", "input": "Whose Music? A Sociology of Musical Language", "output": {...