vocab read write from input data folder and working data folder.

reads and writes the vocab files from input data folder and
working data folder instead of the current directory.