Configure the list of recognized verbs

Oracle Policy Modeling comes with a library of commonly used verbs. These verbs have already been conjugated 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

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. 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 so that you can update the verb forms in the Verb Editor appropriately.
  5. Click OK to add the verb to the verb list.

NOTE: You will need to manually reparse any statements using the verb in order for it to be recognized.

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.

 

See also: