Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于文件路径问题 #3

Open
SuPiaoPiao opened this issue Feb 24, 2020 · 0 comments
Open

关于文件路径问题 #3

SuPiaoPiao opened this issue Feb 24, 2020 · 0 comments

Comments

@SuPiaoPiao
Copy link

例如:public String NLPIR_FileWordFreqStat(String sFilename);里的参数代表文本文件的全路径,
当我换成类似服务端的文件地址就不好使了。
服务端地址类似:http://IP:PORT/group1/M00/00/00/CgoKMl5T486AFPNOAAAAG8YlN80098.txt

我想做文本类的词性导入,正常流程是想通过功能上传文件,获取到文件在服务器的路径,然后根据文件路径进行内容导入(文件上传是个单独的文件服务器,所以不存在把文件存到当前工程的服务器下获取绝对路径的情况)。

请问小哥,有更好的方法么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant