import { TokenTags, Tag } from "../../language/tags.ts"; const { Inflection } = Tag; interface Test { input: string; tags: TokenTags; }; export default [ { input: "取る", tags: [], }, { input: "取らない", tags: [ Inflection.Negative ], }, { input: "取ります", tags: [ Inflection.Polite.Masu ], }, { input: "取りません", tags: [ Inflection.Negative, Inflection.Polite.Masu ], }, { input: "取った", tags: [ Inflection.Tense.Past ], }, { input: "取らなかった", tags: [ Inflection.Negative, Inflection.Tense.Past ], }, { input: "取りました", tags: [ Inflection.Polite.Masu, Inflection.Tense.Past ], }, { input: "取りませんでした", tags: [ Inflection.Negative, Inflection.Polite.Masu, Inflection.Tense.Past ], }, { input: "取って", tags: [ Inflection.Suffix.Te ], }, { input: "取らなくて", tags: [ Inflection.Negative, Inflection.Suffix.Te ], }, { input: "取れる", tags: [ Inflection.Potential ], }, { input: "取れない", tags: [ Inflection.Negative, Inflection.Potential ], }, { input: "取られる", tags: [ Inflection.Passive ], }, { input: "取られない", tags: [ Inflection.Negative, Inflection.Passive ], }, { input: "取らせる", tags: [ Inflection.Causative ], }, { input: "取らせない", tags: [ Inflection.Negative, Inflection.Causative ], }, { input: "取らせられる", tags: [ Inflection.Causative, Inflection.Passive ], }, { input: "取らせられない", tags: [ Inflection.Negative, Inflection.Causative, Inflection.Passive ], }, { input: "取れ", tags: [ Inflection.Imperative ], }, { input: "取るな", tags: [ Inflection.Negative, Inflection.Imperative ], }, ] satisfies Test[];