mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-215137 Move resources to pluginResources folder
GitOrigin-RevId: d5be87ddae4b253e1c7a2435fe8ceb0d3b8db391
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dcff156b3e
commit
17584697af
@@ -11,10 +11,10 @@ object PyMlCompletionHelpers {
|
||||
private val LOG = Logger.getInstance("#com.jetbrains.python.codeInsight.completion.mlcompletion")
|
||||
|
||||
// imports and builtins popularity was calculated on github by number of search results for each present builtins or import
|
||||
val importPopularity = initMapFromJsonResource("importPopularityWeights.json")
|
||||
val builtinsPopularity = initMapFromJsonResource("builtinsPopularityWeights.json")
|
||||
val importPopularity = initMapFromJsonResource("/mlcompletion/importPopularityWeights.json")
|
||||
val builtinsPopularity = initMapFromJsonResource("/mlcompletion/builtinsPopularityWeights.json")
|
||||
|
||||
private val keyword2id = initMapFromJsonResource("keywordsNumeration.json")
|
||||
private val keyword2id = initMapFromJsonResource("/mlcompletion/keywordsNumeration.json")
|
||||
|
||||
fun getKeywordId(kw: String): Int? = keyword2id[kw]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user