Y*********I 发帖数: 54 | 1 各位先贤,
我试着 split file into sentences but got a error message Can't locate Text/
Sentence.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at test1
.pl line 10. BEGIN failed--compilation aborted at test1.pl line 10.
The line 10 is use Text::Sentence qw(split_sentences);
I installed all text related packages.
多谢! |
t****t 发帖数: 6806 | 2 and where did you install Sentence.pm? The error message is pretty clear,
there is no:
C:/Perl/site/lib/Text/Sentence.pm
C:/Perl/lib/Text/Sentence.pm
./Text/Sentence.pm
If you installed in other directories, add them to @INC.
test1
【在 Y*********I 的大作中提到】 : 各位先贤, : 我试着 split file into sentences but got a error message Can't locate Text/ : Sentence.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at test1 : .pl line 10. BEGIN failed--compilation aborted at test1.pl line 10. : The line 10 is use Text::Sentence qw(split_sentences); : I installed all text related packages. : 多谢!
|
Y*********I 发帖数: 54 | 3 Thank you for your reply.
I could not find Sentence.pm.
Where can I find Sentence.pm? and how to install?
There is no package named Sentence.pm.
Thank you for your help. |
t****t 发帖数: 6806 | 4 google is your friend.
【在 Y*********I 的大作中提到】 : Thank you for your reply. : I could not find Sentence.pm. : Where can I find Sentence.pm? and how to install? : There is no package named Sentence.pm. : Thank you for your help.
|