Python Articles, Tutorials & News

How to Tokenize Japanese in Python

Over the past several years there’s been a welcome trend in NLP projects to be broadly multi-lingual. However, even when many languages are supported, there’s a few that tend to be left out. One of these is Japanese. Japanese is written without spaces, an…

Read more »

Sort Binary Tree by Levels Using Python

The challenge You are given a binary tree: Your task is to return the list with elements from tree sorted by levels, which means the root element goes first, then root children (from left to right) are second and third, and so on. Return empty list if roo…

Read more »