From 72f90053ec825d4b6734ec70944dbf158eaff3da Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Sun, 27 Aug 2017 22:03:26 -0400 Subject: [PATCH] framenet.py: citation; fix typo in method documentation --- nltk/corpus/reader/framenet.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nltk/corpus/reader/framenet.py b/nltk/corpus/reader/framenet.py index 26fa96e164..5aeb4d9e8f 100644 --- a/nltk/corpus/reader/framenet.py +++ b/nltk/corpus/reader/framenet.py @@ -1003,6 +1003,10 @@ def help(self, attrname=None): msg = """ +Citation: Nathan Schneider and Chuck Wooters (2017), +"The NLTK FrameNet API: Designing for Discoverability with a Rich Linguistic Resource". +Proceedings of EMNLP: System Demonstrations. https://arxiv.org/abs/1703.07438 + Use the following methods to access data in FrameNet. Provide a method name to `help()` for more information. @@ -1023,7 +1027,7 @@ def help(self, attrname=None): LEXICAL UNITS ============= -lu() to look up a frame by its ID +lu() to look up an LU by its ID lus() to get lexical units matching a name pattern, optionally constrained by frame lu_ids_and_names() to get a mapping from LU IDs to names