Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Long sentences throw Aliens error "game over, man!" #6

Open
leondz opened this issue Nov 17, 2011 · 0 comments
Open

Long sentences throw Aliens error "game over, man!" #6

leondz opened this issue Nov 17, 2011 · 0 comments

Comments

@leondz
Copy link

leondz commented Nov 17, 2011

Although one can specify a token limit, the parser sometimes runs into problems with longer sentences:

Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pfp
>>> pfp.Parser(200).parse('The report is consistent of two parts in scrutiny level, with one part analysing from the point of view by our survey and views from the user (survey launched marked Heading 2), and with another part analysing from perspective by technical aspect through Achieving Excellence Design Evaluation Toolkit (AEDET Evolution) which is a tool for evaluating the quality of design in healthcare buildings and A Staff and Patient Calibration Toolkit (ASPECT) which is a tool for evaluating the staff and patient environment in healthcare buildings (Heading 3).')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: game over, man!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant