On 13Jun2018 19:51, Sharan Basappa <sharan.basa...@gmail.com> wrote:
Can anyone explain to me the purpose of "pattern" in the line below:

documents.append((w, pattern['class']))

documents is declared as a list as follows:
documents.append((w, pattern['class']))

Not without a lot more context. Where did you find this code?

Cheers,
Cameron Simpson <c...@cskk.id.au>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to