parameters: (sentence,censorLevel)
return_statement: return sentence
docstring: censors sentence for words for above ratingLevel. Returns censored sentence
docstring_summary: censors sentence for words for above ratingLevel. Returns censored sentence
docstring_tokens: censors sentence for words for above ratingLevel . Returns censored sentence
function: def xCensor(sentence,censorLevel):
      "censors sentence for words for above ratingLevel. Returns censored sentence"
      # make sure they stay within reasonable censorLevels
      if censorLevel > xRatedR:
          censorLevel = xRatedR
      for sfilter in SentenceFilters:
          sentence = sfilter.censor(sentence,censorLevel)
      return sentence
function_tokens: def xCensor ( sentence , censorLevel ) : # make sure they stay within reasonable censorLevels if censorLevel > xRatedR : censorLevel = xRatedR for sfilter in SentenceFilters : sentence = sfilter . censor ( sentence , censorLevel ) return sentence