A multi-purpose automatic editing system based on lecture semantics for remote education