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)}")
|
Loading…
Reference in new issue