Signed-off-by: pnxf6w84l <1378224436@qq.com>
main
pnxf6w84l 5 months ago
parent 1722592fe4
commit e3e292ec54

@ -0,0 +1,12 @@
from utils.nlp_utils import CallsignExtractor
# 测试样例
extractor = CallsignExtractor()
sample_texts = [
"Jade23 requesting descent to FL180",
"Tower, Snowbird inbound with info Q",
"Speedbird 123 cleared direct to WP"
]
for text in sample_texts:
print(f"文本: {text} → 呼号: {extractor.extract(text)}")

@ -1,3 +1,4 @@
import pandas as pd
from sqlalchemy import create_engine, text

Loading…
Cancel
Save