Sentence:  There had <WSD>been</WSD> occasions when some of the more experienced had even addressed her in what might have been perfectly good Japanese . 
Meaning of the word marked with <WSD> tags:  happen, occur, take place; this was during the visit to my parents' house"