chnage getExtrator methods to getTermFunction method

also fixed parsing errors
ignoring vim temporary files