g Part 2: The features arrived the grammar Splitting categories and non-terminals gets out of hand fast. An alternative to the proliferation of non-terminals is to attach features to the terminals and non-terminals, and use these features to constrain the grammar. Consider the case example in part 1. We split pro into pro_nom and pro_acc, and we split np into np_nom and np_acc. The sequence det n could be either, so we added two rules (one for np_nom, and one for np_acc) with identical right-hand sides. Instead of splitting the symbols of the grammar, we can modify the lexical entries as follows:

Respuesta :

Answer:

The split is given by including spaces in both tabs

Explanation:

The bracket notation can be used to indicate the split. Here is an example:

String [ ] parts = s. split ( "[/]")