Write rules in Italian

Write rules in Italian

Supported sentence structures

The Italian parser supports Subject – Verb – Object sentences.

Supported verb forms

Italian verbs conjugate in a significant number of tenses and several moods. The indicative mood is used for factual statements. The subjunctive mood is used for uncertain sentences, as well as some "if ... then ..." sentences.

Although gender (masculine and feminine) is present in Italian, the third person forms in most tenses are the same for both genders. Additionally, the polite second person form in Italian uses the third person verb conjugation.

 

The verbs list in Oracle Policy Modeling contains entries for the following tense and mood combinations:

Mood

Tense

Verb forms

Gerund

Present

One form

Participle

Past

Masculine singular, masculine plural, feminine singular, feminine plural

Indicative

Present

Singular, plural

Indicative

Imperfect

Singular, plural

Indicative

Past absolute

Singular, plural

Indicative

Future

Singular, plural

Subjunctive

Present

Singular, plural

Subjunctive

Imperfect

Singular, plural

 

The Italian parser supports both simple and compound verb constructions. For example:

Limitations

Substitutions

In order for the substitution to work correctly, every variable and entity should either be preceded by the article, or by a contracted preposition + article.

The following prepositions are supported for substitution:

  1. di – the contracted forms del, dello, della, dell’, dei, degli and delle are supported.
    1. For example, il libro dello studente (the mug of the student) becomes il libro di Marco when Marco is substituted for lo studente.
  2. da – the contracted forms dal, dallo, dalla, dall’, dai, dagli and dalle are supported.
    1. For example, l’amico è sostenuto dallo studente (the friend is supported by the student) becomes l’amico è sostenuto di Luna when Luna is substituted for lo studente.

 

The following guidelines must be followed for substitution to work correctly:

  1. Each variable attribute should include the article. For example, use lo studente instead of studente.
  2. Each variable used in a nominative sentence should include the article. For example, use lo studente studia la lezione instead of studente studia la lezione.
  3. Each variable used in a sentence with a preposition should include the appropriate contracted preposition + article. For example, use il libro dello studente è verde instead of il libro di studente è verde.
  4. There must be exactly one space between the article/preposition and the variable name. For example, use il libro dello studente è verde instead of il libro dello  studente è verde.

 

In order for 2nd person substitution of possessives to work correctly, the object possessed may consist of one word only. For example, il libro dello studente (the student's book) can be correctly transformed into il suo libro. However, il libro verde dello studente (the student's green book) cannot be correctly transformed into a 2nd person sentence. It can, however, be transformed into a 3rd person sentence il libro verde di %varid?% where "varid" is the public name for the variable lo studente.