Write Rules In Bahasa Indonesia
Policy Modeling supports rule authoring in Bahasa Indonesia.
For the syntax for rule functions in Bahasa Indonesia, see Function reference (Indonesian).
When writing rules in Bahasa Indonesia, the concepts listed in the following table require special consideration.
| Concept | Special consideration |
|---|---|
| Verb forms | A Bahasa Indonesia verb may be active or passive. Passive verbs are derived from the base form using a prefix/suffix. Policy Modeling treats the active form and the passive form as two separate verbs. This means you will need to add both forms as separate verbs to your project's custom verb file. See Configure the List of Recognized Verbs for information on how to do this. |
| Special negations |
In general, Bahasa Indonesia verbs are negated by prefixing the verb with tidak. For example, the positive sentence penghasilan orang tersebut melebihi batas atas (the person's income exceeds the threshold) is negated as penghasilan orang tersebut tidak melebihi batas atas. Policy Modeling handles most Bahasa Indonesia negations in this way. However, the verb adalah is negated as bukan. For example, the positive sentence pemohon adalah wajib pajak di Indonesia (the applicant is a taxpayer in Indonesia) is negated as pemohon bukan wajib pajak di Indonesia. This also means that when using the negative form of a Boolean attribute in a rule (see Write Rules In the Negative), you should write the negative form of adalah attributes using bukan. |
| Determiners in substitution |
In Bahasa Indonesia, when the name of a person/entity occurs in a sentence, it is succeeded by a 'determiner', roughly meaning 'the' or 'that one'. For example, if we have a non-Boolean attribute orang (the person), with substitution enabled, we could create the following Boolean attribute text where itu is the determiner: penghasilan orang itu melebihi batas atas (the person's income exceeds the threshold). When substituting a value in place of orang in Bahasa Indonesia, the determiner is dropped. For example, where the value of orang is 'John', a third person substitution of the above Boolean attribute becomes penghasilan John melebihi batas atas (John's income exceeds the threshold). Three Bahasa Indonesia determiners are supported in Policy Modeling: itu, tersebut and berkenaan. Policy Modeling will recognize and correctly omit any of these determiners when performing substitution. However, for ease of rule maintenance and review, it is recommended that either:
|