期刊文献+
共找到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 CSCD 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
原文传递
学思兼顾,知行合——高中语文学习经验分享
2
作者 吴宣颐 欧云兰(推荐/指导) 《教学考试》 2023年第51期76-77,共2页
“得语文者得天下。”高考成绩的放榜,证实这是大实话。特别是在高考分数排名的时候,看到和自已同分数的考生位次是按照语文成绩由高至低排列下来,而自己名列前茅的时候,就能更直观地感受到这句话的道理所在了。
关键词 高考分数 语文成绩 高考成绩 经验分享 高中语文学习 考生
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部