MATLAB: AddEntityDetails() available on matlab 2018b

addentitydetails()MATLAB

I am trying to creat an NER annotator
I need to use addEntityDetails() but I am getting Undefined function or variable 'addEntityDetails'.

Best Answer

The documentation page for the addEntityDetails method for tokenizedDocument objects indicate it was introduced in Text Analytics Toolbox in release R2019a. It is not available in release R2018b.
You will need to upgrade to release R2019a or later, have Text Analytics Toolbox installed and licensed, and call addEntityDetails with a tokenizedDocument as its first input to use this function.