I 'd have to redefine the parameter list for the createWord () method to look something like def createWord ( word , partOfSpeech , defs , syns = [ ] ) { } .
我需要重新定义createWord()方法的参数清单,使它变成类似defcreateWord(word,partOfSpeech,defs,syns=[]){}的样子。