Skip to content

Commit

Permalink
fix(nlu): email entity extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
slvnperron committed Jul 3, 2019
1 parent 8e3246f commit faf9afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nlu/src/backend/engine.ts
Expand Up @@ -373,7 +373,7 @@ export default class ScopedEngine implements Engine {
customEntityDefs.filter(ent => ent.type === 'list')
)

const systemEntities = await this.systemEntityExtractor.extract(ds.lowerText, ds.language)
const systemEntities = await this.systemEntityExtractor.extract(ds.rawText.toLowerCase(), ds.language)

debugEntities.forBot(this.botId, ds.rawText, { systemEntities, patternEntities, listEntities })

Expand Down

0 comments on commit faf9afe

Please sign in to comment.