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:
- MEDLINE: 2017 - TI and AB (from MEDLINE Baseline Repository - MBR, PmidTiAbS17nXXXX.txt: 1 ~ 892)
- Method: Split, Combine, Filter Algorithm
- Max. Character Size: 50
- Min. word count: 30
- Min. document count: 1
- Total document count: 26,759,399
- Total sentence count: 163,021,640
- Total token count: 3,386,661,350
- N-gram files
- File format - 3 fields:
Document count Word count N-gram - Sorted by document count, word count, then alphabetic order of n-grams. N-gram set is not sorted. It can be sorted by nGramUtil package.
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 - File format - 3 fields: