code: function Corpus(data, typeOfCorpus) {
                this.wordCount = 0;
                this.sentences = [];
                if (data && typeOfCorpus) {
                  // For other types of corpora add a case here and supply a parsing method
                  switch (typeOfCorpus) {
                    case BROWN:
                      this.parseBrownCorpus(data);
                      break;
                    default:
                      // Assume it is an array of tagged sentences
                      this.sentences = data;
                  }
                }
              }
docs: sentences: an array of annotated sentences A sentence is an array of annotated tokens A token is an object with (token, tag, testTag, ruleList)