– William Zinsser, Writing to Learn
Korean text tokenization using PyKoTokenizer - A model-based approach
PyKoTokenizer is a deep learning (RNN) model-based word tokenizer for Korean language. We can use it to tokenize Korean text. Segmentation of Korean Words Written Korean texts do employ white...
Building your own Python package and hosting it in PyPi
Follow the below steps and run suitable commands. Make sure you have upgraded version of pip Windows python -m pip install --upgrade pip Linux/MAC OS python3 -m pip install --upgrade...
Docker Commands in Practice
General Usage Start a container in background docker run -d IMAGE_NAME Start an interactive container docker run -it IMAGE_NAME bash View the contents of an image/container docker run --rm -it...
Fuzzy word replace from string in Python
Have you ever faced problems like the following? You are given a string, for example "Apple MacBook Pro appl". Now you have to remove the word "Apple" from the string....
Extracting Audio from Video using Python
We’ll start by installing ffmpeg and moviepy packages using the following pip command. pip install ffmpeg moviepy Next, we’ll import MoviePy: import moviepy.editor as mp Next, we’ll load the Video...