#python
Read more stories on Hashnode
Articles with this tag
How jieba works, part 3 本篇將用 Part 2 介紹的隱藏式馬可夫模型與 Viterbi 演算法將剩下的字 (大、學、與、老、師、討、論、力、學)...
How jieba works, part 2 這篇將解釋何謂馬可夫模型 Markov model、隱藏式馬可夫模型 Hidden Markov model (HMM)、與 Viterbi 演算法。 馬可夫模型 Markov...
How jieba works, part 1 有做過中文自然語言處理 (natural language processing, NLP)...
When building REST APIs in Python, nothing beats FastAPI. It lets you define routes, and their inputs and outputs quickly and easily. Best of all, it...
In Python, you can make use of the Path class from pathlib module: from pathlib import Path p = Path("/home/eric") for item in p.iterdir(): ...