add some offline code

offline code to process word vector