The MEDLINE N-gram Set 2022: by Split, Group, Filter, and Combine Algorithm
The MEDLINE n-gram set (generated by split, group, filter, and combine algorithm) is listed as bellows. For each MEDLINE record, title and abstract are used as the source of n-grams. They are combined, tokenized into sentences, and then tokenized into tokens (words use space as word boundary). Finally, n-grams are generated by filtering out terms with more than 50 characters or the total word count is less than 30. The specifications of generating these n-grams are listed as follows:
Document count | Word count | N-gram |
N-grams | File | Zip Size | Actual Size | No. of n-grams |
---|---|---|---|---|
Unigrams | 1-gram.2022.tgz | 8.4 MB | 21 MB | 1,248,727 |
Bigrams | 2-gram.2022.tgz | 55 MB | 161 MB | 7,519,422 |
Trigrams | 3-gram.2022.tgz | 86 MB | 284 MB | 11,046,633 |
Four-grams | 4-gram.2022.tgz | 62 MB | 217 MB | 7,142,084 |
Five-grams | 5-gram.2022.tgz | 31 MB | 111 MB | 3,133,905 |
N-gram Set | nGramSet.2022.30.tgz | 241 MB | 792 MB | 30,090,771 |
Distilled N-gram Set | distilledNGram.2022.tgz | 97 MB | 315 MB | 11,949,720 |