Storing metadata in the corpus

The idea of two different places to store metadata is an easy concept. Sometimes metadata is in the corpus, and sometimes, it’s in one or more of the documents. In practice, placing metadata in one or the other isn’t obvious, and it’s not clear which should be used and for what purpose. Let’s explore the structure of a VCorpus to get a better picture of how metadata is stored.

To explore the metadata in a VCorpus, we first need to create a VCorpus with metadata. In each of the following examples, this process will be hidden within the code. Let’s understand what is happening.

Get hands-on with 1200+ tech skills courses.