Editing by Example [Nix]

  • 編集前のテキストと編集後のテキストの組の例をシステムに提示
  • Show texts before and after conversion
    • ユーザの実際の操作は考慮しない
    • Edit commands are not shown
  • 正規表現による文字列置換のサブセットを使用
  • Use a subset of RegExp
  • システムが変換規則を推論し、残りのテキストに適用
  • Infer a conversion rule and apply it to the rest
  • (例) @i[O.K.] → O.K. から @i[(1)] → (1) を推論