Skip to content

flaiR R Package 0.0.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@davidycliao davidycliao released this 30 Dec 07:05
· 59 commits to 0.0.7 since this release

flaiR 0.0.7 Release Notes

This release brings significant enhancements to streamline natural language processing workflows in R, introducing Docker support and unified function interfaces.

Major Changes

New Features

  • Added comprehensive tutorial section for Flair NLP embedding extraction and regression analysis
  • Introduced Docker support with RStudio Server integration
  • Enhanced documentation with detailed usage examples and best practices

Function Optimizations

  • Unified POS tagging with streamlined interface: combined get_pos() and get_pos_batch()
  • Consolidated NER functionality into single get_entities() function
  • Improved code performance and reliability

Code Cleanup

  • Removed legacy sentiment analysis functions
  • Simplified API for better usability
  • Enhanced error handling and feedback

Docker Installation & Usage

Intel/AMD Processors:

# Pull and run
docker pull ghcr.io/davidycliao/flair:latest
docker run -p 8787:8787 ghcr.io/davidycliao/flair-rstudio:latest

Apple Silicon (M1/M2 Mac):

# Pull and run with platform specification
docker pull --platform linux/amd64 ghcr.io/davidycliao/flair:latest
docker run --platform linux/amd64 -p 8787:8787 ghcr.io/davidycliao/flair:latest

Access RStudio Server:

Notes

Release Date: 2024-12-30
Version: 0.0.7
Docker support: Uses Rosetta 2 for M1/M2 Mac compatibility