The MEDLINE N-gram Set 2017: 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 |
Download:
N-grams | File | Zip Size | Actual Size | No. of n-grams |
---|---|---|---|---|
Unigrams | 1-gram.2017.tgz | 6.5 MB | 16 MB | 976,872 |
Bigrams | 2-gram.2017.tgz | 41 MB | 122 MB | 5,722,210 |
Trigrams | 3-gram.2017.tgz | 63 MB | 207 MB | 8,096,532 |
Four-grams | 4-gram.2017.tgz | 44 MB | 152 MB | 5,044,153 |
Five-grams | 5-gram.2017.tgz | 21 MB | 75 MB | 2,123,270 |
N-gram Set | nGramSet.2017.30.tgz | 174 MB | 570 MB | 21,963,037 |
Distilled N-gram Set | distilledNGram.2017.tgz | 68 MB | 220 MB | 8,461,972 |