You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Given a lu file which has a intent defintion and a large number of entity definition under that intent, Any CLI tool that is calling lu parser will take a long time to parse the content with antlr. This is a bug caused by the rules in LUFileParser.g4. EntitySection and NewEntitySection are both root sections of paragraph and child sections of simpleIntentSection which may cause some unexpected loop.
To Reproduce
Steps to reproduce the behavior:
create a lu file with a large number of entity definitions under a intent
run 'bf luis:convert --in {lu file path}'
See the execution time of this command
Expected behavior
It should take reasonable time to parse lu content
Screenshots
If applicable, add screenshots to help explain your problem.