working in backend erlang to store speech result