Utilizing a machine translation-based sentence-alignment tool

Shopping carts lined up
Photo by michal dziekonski on Unsplash
One morning, as Gregor Samsa was waking up…

Bitext mining using Language-agnostic BERT sentence embedding model

Photo by Jonny Caspari on Unsplash

Requests with Threads vs. aiohttp with Semaphore

Photo by Matt Duncan on Unsplash
  • via requests package with Threads (a native thread for each request)
  • via aiohttp client with Semaphore (to limit and pool the number of tasks)

Two useful packages for evaluating MT models performance

Photo by Hannah Wright on Unsplash
  • sacreBLEU
  • BERTScore

Photo by Saw Wunna on Unsplash

Achieve your debugging goals without wasting too much time on it

Photo by Lewis Kang’ethe Ngugi on Unsplash


Utilizing “pyvi” package for tokenization, pos tagging and accent marks modifications

Photo by Markus Winkler on Unsplash

Image by the author

Build custom reusable sort function in plain JavaScript

Stacked shelves
Photo by Jan Antonin Kolar on Unsplash

Learn to find and set git directories and working trees

Flow of git commit
Image by the author
  • run git add to stage your changes
  • run git commit to add staged changes…

Ng Wai Foong

Senior AI Engineer@Yoozoo | Content Writer #NLP #datascience #programming #machinelearning | Linkedin: https://www.linkedin.com/in/wai-foong-ng-694619185/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store