new(whatsapp.gblib): New provider.
This commit is contained in:
parent
ed902bf84d
commit
83664c57c7
1 changed files with 2 additions and 2 deletions
|
@ -739,8 +739,8 @@ export class KBService implements IGBKBService {
|
|||
const nameReg = /(\w+)\(.*\).*/gi.exec(text);
|
||||
|
||||
if (categoryReg && nameReg) {
|
||||
let category = [1];
|
||||
let name = [1];
|
||||
let category = categoryReg[1];
|
||||
let name = nameReg[1];
|
||||
min["nerEngine"].addNamedEntityText(category, name,
|
||||
[contentLocale], [name]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue