Skip to content

Commit

Permalink
tweak docs; fix reference to _LogicParser
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbird committed Jun 11, 2014
1 parent cb2d0a7 commit acdc941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nltk/sem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
The package has two main components:
- ``logic`` provides a parser for analyzing expressions of First
- ``logic`` provides support for analyzing expressions of First
Order Logic (FOL).
- ``evaluate`` allows users to recursively determine truth in a
model for formulas of FOL.
Expand Down
2 changes: 1 addition & 1 deletion nltk/test/logic.doctest
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Test Parser
x(john)
^

>>> lpq = LogicParser()
>>> lpq = _LogicParser()
>>> lpq.quote_chars = [("'", "'", "\\", False)]
>>> print(lpq.parse(r"(man(x) & 'tall\'s,' (x) & walks (x) )"))
(man(x) & tall's,(x) & walks(x))
Expand Down

0 comments on commit acdc941

Please sign in to comment.