Regex ile string icerisindeki uzun metni parcalara bolmek
Kelimlere Gore Bolmek
const chunks = transcribedText.match(/(\b.{1,1000}\b)/g) || []
Cumlelere Gore Bolmek
const chunks = transcribedText.match(/(.{1,1000}[.!?])/g) || []
Karakterler Gore Bolmek
const chunks = transcribedText.match(/.{1,1000}/g) || []
Previousfastify ile google cloud gibi VM’lere http uzerinden baglanmada sorun yasiyorsak 0.0.0.0’i host name olarak atamaliyizNextpm2 code: 'ERR_REQUIRE_ESM' trouble
Last updated
Was this helpful?