Category: Python

  • Using spaCy for Natural Language Processing

    What is spaCy? spaCy is an open-source natural language processing (NLP) library initially produced by the company explosion.ai. It has a large community following that has expanded its initial NLP capabilities across multiple languages (now 72+), expanded its capabilities for additional use-cases (such as clinical NLP with medspaCy), and integrates with other ML/DL frameworks (such…

  • pytest for Test-Driven Development

    pytest for Test-Driven Development

    Test-driven development is a common software development approach that facilitates test automation, code refactoring, and to validate code functionality. This article goes over pytest, a popular testing framework to write tests in Python. This GitHub repo contains the code snippets presented in this article. Motivation for using pytest unittest and the Arrange-Act-Assert model The Arrange-Act-Assert…