How to configure customize Entity Rule in Free Text Rule of Pega NLP Package
1)In a Text Analyzer Rule (like MyRatailFTModel rule), we want to include a new "Entity extraction rules" (e.g MyUSPhoneNumber), which is not present at OOTB list , Pega allows us to create entity type (Decision Data) .Within this "Decision Data" we need to upload a Model here( a Text file having ".ruta" extension) ..
How do we configure this file to write my own logic (in the above context , my own logic to extract USPhoneNumber) ?
2)In the same Rule (like MyRetailFTModel), I need to add custom "Sentiment model" or "Entity extraction models" where it ask to import a ".jar" file to support the model... Can you highlight me what should be content within this ".jar" file. Is this a simple Pega Exported jar or J2EE application jar or like that?