Within the ControlPoint console, go to Administration > Custom Grammar
You will need to create a new grammar for each entity within your grammar file.
The Description fields are what will be displayed in ControlPoint when adding the Grammar to your repository:
Ensure the Grammar File Name is correct and the .ecr file has been copied over to the Framework Eduction folder.
If the grammar file name is incorrect or it has not been copied over, you will see an error in the Connector Framework import.log during ingestion:
Error: Task (type: POST) failed with error: Error during call to lua function 'handler' in script 'lua/Eduction.lua': Open file error. eduction\trgrammar.ecr: Success.
Ensure the Grammar Entity Name is correct by looking at the corresponding XML file. It should be in the form of GrammarName/EntityName.
If you enter this in wrong, you will see an error like this in the Connector Framework import.log during ingestion:
Error: Task (type: POST) failed with error: Error during call to lua function 'handler' in script 'lua/Eduction.lua': Entity "trgrammar/hobbies_en" not found. (212): Success.
This error suggests you have added the Grammar Entity Name as trgrammar/hobbies_en rather than KV/hobbies_en
You can check the Grammar Entity Names in the [ControlPoint].[dbo].[CPGrammarEntity] SQL table: