On 13Jun2018 19:51, Sharan Basappa <[email protected]> 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 <[email protected]>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to