open-neuroscience / open-neuroscience.github.io

new implementation of Open Neuroscience website
https://open-neuroscience.com/
MIT License
17 stars 5 forks source link

Finish and test `autotweet.R` #40

Open matiasandina opened 2 years ago

matiasandina commented 2 years ago

Instead of tokenizing, just count characters up to 270 and find the previous punctuation mark ("!","?", ",", ".", "*"). then add "..." after that and start the next tweet.

  I think I remembered why I was using sentences in the first place
  Not trivial to count and "find previous punctuation mark" and have it make sense to a human while reading
  At the end of the day it's easier to first separate by sentences and them glue them back together.
matiasandina commented 2 years ago

Updated the version of autotweet.R. It's almost there generating the threads, happy to explain.

One comment about this...we would need a way for linking each project to the link of their presentation on our seminar series. This needs to be entered manually, preferentially on the spreadsheet generated by the form