parameters: (self, text, brokenLetters)
return_statement: return result + int(broken == False)
docstring: :type text: str
          :type brokenLetters: str
          :rtype: int
docstring_summary: :type text: str
          :type brokenLetters: str
          :rtype: int
docstring_tokens: : type text : str : type brokenLetters : str : rtype : int
function: def canBeTypedWords(self, text, brokenLetters):
          """
          :type text: str
          :type brokenLetters: str
          :rtype: int
          """
          lookup = set(brokenLetters)
          result, broken = 0, False
          for c in text:
              if c == ' ':
                  result += int(broken == False)
                  broken = False
              elif c in lookup:
                  broken = True
          return result + int(broken == False)
function_tokens: def canBeTypedWords ( self , text , brokenLetters ) : lookup = set ( brokenLetters ) result , broken = 0 , False for c in text : if c == ' ' : result += int ( broken == False ) broken = False elif c in lookup : broken = True return result + int ( broken == False )