0
点赞
收藏
分享

微信扫一扫

nL2Type(为function推断类型)windows---复现记录

纽二 2022-04-29 阅读 33

论文中提到的工具是python2.7版本的,配了好久的环境还是配不好,依赖包的版本冲突太折磨人了,放弃了。。。

找到另一个python3.6版本的基于此工具上的实现

https://github.com/rs-malik/nl2type

1. 安装nodejs和jsdoc
安装requirements.txt, 
tensorflow==1.15.5
nltk==3.6.7
gensim==4.1.2
keras==2.6.0
numpy==1.18.5
pandas==1.1.5
h5py==2.10.0
matplotlib==3.3.4
plotly==5.7.0
gitpython==3.1.20
google-api-python-client==2.46.0
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
progressbar==2.5
fish==1.1
nodeenv==1.6.0
nltk==3.6.7
virtualenv==20.14.1
pytest==7.0.1
loguru==0.6.0

2.执行命令(输入文件路径和输出文件路径为字符串)

python3 nl2type.py input_file_path output_file_path

修改nl2type.py中的导入语句

 

 测试文件

输出结果

result结果文件

 

 

 

举报

相关推荐

windows C#-创建记录类型(上)

java学习记录2-数据类型

0 条评论