- Retry connection some number of times;
- Handle more complex responses.
>>> parser = OpenIEExtractor('cedar.dhcp.asu.edu', 7000, verbose=True)
Loading feature templates.
Loading models.
Loading lexica.
Loading configuration.
Loading feature templates.
Loading models.
Loading feature templates.
Loading models.
Loading lexica.
Loading feature templates.
Loading models.
Loading feature templates.
Loading models.
Loading lexica.
* * * * * * * * * * * * *
* OpenIE 4.1.x is ready *
* * * * * * * * * * * * *
>>> parser.parse('Pinyon is the cutest dog in the world, and Scout is also nice')
[('0.94', ('Pinyon', 'is', 'the cutest dog in the world')),
('0.80', ('Scout', 'is also', 'nice')),
('0.89', ('Pinyon', 'is the cutest dog in', 'the world'))]