I got the following syntax error at the following line when I run my program in jython:
except Exception as detail:
SyntaxError: mismatched input 'as' expecting COLON
but on python is it ok? What is wrong? I am trying to use the stanford pos tagger api (java) in my python program. Are there other ways?