simplenlg.features.Form Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SimpleNLG Show documentation
Show all versions of SimpleNLG Show documentation
Java API for Natural Language Generation
The newest version!
/*
* The contents of this file are subject to the Mozilla Public 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
* https://www.mozilla.org/en-US/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is "Simplenlg".
*
* The Initial Developer of the Original Code is Ehud Reiter, Albert Gatt and Dave Westwater.
* Portions created by Ehud Reiter, Albert Gatt and Dave Westwater are Copyright (C) 2010-11 The University of Aberdeen. All Rights Reserved.
*
* Contributor(s): Ehud Reiter, Albert Gatt, Dave Westwater, Roman Kutlak, Margaret Mitchell, and Saad Mahamood.
*/
package simplenlg.features;
/**
*
* An enumeration representing the different forms a verb and its associated
* phrase can take. The form is recorded under the {@code Feature.FORM} feature
* and applies to verbs and verb phrases.
*
*
* @author A. Gatt and D. Westwater, University of Aberdeen.
* @version 4.0
*/
public enum Form {
/**
* The bare infinitive is the base form of the verb.
*/
BARE_INFINITIVE,
/**
* In English, the gerund form refers to the usage of a verb as a noun. For
* example, I like swimming. In more general terms, gerunds
* are usually formed from the base word with -ing added to the
* end.
*/
GERUND,
/**
* The imperative form of a verb is the one used when the grammatical
* mood is one of expressing a command or giving a direct request. For example,
* Close the door.
*/
IMPERATIVE,
/**
* The infinitive form represents the base form of the verb, with our
* without the particle to. For example, do and
* to do are both infinitive forms of do.
*/
INFINITIVE,
/**
* Normal form represents the base verb. For example, kiss,
* walk, bark, eat.
*/
NORMAL,
/**
* Most verbs will have only a single form for the past tense. However, some
* verbs will have two forms, one for the simple past tense and one for the
* past participle (also knowns as passive participle or perfect
* participle). The part participle represents the second of these two
* forms. For example, the verb eat has the simple past form of
* ate and also the past participle form of eaten. Another
* example, is write, wrote and written.
*/
PAST_PARTICIPLE,
/**
* The present participle is identical in form to the gerund and is normally
* used in the active voice. However, the gerund is meant to highlight a
* verb being used as a noun. The present participle remains as a verb. For
* example, Jim was sleeping.
*/
PRESENT_PARTICIPLE;
}