The MEDLINE N-gram Set 2023: 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.2023.tgz | 8.8 MB | 22 MB | 1,311,936 |
Bigrams | 2-gram.2023.tgz | 58 MB | 170 MB | 7,943,407 |
Trigrams | 3-gram.2023.tgz | 92 MB | 303 MB | 11,773,385 |
Four-grams | 4-gram.2023.tgz | 67 MB | 234 MB | 7,677,188 |
Five-grams | 5-gram.2023.tgz | 34 MB | 121 MB | 3,401,145 |
N-gram Set | nGramSet.2023.30.tgz | 258 MB | 848 MB | 32,107,061 |
Distilled N-gram Set | distilledNGram.2023.tgz | 104 MB | 338 MB | 12,779,900 |