question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mark entities in sentences

See original GitHub issue

I’m currently facing this issue: I made a chatito file that contains all I need to generate my dataset and I’m very happy with it. However, there are a few sentences I want to add in which the entity mentions only make sense in that context and I don’t want it them be reused. I would like anyway to mark such slots by using the DSL so that the entity is included in my RASA NLU training file.

Example: my parcel should be delivered in @[delivery_time] days versus my parcel should be delivered as fast as possible where “as fast as possible” is also a delivery time but I don’t want to use that expression in other sentences.

Is there any way to achieve this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
rodrigopivicommented, May 11, 2018

ahh i see your point @albertotonon , let me think about this use cases a bit more, but something like this could work:

%[x]
  my parcel should be delivered in @[delivery_time|variation1]
  my parcel should be delivered @[delivery_time|variation2]

@[delivery_time|variation1]
    3 days
    5 hours

@[delivery_time|variation2]
    as fast as possible
    quickly

Would need to implement this kind of custom argument variations to be able to combine sentences more selectively but also map to the same entity name

0reactions
rodrigopivicommented, Jun 11, 2018

@albertotonon version 2.0.0 is released and this is fixed now, please read the docs, cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Entity Marks Definition | Law Insider
Define Entity Marks. means the Participating Entity's trademarks, service marks, trade names and associated logos.
Read more >
Named Entity Recognition: Concept, Tools and Tutorial
When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark...
Read more >
Examples of sentences labeled with named entities belonging ...
Examples of sentences labeled with named entities belonging to the classes PERSON (PER), LOCATION (LOC), ORGANIZATION (ORG), MISCELLANEOUS (MISC) and ...
Read more >
Named Entity Recognition (NER) - Pluralsight
NER is an NLP task used to identify important named entities in the text such as people, places, organizations, date, or any other...
Read more >
Token classification - Hugging Face Course
Part-of-speech tagging (POS): Mark each word in a sentence as corresponding to a particular ... Chunking: Find the tokens that belong to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found