Enabling Reuse Repositories for Checking
A repository is not enabled for checking until you assign the repository to a writing guide. You assign new reuse repositories to writing guides on the Reuse Repositories page in the Guidance Settings section. You can also deactivate or activate existing assignments. A reuse repository configuration page is available for each of the languages configured in your guidance package.
Assigning a Reuse Repository to a Writing Guide
To enable a repository for checking, you must assign the repository to a writing guide. You can assign the same repository to one or more writing guides, but you can assign only one repository to each writing guide.
To assign a reuse repository to a writing guide, follow these steps:
- Navigate to Guidance Settings > Reuse Repositories .
- Navigate to the reuse repository configuration page for the relevant language.
- In the Repository column, select the repository for the writing guide that you want to assign repository to.
- Select the checkbox in the Active column to activate the assignment for checking.
- Click Save .
Activating or Deactivating Repositories
You can control whether a reuse repository is loaded by the language servers by using the checkboxes in the Active column. If you want to update the contents of the repository but do not want users to check with a repository that might change, you can deactivate the repository.
To activate or deactivate a repository assignment:
- In the relevant rows, select or deselect the checkbox in the Active column to activate or deactivate the assignment between the writing guide and the resue repository and click Save .
Language Server Statuses and Warnings
The table on the Reuse Repositories Configuration page contains a Status column which displays the language server status of each reuse repository. The language server status indicates the availability of the reuse repository to plug-in users.
Language Server Statuses
The following table describes the possible loading statuses.
Reuse Repository Warnings
If the directory which stores the reuse repository has been deleted from your installation, the name of the reuse repository appears with a red border on the Reuse Repository Configuration page.
After you select another valid repository and save your changes, the red border is removed and the missing repository is removed from the repositories dropdown.
Exporting a Reuse Repository
You can use the Export Repository feature to export a list of clustered sentences to a text file for users to review offline. After you have reviewed the export file, you might want to create a revised list of representative sentences which you can import to a new repository.
To export a reuse repository, follow these steps:
- Open the Clusters Page for your repository.
The Export Reuse Repository dialog box appears.
Select one of the following options:
Include repository summary
to include the repository summary at the beginning of the file.
The repository summary contains information about when the export was created and the number and size of clusters in the repository.
Include clusters summary
to include a cluster summary above each cluster.
The cluster summary contains information about the number of sentences and representatives in each cluster.
- Include representatives only to export only the representative sentences from each cluster.
- Include repository summary to include the repository summary at the beginning of the file.
- Click OK .
- Right click the Download Link that appears, and click Save Target As .
Checking for Reuse Issues in the Acrolinx Plug-ins
Deleting a Reuse Repository
You can permanently delete repositories which are not being updated or are active in a writing guide.
The Active In column on the Repositories page displays the value 'n/a' for repositories which are not active in any writing guide. Repositories with this value can usually be deleted unless they are also being updated.
If the repository you want to delete is active in one or more writing guide, remove all associations to the repository on the Reuse Repository Configuration page before commencing this procedure.
To delete a reuse repository, follow these steps:
- On the Repositories page, select the repositories to delete.
The selected repositories are marked for deletion on the Repositories page. Repositories that are marked for deletion appear in strike-through formatting. Deleted repositories are removed from the list after the core server is restarted.
Backing up Reuse Repositories
You should back up your repositories in case your installation is corrupted or lost.
Reuse repositories are stored in the directory
To back up all reuse repositories and sentence banks, follow these steps:
- Stop the core server.
- Make a copy of the directory <INSTALL_DIR>\data\reuse\ .
- Restart the core server.