nltk/nltk — Issue #74: lambda abstract in chat80.doctest gives wrong value
Author: alexrudnick
Created: 2012-01-17 06:25:27+00:00
State: open

This line currently fails because lambda expressions evaluate to giving the
whole dictionary.

>>> m.evaluate(r'\x .population_of(jakarta, x)', g)
{'533': True}

It would be preferable to have the value be:

[('533',)]

like other one-place predicates but I'm still not sure how to achieve this.
In the interim, I'm removing this line from the doctest.

Migrated from http://code.google.com/p/nltk/issues/detail?id=421