Added sub_indices for subcorpus.
Added subcorpus helper function sub_meta and tests.