Easy web publishing from R
Write
R Markdown
documents in RStudio.
Share them here on RPubs.
(It’s free, and couldn’t be simpler!)
Get Started
Recently Published
Guyana GDP Growth
Interactive Plotly presentation of Guyana's GDP trends (2015–2023)
Transcriptomic Insights into Membrane Transport Dysfunction in Spinocerebellar Ataxia Type 3 - Annexes and References
Annex I and References for poster presentation on the 5th GenomePT symposium, taking place in Lisbon on July 1st.
GraCru Summer Lyrics Page: Summer 2026
Here are the lyrics of songs selected for worship during our GradCru Bible Study in Summer 2026
Next Word Prediction Web Application Using N-Gram Language Model
This project presents an interactive web application that predicts the next word based on a user-entered phrase using a statistical Natural Language Processing (NLP) approach. The model is built using an n-gram language model, where word sequences are analyzed to learn patterns of word co-occurrence from a training text dataset.
The application processes user input in real time by cleaning and tokenizing the text, then applying a backoff strategy using unigram, bigram, and trigram frequency tables to generate the most likely next word. If a higher-order match is not found, the model falls back to lower-order n-grams to ensure a prediction is always produced.
The app is implemented in R using the Shiny framework, providing a simple and interactive interface where users can type a phrase and instantly receive a predicted next word. This project demonstrates the basic principles behind modern autocomplete systems used in messaging apps, search engines, and predictive keyboards.
Fragmentacion y conectividad CHCP
Análisis espacial de fragmentación y conectividad ecológica para la priorización de restauración del paisaje