Describe the bug
Get a TypeError when running the examples in forte/examples/visualize.
TypeError: undefined is not an object (evaluating 'o.position.rects[0].x')
To Reproduce
Steps to reproduce the behavior:
1.
git clone https://github.com/asyml/forte.git
cd forte/examples/visualize
cat README.md
- Follow the steps described in the
README.md file and you will get a terminal prompt like:
- Copy the following text and paste it into terminal.
Forte provides a platform to assemble state-of-the-art NLP and ML technologies in a highly-composable fashion, including a wide spectrum of tasks ranging from Information Retrieval, Natural Language Understanding to Natural Language Generation.
Press return on keyboard and a Stave web page should be popped out, from which you can view the text you just entered.
4. Click the radio button of Token on the left panel and an error message will show in browser console.
TypeError: undefined is not an object (evaluating 'o.position.rects[0].x')
Expected behavior
No error should appear and Stave should correctly show the Token annotations.
Screenshots


Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Get a
TypeErrorwhen running the examples inforte/examples/visualize.To Reproduce
Steps to reproduce the behavior:
1.
git clone https://github.com/asyml/forte.git cd forte/examples/visualize cat README.mdREADME.mdfile and you will get a terminal prompt like:Press
returnon keyboard and a Stave web page should be popped out, from which you can view the text you just entered.4. Click the radio button of
Tokenon the left panel and an error message will show in browser console.Expected behavior
No error should appear and Stave should correctly show the
Tokenannotations.Screenshots


Environment (please complete the following information):
Additional context
Add any other context about the problem here.