To use the PAWS-generated PC-PATR grammar file with a CARLAStudio setup, do the following:
- Initial set-up
- While running CARLAStudio, go to Language Model / Language / Analysis Sequence...
- Click on the AMPLE process.
- Click on the "Insert After..." button.
- Select the PC-PATR DLL process and click OK.
- Double click on the PC-PATR Diambiguate processor and use the Browse button to navigate to the PAWS-generated grammar file. Click on OK.
- Leave all other options as they are.
- Click on OK.
- Adding feature names
- Note that both feature names and category names are sensitive to capitalization and are limited to a single word for each.
- A space indicates a separate feature name.
- Therefore, whenever you are instructed to add a feature to a lexical entry,
simply list the feature name (with a space between it and any other features) in the feature field (normally \f).
- You also need to be sure CARLAStudio knows about the feature field by keying an f (or the marker you are using) in the box by *features (one of the Optional Markers) in all the Analysis SFM Markers sections under the Dictionary tab in the Language Model.
- Processing texts:
- Load the text you want to process and process it.
- Check the log for the results.
- Note any changes you need to make, most likely by adding features to particular entries in the lexicon.
- If any words fail to be parsed by your morphological parser, then the syntactic parser cannot parse any phrases or sentences those words are included in, so you need to fix the problem with the morphlogical parser first.
- You may also find you need to change your answers on the previous pages of PAWS about the order of elements in the phrase structure rules. Or you may need to use the Category Mapper on the previous page to correct differences between your categories and those used by PAWS. Make the changes as needed. If you have changed anything on the pages within PAWS, you will need to return to this page and then save the files again. Rerun the parsers and check the results again.