class_docstr: list of beams at specific time-step
docstr: delete beams for which last word is not finished
docstr_tok: ["delete","beams","for","which","last","word","is","not","finished"]
code: def deletePartialBeams(self, lm):
      "delete beams for which last word is not finished"
      for k, v in self.beams.items():
          lastWord = v.textual.wordDev
          if (lastWord != "") and (not lm.isWord(lastWord)):
              del self.beams[k]
  
imports: from __future__ import division
  from __future__ import print_function
  import copy
label_desc: Use image node_id 4 for calling the BeamList obj's underlying member method code with example usage: obj.deletePartialBeams(lm) without return types