XL2248 / SOV-MAS

The code and data for "Summary-Oriented Vision Modeling for Multimodal Abstractive Summarization"
8 stars 0 forks source link

安装包 #3

Open JINGJINGANDQIQI opened 1 year ago

JINGJINGANDQIQI commented 1 year ago

from sentence_splitter import add_newline_to_end_of_each_sentence这边一直报错ImportError: cannot import name 'add_newline_to_end_of_each_sentence' from 'sentence_spliter' 请问sentence_splitter版本是什么,我试了1.1.,1.2,1.3,1.4都是报这个错?能给解释下原因吗

XL2248 commented 1 year ago

抱歉,少上传了这个文件:https://github.com/XL2248/SOV-MAS/blob/main/sentence_splitter.py