upload spec and sentence