Text progress bar in CLI

Here we add some progress bar-like output to the CLI interface. This is needeed
because for large text/keyphrase sets the calculations may take pretty long time.