Configure the list of recognized verbs

Configure the list of recognized verbs

Oracle Policy Modeling comes with a library of commonly used verbs. These verbs have already been conjugatedThe conjugations are the different forms the verbs take depending on what person and tense they are. and are ready to use in attributes.

Oracle Policy Modeling will be unable to initially parse an attribute if it contains an unknown verb (ie a verb that is not in the default verbs list). In this instance, it is necessary to create a custom verbs list to add the new verb to. From then on, Oracle Policy Modeling will recognize that verb whenever it is used in an attribute.

NOTE: Projects which use a Rapid Language Support language parser do not contain a list of verbs so the options below do not apply to these projects. For more information on how to edit the sentence forms for such projects, see the Help available in the Rapid Language Support Tool.

What do you want to do?

Create a new verb file

Add a new verb

Modify existing verb forms

Delete a verb

Delete a verbs file

Create a new verb file

To create a verb file:

  1. In Oracle Policy Modeling, select File | Edit Verbs....
  2. You will be prompted to create a custom verbs file. Click Yes.

TIP: Custom verb files are created at the project level. If you already have a custom verb file from another project that you want to use in your project, copy it into the Development folder for your project. The file must be called verbs.xml.

Add a new verb

After you have created a new verb file (see above), you can then add new verbs to it. In the Verbs List dialog box:

  1. Check the verb is not in the existing Verbs List by entering the verb in the find field.
  2. If the verb is not shown in the list, click Add... to add it.
  3. In the Verb Editor dialog box, press Tab to automatically conjugate the verb.
  4. Check that all of the verb forms are correct.
  5. Click OK to add the verb to the verb list.

NOTE: Oracle Policy Modeling does not recognize the difference between regular and irregular verbs and initially conjugates all verbs as regular verbs. If the verb you are adding is an irregular verb, you must know what form the verb takes for each person/tense The simple present tense is used for habitual actions that are not just happening now. The simple past tense is used for actions that took place in the past and that are not taking place now. The present progressive tense is used to express current actions. The past perfect tense is used for actions that were completed before some other event. so that you can update the verb forms in the Verb Editor appropriately.

Modify existing verb forms

To modify an existing verb form:

  1. In Oracle Policy Modeling, select File | Edit Verbs....
  2. If you have not edited the verb list before, you will be prompted to create a custom verbs file. Click Yes.
  3. In the Verbs List enter the verb you want to edit.
  4. When the verb is highlighted, click Edit....
  5. In the Verb Editor make the necessary changes and click OK. Then click OK in the Verbs List.

Delete a verb

To delete a verb from the verbs list for the project:

  1. In Oracle Policy Modeling, select File | Edit Verbs....
  2. In the Verbs List enter the verb you want to delete.
  3. When the verb is highlighted, click Delete. Then click OK.

Delete a verbs file

To delete a custom verbs file that is no longer needed in a project:

  1. In Oracle Policy Modeling, select the project name in the Project Explorer.
  2. Right-click and select Locate in Explorer. A new Windows Explorer window will be opened showing the Development folder for the project.
  3. Select the verbs.xml file and click Delete.

Note that if the project still has attributes in it that use the deleted custom verbs file, these will be detected as broken parses at build time and reported as errors.

 

See also: