Skip to main content

ayeung.dev

Tag: Crf

🔍 Performing Sequence Labelling using CRF in Python

In natural language processing, it is a common task to extract words or phrases of particular types from a given sentence or paragraph. For example, when performing analysis of a corpus of news articles, we may want to know which countries are mentioned in the articles, and how many articles are related to each of these countries.