Skip to content

Releases: ropensci/googleLanguageR

Recursive translation batching, MP3 support, CRAN docs update, and improved testing

03 Nov 09:03

Choose a tag to compare

New Features & Improvements

  • gl_translate(): Added recursive batching for large vectors
    Preserves input order, reduces API calls, and improves efficiency

  • gl_speech(): Added MP3 encoding support for output audio

  • New test file: test_translate_batching.R

    • Batch splitting unit test
    • Medium vector efficiency test
    • Order preservation test
  • Reference files added: IMPROVED_TRANSLATION_TESTS.txt, TEST_COVERAGE_SUMMARY.md

  • Documentation & vignettes:

    • Fixed all CRAN URL issues
    • Various clarifications and consistency improvements

New features for NLP, speech-to-Text and text-to-speech

19 Apr 13:39

Choose a tag to compare

  • Improved error handling for vectorised gl_nlp() (#55)
  • gl_nlp()'s classifyText returns list of data.frames, not data.frame
  • Fix gl_nlp when nlp_type='classifyText'
  • customConfig available for gl_speech
  • Add support for SSML for gl_talk() (#66)
  • Add support for device profiles for gl_talk() (#67)
  • Add support for tuneR wave objects in gl_speech() - (#62 thanks @muschellij2)
  • Add check for file size for audio source - (#62 thanks @muschellij2)

Add text-to-speech and NLP categories

21 Jun 14:01

Choose a tag to compare

  • Added an example Shiny app that calls the Speech API
  • Fixed bug where cbind of any missing API content raised an error (#28)
  • Add Google text to speech via gl_talk() (#39)
  • Add classify text endpoint for gl_nlp() (#20)

Asynch speech bug

16 Nov 20:42

Choose a tag to compare

0.1.1

Changes

  • Fix bug where gl_speech() only returned first few seconds of translation when asynch (#23)
  • CRAN version carries stable API, GitHub version for beta features

rOpenSci initial release

22 Sep 09:11

Choose a tag to compare

  • Natural language API via gl_nlp
  • Speech annotation via gl_speech_recognise
  • Translation detection and performance via gl_translate_detect and gl_translate
  • Vectorised support for inputs
  • Translating HTML support
  • Tibble outputs