Seismic character classification based on a line‐segment model