From 9e106bfa89677bc43734dad07bdcd48f8358676c Mon Sep 17 00:00:00 2001 From: Tom Edwards <edwardstj1@cardiff.ac.uk> Date: Tue, 11 Jun 2024 22:26:38 +0100 Subject: [PATCH] styling tweak --- func/ner/ner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/func/ner/ner.py b/func/ner/ner.py index 57ec199..7777b73 100644 --- a/func/ner/ner.py +++ b/func/ner/ner.py @@ -2,6 +2,7 @@ import torch from ckip_transformers.nlp import CkipWordSegmenter, CkipPosTagger, CkipNerChunker from transformers import pipeline + # Perform NER on Text def run_ner_on_text(page): ner_driver = CkipNerChunker(model="bert-base") -- GitLab