ó <¿CVc@sddlmZd„ZdS(iÿÿÿÿ(tprint_functionc Cs%dddddddddddjdƒd f}|g}xÙt||ƒD]È\}}x¹t|ƒD]«\}\}}||d } || krnd jd „|| Dƒƒ} d jd „||d Dƒƒ} d|| |f} |jd| d| jdƒ| d fƒqnqnWqUW|S(s Returns a list of human-readable strings indicating the errors in the given tagging of the corpus. :param train_sents: The correct tagging of the corpus :type train_sents: list(tuple) :param test_sents: The tagged corpus :type test_sents: list(tuple) s%25s | %s | %s t-it+is left contextsword/test->goldis right contextit css|]}d|VqdS(s%s/%sN((t.0tw((sh/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/tbl/erroranalysis.pys !scss|]}d|VqdS(s%s/%sN((RR((sh/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/tbl/erroranalysis.pys "ss %s/%s->%ss%25s | %s | %siçÿÿÿi(tcentertzipt enumeratetjointappend( t train_sentst test_sentsthdrterrorst train_sentt test_senttwordnumtwordt train_posttest_postlefttrighttmid((sh/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/tbl/erroranalysis.pyt error_lists #  ! -N(t __future__RR(((sh/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/tbl/erroranalysis.pyt s