wtetsu/deinja

View on GitHub
src/form.js

Summary

Maintainability
A
0 mins
Test Coverage
/*
 * deinja
 * Copyright (C) 2018 wtetsu
 * https://github.com/wtetsu/deinja
 *
 * Originally based on deinflector
 * Copyright (C) 2016 James Kirk
 * https://github.com/Jimeux/deinflector
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
const Form = {
  POLITE_PAST_NEGATIVE: 0,
  POLITE_NEGATIVE: 1,
  POLITE_VOLITIONAL: 2,
  POLITE_PAST: 3,
  CHAU: 4,
  SUGIRU: 5,
  NASAI: 6,
  TARA: 7,
  TARI: 8,
  CAUSATIVE: 9,
  POTENTIAL_OR_PASSIVE: 10,
  SOU: 11,
  TAI: 12,
  POLITE: 13,
  PAST: 14,
  NEGATIVE: 15,
  PASSIVE: 16,
  BA: 17,
  VOLITIONAL: 18,
  POTENTIAL: 19,
  PASSIVE_OR_CAUSATIVE: 20,
  TE: 21,
  ZU: 22,
  IMPERATIVE: 23,
  MASU_STEM: 24,
  ADV: 25,
  NOUN: 26,
  IMPERATIVE_NEGATIVE: 27,
  CHIMAU: 28,
};

module.exports = Form;