User:Jeblad/Inflection

{
  "wordclass" : "Some name",
  "regular" : {
    "forms" : [ "variant 1" ], // headers for columns in words
    "words" : [
      [ "Some word" ]
    ],
    "transducer" : {}
  },
  "irregular" : {
    "forms" : [ "variant 1" ], // headers for columns in words
    "words" : [
      [ "Some word", "Some word variant 1" ]
    ]
  }
}

Note that the transducer should return the variants according to forms for regular words. (Is this optimal? One or several transducers?)