jakemclelland / romanizer

MIT License
1 stars 0 forks source link

Define the object schema to save the replacement keys #1

Closed jakemclelland closed 1 year ago

jakemclelland commented 2 years ago

Should be a simple json object with an array, and 2 properties:

Something like

{
  "collection": [
    {
      "lookFor": "խ",
      "replacement": "kh"
    },
    {
      "lookFor": "ե",
      "replacement": "~^ye:e"
    }
  ]
}
jakemclelland commented 1 year ago

Ended up using the | character as the delimiter for optional before/after replacements as with the ե character in Armenian, because the : is too similar to the sentence full stop character in Armenian and sometimes used interchangeably with it.