期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
Ask Me Any Type:Type Inference Plugin for Partial Code on the Web and in the Integrated Development Environment
1
作者 CHENG Yu HUANG Guanming +3 位作者 WU Yishun ZHAO Zijie HE Zhenhao LU Jiaxing 《Wuhan University Journal of Natural Sciences》 CAS 2024年第4期349-356,共8页
Inferring the fully qualified names(FQNs)of undeclared receiving objects and non-fully-qualified type names(non-FQNs)in partial code is critical for effectively searching,understanding,and reusing partial code.Existin... Inferring the fully qualified names(FQNs)of undeclared receiving objects and non-fully-qualified type names(non-FQNs)in partial code is critical for effectively searching,understanding,and reusing partial code.Existing type inference tools,such as COSTER and SNR,rely on a symbolic knowledge base and adopt a dictionary-lookup strategy to map simple names of undeclared receiving objects and non-FQNs to FQNs.However,building a symbolic knowledge base requires parsing compilable code files,which limits the collection of APIs and code contexts,resulting in out-of-vocabulary(OOV)failures.To overcome the limitations of a symbolic knowledge base for FQN inference,we implemented Ask Me Any Type(AMAT),a type of inference plugin embedded in web browsers and integrated development environment(IDE).Unlike the dictionary-lookup strategy,AMAT uses a cloze-style fill-in-the-blank strategy for type inference.By treating code as text,AMAT leverages a fine-tuned large language model(LLM)as a neural knowledge base,thereby preventing the need for code compilation.Experimental results show that AMAT outperforms state-of-the-art tools such as COSTER and SNR.In practice,developers can directly reuse partial code by inferring the FQNs of unresolved type names in real time. 展开更多
关键词 type inference large language model prompt learning web and integrated development environment(ide)plugin
原文传递
基于插件的集成建模环境原型开发研究 被引量:7
2
作者 冯克庭 南卓铜 +1 位作者 赵彦博 舒乐乐 《遥感技术与应用》 CSCD 2008年第5期587-591,共5页
集成建模环境主要用于模型集成的快速实现,提高建模的真实性和模型预测分析能力,其归根到底是模型的拆与装的问题,即如何将现有模型模块化,然后将合适的模块在建模环境的支持下重新组装到一起。讨论了基于插件的集成建模环境原型开发方... 集成建模环境主要用于模型集成的快速实现,提高建模的真实性和模型预测分析能力,其归根到底是模型的拆与装的问题,即如何将现有模型模块化,然后将合适的模块在建模环境的支持下重新组装到一起。讨论了基于插件的集成建模环境原型开发方法,建立了一个可视化的集成建模环境,通过图形化操作,该环境能实现简单的水文水资源模型合成和连接,生成新的模型。 展开更多
关键词 集成建模环境 插件 新安江模型 Qt/C++
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部