(1) import math (2) use logprob as default (3) remove stupid backoff