Skip to content

BTM

Biterm Topic Models for Short Text

v0.3.8 · Nov 26, 2025 · Apache License 2.0

Description

Biterm Topic Models find topics in collections of short texts. It is a word co-occurrence based topic model that learns topics by modeling word-word co-occurrences patterns which are called biterms. This in contrast to traditional topic models like Latent Dirichlet Allocation and Probabilistic Latent Semantic Analysis which are word-document co-occurrence topic models. A biterm consists of two words co-occurring in the same short text window. This context window can for example be a twitter message, a short answer on a survey, a sentence of a text or a document identifier. The techniques are explained in detail in the paper 'A Biterm Topic Model For Short Text' by Xiaohui Yan, Jiafeng Guo, Yanyan Lan, Xueqi Cheng (2013) <https://github.com/xiaohuiyan/xiaohuiyan.github.io/blob/master/paper/BTM-WWW13.pdf>.

Downloads

CRAN

401

Last 30 days

10055th

1.2K

Last 90 days

7.7K

Last year

Trend: 0% (30d vs prior 30d)

r2u CRAN

50

Last 30 days

133

Last 90 days

517

Last year

Trend: 0% (30d vs prior 30d)

autoCRAN

12

Last 7 days

49

Last 30 days

5

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/BTM.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 8, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 7, 2026
ERROR r-devel-linux-x86_64-fedora-gcc
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (2)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp oolong textplot BTM

Version History

11 tracked
new 0.3.8 Mar 10, 2026
updated 0.3.8 ← 0.3.7 diff Nov 25, 2025
updated 0.3.7 ← 0.3.6 diff Feb 10, 2023
updated 0.3.6 ← 0.3.5 diff Jul 1, 2021
updated 0.3.5 ← 0.3.4 diff Feb 17, 2021
updated 0.3.4 ← 0.3.3 diff Oct 11, 2020
updated 0.3.3 ← 0.3.1 diff Oct 9, 2020
updated 0.3.1 ← 0.3 diff May 1, 2020
updated 0.3 ← 0.2.1 diff Mar 14, 2020
updated 0.2.1 ← 0.2 diff May 30, 2019
new 0.2 Dec 27, 2018