INNER CODE UNIT · Python
arg1_attribution_words
ElizaLo/NLP-Natural-Language-Processing · Shallow Discourse Parsing/PDTB_exploration/pdtb.py:184
def arg1_attribution_words(self, lemmatize=False):
"""
Returns the list of words associated with Arg1's attrbution
(if any). lemmatize=True uses nltk.stem.WordNetStemmer() on
the list.
"""
return self.__words(self.arg1_attribution_pos, lemmatize=lemmatize)
def arg2_attribution_words(self, lemmatize=False):
"""
Returns the list of words associated with Arg2's attrbution
(if any). lemmatize=True uses nltk.stem.WordNetStemmer() on
the list.
"""
return self.__words(self.arg2_attribution_pos, lemmatize=lemmatize)
def connective_words(self, lemmatize=False):
"""