レコードをメール: Inferring Generative Model Structure with Static Analysis