Is it possible to read term bases?

I am making a batch task for automatic translation. Is it possible to read the term base for the project file during the batch task?