Skip to content

Instantly share code, notes, and snippets.

@failable
Created June 21, 2020 13:32
Show Gist options
  • Save failable/bc3453c4896459c5e4a8b131096732b7 to your computer and use it in GitHub Desktop.
Save failable/bc3453c4896459c5e4a8b131096732b7 to your computer and use it in GitHub Desktop.
*lsp-log: mspyls:15368*
```
[Trace - 09:28:29 PM] Sending request 'initialize - (30)'.
Params: {
"processId": null,
"rootPath": "/Users/user/git/tp/projects/knowledge_graph",
"clientInfo": {
"name": "emacs",
"version": "GNU Emacs 27.0.91 (build 1, x86_64-apple-darwin19.5.0, Carbon Version 162 AppKit 1894.5)\n of 2020-06-14"
},
"rootUri": "file:///Users/user/git/tp/projects/knowledge_graph",
"capabilities": {
"workspace": {
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
]
},
"applyEdit": true,
"symbol": {
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"executeCommand": {
"dynamicRegistration": false
},
"workspaceFolders": true,
"configuration": true
},
"textDocument": {
"declaration": {
"linkSupport": true
},
"definition": {
"linkSupport": true
},
"implementation": {
"linkSupport": true
},
"typeDefinition": {
"linkSupport": true
},
"synchronization": {
"willSave": true,
"didSave": true,
"willSaveWaitUntil": true
},
"documentSymbol": {
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"completion": {
"completionItem": {
"snippetSupport": false,
"documentationFormat": [
"markdown"
]
},
"contextSupport": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
]
},
"foldingRange": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": false
},
"publishDiagnostics": {
"relatedInformation": true,
"tagSupport": {
"valueSet": [
1,
2
]
},
"versionSupport": true
}
},
"window": {
"workDoneProgress": true
}
},
"initializationOptions": {
"interpreter": {
"properties": {
"InterpreterPath": "/Users/user/.pyenv/versions/env-mkwPXnF--py3.7/bin/python",
"UseDefaultDatabase": true,
"Version": "3.7"
}
},
"displayOptions": {
"preferredFormat": "markdown",
"trimDocumentationLines": false,
"maxDocumentationLineLength": 0,
"trimDocumentationText": false,
"maxDocumentationTextLength": 0
},
"searchPaths": [
"/Users/user/git/tp/projects/knowledge_graph",
"/Users/user/git/tp/projects/knowledge_graph/scripts/similarity",
"/Users/user/git/tp/projects/knowledge_graph/scripts",
"/Users/user/git/tp/projects/knowledge_graph/scripts/dialogue",
"/Users/user/git/tp/projects/knowledge_graph/scripts/qa_pair",
"/Users/user/git/tp/projects/knowledge_graph/scripts/questions",
"/Users/user/.pyenv/versions/3.7.5/lib/python37.zip",
"/Users/user/.pyenv/versions/3.7.5/lib/python3.7",
"/Users/user/.pyenv/versions/3.7.5/lib/python3.7/lib-dynload",
"/Users/user/.pyenv/versions/env-mkwPXnF--py3.7/lib/python3.7/site-packages",
"/Users/user/.pyenv/versions/env-mkwPXnF--py3.7/src/pyahocorasick",
"/Users/user/git/tp/ie",
"/Users/user/git/tp/projects/knowledge_graph/qa",
"/Users/user/.pyenv/versions/env-mkwPXnF--py3.7/src/pytorch-ignite"
],
"analysisUpdates": true,
"asyncStartup": true,
"logLevel": "Error",
"typeStubSearchPaths": [
"/Users/user/.emacs.d/savefile/var/lsp-python-ms/Typeshed"
]
},
"workDoneToken": "1"
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "Analysis cache path: /Users/user/Library/Caches/Microsoft/Python Language Server",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "Microsoft Python Language Server version 0.5.50.0",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "Workspace root: /Users/user/git/tp/projects/knowledge_graph",
"type": 3
}
[Trace - 09:28:29 PM] Received response 'initialize - (30)' in 466ms.
Result: {
"capabilities": {
"declarationProvider": true,
"renameProvider": true,
"documentOnTypeFormattingProvider": {
"moreTriggerCharacter": [
";",
":"
],
"firstTriggerCharacter": "\n"
},
"documentRangeFormattingProvider": null,
"documentFormattingProvider": null,
"codeActionProvider": {
"codeActionKinds": [
"quickfix",
"refactor"
]
},
"workspaceSymbolProvider": true,
"documentSymbolProvider": true,
"documentHighlightProvider": true,
"referencesProvider": true,
"definitionProvider": true,
"signatureHelpProvider": {
"triggerCharacters": [
"(",
",",
")"
]
},
"completionProvider": {
"triggerCharacters": [
"."
],
"resolveProvider": null
},
"hoverProvider": true,
"textDocumentSync": {
"willSaveWaitUntil": null,
"willSave": null,
"change": 2,
"openClose": true
}
}
}
[Trace - 09:28:29 PM] Sending notification 'initialized'.
Params: {
}
[Trace - 09:28:29 PM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"python": {
"analysis": {
"autoSearchPaths": true,
"disabled": [],
"information": [],
"warnings": [
"unresolved-import",
"parameter-already-specified",
"too-many-positional-arguments-before-star"
],
"errors": [
"unknown-parameter-name",
"undefined-variable",
"parameter-missing",
"positional-argument-after-keyword",
"too-many-function-arguments"
],
"cachingLevel": "None"
}
}
}
}
[Trace - 09:28:29 PM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py",
"languageId": "python",
"version": 0,
"text": "# -*- coding: utf-8 -*-\n# pylint: disable=not-callable,unused-argument,unused-variable\n\nimport argparse\nimport copy\nimport datetime\nimport logging\nimport os\nimport pickle\nimport pprint\n\nimport torch\nimport torch.nn as nn\nfrom transformers import BertModel, BertTokenizer\n\nfrom dataset import CSVDatasets, augment_data, build_vocab, inspect_data\nfrom ie.logger import setup_logger\nfrom ie.utils import normalize_path, random_state, set_seed\nfrom ie.utils.params import Params\nfrom ie.utils.pytorch import (\n configure_optimizers,\n create_supervised_classification_evaluator,\n create_supervised_classification_trainer,\n cross_validate,\n device,\n setup_train_handlers,\n)\nfrom ie.zoo.similarity import ESIM, BertSimilarity, SiameseLSTM\n\nlogger = logging.getLogger(__name__)\n\n\nPRETRAINED_MODELS = {\n \"bert\": (BertModel, BertTokenizer),\n \"roberta\": (BertModel, BertTokenizer),\n}\n\n\ndef is_pretrained_model(model):\n return model in PRETRAINED_MODELS\n\n\ndef build_model(params, char_vocab=None, checkpoint=None):\n if params[\"model\"] == \"esim\":\n net = ESIM(\n params[\"embedded_size\"],\n params[\"hidden_size\"],\n dropout=params[\"dropout\"],\n vocab_size=len(char_vocab),\n )\n elif is_pretrained_model(params[\"model\"]):\n model = PRETRAINED_MODELS[params[\"model\"]][0].from_pretrained(\n params[\"pretrained_model\"], num_labels=2, output_hidden_states=True\n )\n net = BertSimilarity(\n model, pooling=params[\"pooling\"], dropout=params[\"dropout\"]\n )\n elif params[\"model\"] == \"siamese_lstm\":\n net = SiameseLSTM(\n params[\"embedded_size\"],\n params[\"hidden_size\"],\n dropout=params[\"dropout\"],\n vocab_size=len(char_vocab),\n )\n else:\n raise ValueError(\"Unknow model type: {}\".format(params[\"model\"]))\n\n if checkpoint:\n net.load_state_dict(torch.load(checkpoint, map_location=params[\"device\"]))\n\n return net.to(params[\"device\"])\n\n\ndef format_params(params):\n params = copy.deepcopy(params)\n # Format params.\n for path in [\"data_dir\", \"save_path\", \"char_embedding\", \"pretrained_model\"]:\n if params.get(path):\n params[path] = normalize_path(params[path])\n\n params[\"save_path\"] = os.path.join(\n params[\"save_path\"],\n params.setdefault(\"name\", datetime.datetime.now().isoformat()),\n )\n os.makedirs(params[\"save_path\"], exist_ok=True)\n\n params[\"log_dir\"] = os.path.join(params[\"save_path\"], \"log_dir\")\n params[\"log_file\"] = os.path.join(params[\"save_path\"], \"output.log\")\n params[\"device\"] = device(params[\"device\"])\n params[\"seed\"] = random_state(params[\"seed\"])\n\n return params\n\n\ndef run_experiment(params, train_data, val_data=None, test_data=None, fold=None):\n original_params = params\n params = original_params.copy()\n\n if fold is not None:\n params[\"name\"] += \"/fold_{}\".format(fold)\n params = format_params(params)\n\n setup_logger(\n filename=params[\"log_file\"],\n level=logging.DEBUG if params[\"debug\"] else logging.INFO,\n )\n\n # Log params.\n logger.info(\"Params: %s\", pprint.pformat(params))\n params.save(os.path.join(params[\"save_path\"], \"params.json\"))\n original_params.save(os.path.join(params[\"save_path\"], \"original_params.json\"))\n\n # Set random state.\n set_seed(params[\"seed\"], debug=params[\"debug\"])\n\n # Read and inspect data.\n dataset = CSVDatasets(train_data, val_data, test_data)\n inspect_data(dataset.train.data, dataset.val.data, dataset.test.data)\n\n if params[\"augmentation\"]:\n dataset.train.data = augment_data(dataset.train.data)\n\n # Build vocab.\n if is_pretrained_model(params[\"model\"]):\n char_vocab = None\n tokenizer_class = PRETRAINED_MODELS[params[\"model\"]][1]\n tokenizer = tokenizer_class.from_pretrained(params[\"pretrained_model\"])\n else:\n char_vocab = build_vocab(dataset.train.data, params[\"min_char_freq\"])\n with open(os.path.join(params[\"save_path\"], \"char_vocab.bin\"), mode=\"wb\") as f:\n pickle.dump(char_vocab, f)\n tokenizer = None\n\n # Build data loaders.\n (train_loader, val_loader, test_loader) = dataset.get_dataloaders(\n char_vocab=char_vocab,\n tokenizer=tokenizer,\n swap_prob=params[\"swap_prob\"],\n batch_size=params[\"batch_size\"],\n num_workers=params[\"num_workers\"],\n pin_memory=params[\"pin_memory\"],\n )\n\n # Build model.\n net = build_model(params, char_vocab)\n optimizer, lr_scheduler = configure_optimizers(\n net, params[\"optimizer\"], params[\"lr_scheduler\"]\n )\n\n # Build trainer and evaluator.\n trainer = create_supervised_classification_trainer(\n net,\n optimizer,\n nn.BCEWithLogitsLoss(),\n num_classes=params[\"num_classes\"],\n clip_grad_norm=params[\"clip_grad_norm\"],\n device=params[\"device\"],\n non_blocking=params[\"non_blocking\"],\n log_file=params[\"log_file\"],\n )\n train_evaluator, val_evaluator, test_evaluator = [\n create_supervised_classification_evaluator(\n net,\n params[\"num_classes\"],\n device=params[\"device\"],\n non_blocking=params[\"non_blocking\"],\n log_file=params[\"log_file\"],\n name=name,\n )\n for name in [\"train_evaluator\", \"val_evaluator\", \"test_evaluator\"]\n ]\n\n setup_train_handlers(\n trainer,\n train_evaluator,\n val_evaluator,\n train_loader,\n val_loader,\n net,\n optimizer,\n params[\"eval_metric\"],\n params[\"save_path\"],\n params[\"log_dir\"],\n lr_scheduler=lr_scheduler,\n eval_freq=params[\"eval_freq\"],\n log_freq=params[\"log_freq\"],\n schedule_freq=params[\"schedule_freq\"],\n patience=params[\"patience\"],\n test_evaluator=test_evaluator,\n test_loader=test_loader,\n debug=params[\"debug\"],\n params=params,\n )\n\n trainer.run(train_loader, max_epochs=params[\"max_epochs\"])\n\n return val_evaluator.state.metrics\n\n\ndef parse_args():\n parser = argparse.ArgumentParser()\n parser.add_argument(\"--params\", type=Params.load, default=\"conf/esim.json\")\n parser.add_argument(\n \"--default-params\", type=Params.load, default=\"conf/default.json\"\n )\n args = parser.parse_args()\n\n args.params.merge(args.default_params)\n\n return args\n\n\ndef main():\n params = parse_args().params\n params.setdefault(\"name\", datetime.datetime.now().isoformat())\n datasets = CSVDatasets(params[\"data_dir\"])\n cv_results = cross_validate(\n params,\n run_experiment,\n datasets.train.data,\n val_data=datasets.val.data,\n test_data=datasets.test.data,\n cv=params[\"cv\"],\n )\n logger.info(\"CV results: %s\", cv_results)\n\n\nif __name__ == \"__main__\":\n main()\n"
}
}
[Trace - 09:28:29 PM] Sending request 'textDocument/codeAction - (31)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"range": {
"start": {
"line": 199,
"character": 17
},
"end": {
"line": 199,
"character": 17
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:28:29 PM] Received request 'workspace/configuration - (2).
Params: {
"items": [
{
"section": "python",
"scopeUri": "file:///Users/user/git/tp/projects/knowledge_graph"
}
]
}
[Trace - 09:28:29 PM] Sending response 'workspace/configuration - (2)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 2,
"result": [
{
"analysis": {
"autoSearchPaths": true,
"disabled": [],
"information": [],
"warnings": [
"unresolved-import",
"parameter-already-specified",
"too-many-positional-arguments-before-star"
],
"errors": [
"unknown-parameter-name",
"undefined-variable",
"parameter-missing",
"positional-argument-after-keyword",
"too-many-function-arguments"
],
"cachingLevel": "None"
}
}
]
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "GetCurrentSearchPaths /Users/user/.pyenv/versions/env-mkwPXnF--py3.7/bin/python ",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "Interpreter search paths:",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/.pyenv/versions/3.7.5/lib/python3.7",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/.pyenv/versions/3.7.5/lib/python3.7/lib-dynload",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/.pyenv/versions/env-mkwPXnF--py3.7/lib/python3.7/site-packages",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/.pyenv/versions/env-mkwPXnF--py3.7/src/pyahocorasick",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/ie",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/.pyenv/versions/env-mkwPXnF--py3.7/src/pytorch-ignite",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": "User search paths:",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/scripts/similarity",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/scripts",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/scripts/dialogue",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/scripts/qa_pair",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/scripts/questions",
"type": 3
}
[Trace - 09:28:29 PM] Received notification 'window/logMessage'.
Params: {
"message": " /Users/user/git/tp/projects/knowledge_graph/qa",
"type": 3
}
[Trace - 09:28:30 PM] Sending request 'textDocument/codeAction - (32)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"range": {
"start": {
"line": 199,
"character": 17
},
"end": {
"line": 199,
"character": 17
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:28:33 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 32
}
[Trace - 09:28:33 PM] Sending request 'textDocument/codeAction - (33)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"range": {
"start": {
"line": 199,
"character": 17
},
"end": {
"line": 199,
"character": 17
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:28:33 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 3126.1125
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/codeAction"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:28:33 PM] Received response 'nil - (32)' in 0ms.
Result: null
[Trace - 09:28:33 PM] Received notification 'window/logMessage'.
Params: {
"message": "Initializing for /Users/user/.pyenv/versions/env-mkwPXnF--py3.7/bin/python",
"type": 3
}
[Trace - 09:28:33 PM] Received notification 'python/languageServerStarted'.
Params: []
[Trace - 09:28:33 PM] Received notification 'window/logMessage'.
Params: {
"message": "Analysis caching mode: None.",
"type": 3
}
[Trace - 09:28:33 PM] Received notification 'python/beginProgress'.
Params: []
[Trace - 09:28:33 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 18 items left..."
]
[Trace - 09:28:34 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 0.0,
"elapsedMs": 695.224
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/codeAction"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:28:34 PM] Received response 'textDocument/codeAction - (33)' in 704ms.
Result: []
[Trace - 09:28:34 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 0.0,
"elapsedMs": 4211.5681
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/codeAction"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:28:34 PM] Received response 'textDocument/codeAction - (31)' in 215ms.
Result: []
[Trace - 09:28:35 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 543 items left..."
]
[Trace - 09:28:35 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 346 items left..."
]
[Trace - 09:28:35 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 274 items left..."
]
[Trace - 09:28:35 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 268 items left..."
]
[Trace - 09:28:37 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 190 items left..."
]
[Trace - 09:28:38 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 147 items left..."
]
[Trace - 09:28:38 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 137 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 56 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2584 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2262 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2135 items left..."
]
[Trace - 09:28:39 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2082 items left..."
]
[Trace - 09:28:40 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2015 items left..."
]
[Trace - 09:28:40 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1985 items left..."
]
[Trace - 09:28:40 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1931 items left..."
]
[Trace - 09:28:42 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1802 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1506 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1442 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1408 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1375 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1319 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1274 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1222 items left..."
]
[Trace - 09:28:43 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1168 items left..."
]
[Trace - 09:28:44 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1121 items left..."
]
[Trace - 09:28:45 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 997 items left..."
]
[Trace - 09:28:45 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 954 items left..."
]
[Trace - 09:28:45 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 919 items left..."
]
[Trace - 09:28:46 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 905 items left..."
]
[Trace - 09:28:46 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 890 items left..."
]
[Trace - 09:28:46 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 879 items left..."
]
[Trace - 09:28:46 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 872 items left..."
]
[Trace - 09:28:48 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 726 items left..."
]
[Trace - 09:28:48 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 694 items left..."
]
[Trace - 09:28:50 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 535 items left..."
]
[Trace - 09:28:50 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 504 items left..."
]
[Trace - 09:28:51 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 479 items left..."
]
[Trace - 09:28:51 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 203 items left..."
]
[Trace - 09:28:51 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 155 items left..."
]
[Trace - 09:28:51 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 115 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 9171 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8899 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8718 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8586 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8385 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8279 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8155 items left..."
]
[Trace - 09:28:54 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 8066 items left..."
]
[Trace - 09:28:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7919 items left..."
]
[Trace - 09:28:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7820 items left..."
]
[Trace - 09:28:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7819 items left..."
]
[Trace - 09:28:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7615 items left..."
]
[Trace - 09:28:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7431 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7328 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7229 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7133 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 7007 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6919 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6807 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6717 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6623 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6603 items left..."
]
[Trace - 09:28:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6510 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6462 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6334 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6332 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6297 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6259 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6186 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6086 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6001 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5900 items left..."
]
[Trace - 09:28:57 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5820 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5761 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5639 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5554 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5472 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5381 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5371 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5293 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5229 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 5165 items left..."
]
[Trace - 09:28:58 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4932 items left..."
]
[Trace - 09:28:59 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4837 items left..."
]
[Trace - 09:28:59 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4769 items left..."
]
[Trace - 09:28:59 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4732 items left..."
]
[Trace - 09:28:59 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4669 items left..."
]
[Trace - 09:28:59 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4424 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4347 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4269 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4200 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4109 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 4026 items left..."
]
[Trace - 09:29:00 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3951 items left..."
]
[Trace - 09:29:01 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3720 items left..."
]
[Trace - 09:29:01 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3689 items left..."
]
[Trace - 09:29:01 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3622 items left..."
]
[Trace - 09:29:02 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3579 items left..."
]
[Trace - 09:29:02 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3566 items left..."
]
[Trace - 09:29:02 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3516 items left..."
]
[Trace - 09:29:03 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3503 items left..."
]
[Trace - 09:29:03 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3247 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2694 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2611 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2491 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2432 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2334 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2253 items left..."
]
[Trace - 09:29:05 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2160 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2065 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1953 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1936 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1876 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1667 items left..."
]
[Trace - 09:29:06 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1657 items left..."
]
[Trace - 09:29:07 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1549 items left..."
]
[Trace - 09:29:07 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1486 items left..."
]
[Trace - 09:29:09 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 29 items left..."
]
[Trace - 09:29:11 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 6 items left..."
]
[Trace - 09:29:11 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3648 items left..."
]
[Trace - 09:29:12 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3621 items left..."
]
[Trace - 09:29:12 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3574 items left..."
]
[Trace - 09:29:12 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3563 items left..."
]
[Trace - 09:29:12 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3544 items left..."
]
[Trace - 09:29:12 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3484 items left..."
]
[Trace - 09:29:13 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 3247 items left..."
]
[Trace - 09:29:14 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2651 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2624 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2518 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2433 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2352 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2332 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2320 items left..."
]
[Trace - 09:29:15 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2253 items left..."
]
[Trace - 09:29:16 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2167 items left..."
]
[Trace - 09:29:16 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2154 items left..."
]
[Trace - 09:29:16 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2065 items left..."
]
[Trace - 09:29:16 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1946 items left..."
]
[Trace - 09:29:16 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1936 items left..."
]
[Trace - 09:29:17 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1875 items left..."
]
[Trace - 09:29:17 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1667 items left..."
]
[Trace - 09:29:17 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1657 items left..."
]
[Trace - 09:29:17 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1548 items left..."
]
[Trace - 09:29:17 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1486 items left..."
]
[Trace - 09:29:19 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 29 items left..."
]
[Trace - 09:29:19 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1 items left..."
]
[Trace - 09:29:19 PM] Received notification 'python/endProgress'.
Params: []
[Trace - 09:29:21 PM] Sending request 'workspace/symbol - (34)'.
Params: {
"query": ""
}
[Trace - 09:29:21 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 1000.0,
"elapsedMs": 23.1836
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:21 PM] Received response 'workspace/symbol - (34)' in 174ms.
Result: [
{
"location": {
"range": {
"end": {
"character": 14,
"line": 7
},
"start": {
"character": 6,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 5,
"name": "Answerer"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 13
},
"start": {
"character": 6,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 5,
"name": "FAQAnswerer"
},
{
"containerName": "Answerer",
"location": {
"range": {
"end": {
"character": 14,
"line": 9
},
"start": {
"character": 8,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 14,
"line": 20
},
"start": {
"character": 8,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 9
},
"start": {
"character": 15,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 9
},
"start": {
"character": 21,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 9
},
"start": {
"character": 31,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 44,
"line": 9
},
"start": {
"character": 38,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 14
},
"start": {
"character": 17,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 20
},
"start": {
"character": 15,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 20
},
"start": {
"character": 21,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 20
},
"start": {
"character": 31,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "__repr__",
"location": {
"range": {
"end": {
"character": 21,
"line": 23
},
"start": {
"character": 17,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 7
},
"start": {
"character": 0,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 8
},
"start": {
"character": 0,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "selector"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 10
},
"start": {
"character": 0,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_one_categories"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 14
},
"start": {
"character": 18,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 11
},
"start": {
"character": 0,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_one_links"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 17
},
"start": {
"character": 18,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 15
},
"start": {
"character": 0,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_one_names"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 21
},
"start": {
"character": 0,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "categories"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_one_name"
},
{
"location": {
"range": {
"end": {
"character": 33,
"line": 23
},
"start": {
"character": 20,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_one_url"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 24
},
"start": {
"character": 4,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "cats"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 26
},
"start": {
"character": 4,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "selector"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_two_categories"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 34
},
"start": {
"character": 22,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 31
},
"start": {
"character": 4,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_two_links"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 37
},
"start": {
"character": 22,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_two_names"
},
{
"location": {
"range": {
"end": {
"character": 22,
"line": 39
},
"start": {
"character": 8,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_two_name"
},
{
"location": {
"range": {
"end": {
"character": 37,
"line": 39
},
"start": {
"character": 24,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_two_url"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 42
},
"start": {
"character": 8,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "selector"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 43
},
"start": {
"character": 8,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_three_categories"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 49
},
"start": {
"character": 28,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 46
},
"start": {
"character": 8,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_three_links"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 52
},
"start": {
"character": 28,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_three_names"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 62
},
"start": {
"character": 17,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 53
},
"start": {
"character": 8,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "result"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 66
},
"start": {
"character": 8,
"line": 66
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "categories"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 9,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 24,
"line": 16
},
"start": {
"character": 23,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 13,
"line": 33
},
"start": {
"character": 12,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 28,
"line": 36
},
"start": {
"character": 27,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 17,
"line": 48
},
"start": {
"character": 16,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 32,
"line": 51
},
"start": {
"character": 31,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 32,
"line": 59
},
"start": {
"character": 16,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_three_name"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 50,
"line": 59
},
"start": {
"character": 34,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "level_three_link"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 29
},
"start": {
"character": 6,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 6
},
"start": {
"character": 8,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 13,
"line": 12
},
"start": {
"character": 8,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "valid"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 15,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "to_json"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 55
},
"start": {
"character": 8,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 6
},
"start": {
"character": 17,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 6
},
"start": {
"character": 23,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "label"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 6
},
"start": {
"character": 30,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 6
},
"start": {
"character": 40,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 80,
"line": 9
},
"start": {
"character": 28,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 18,
"line": 12
},
"start": {
"character": 14,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 26,
"line": 12
},
"start": {
"character": 20,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 87,
"line": 14
},
"start": {
"character": 32,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 20,
"line": 17
},
"start": {
"character": 16,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 35,
"line": 17
},
"start": {
"character": 22,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "join_template"
},
{
"containerName": "__repr__",
"location": {
"range": {
"end": {
"character": 21,
"line": 23
},
"start": {
"character": 17,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 30
},
"start": {
"character": 17,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 30
},
"start": {
"character": 23,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "words"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 30
},
"start": {
"character": 30,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 14,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "actree"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 33
},
"start": {
"character": 12,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 23,
"line": 33
},
"start": {
"character": 19,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 33,
"line": 41
},
"start": {
"character": 29,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 41,
"line": 41
},
"start": {
"character": 35,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "string"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 14,
"line": 42
},
"start": {
"character": 8,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 43
},
"start": {
"character": 8,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "last_end"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 44
},
"start": {
"character": 13,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "end"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 23,
"line": 44
},
"start": {
"character": 19,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 25,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 17,
"line": 45
},
"start": {
"character": 12,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "start"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 22,
"line": 47
},
"start": {
"character": 16,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 18,
"line": 49
},
"start": {
"character": 12,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 20,
"line": 50
},
"start": {
"character": 12,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "last_end"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 23,
"line": 55
},
"start": {
"character": 19,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 26,
"line": 55
},
"start": {
"character": 25,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 48,
"line": 56
},
"start": {
"character": 19,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 35,
"line": 9
},
"start": {
"character": 34,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 39,
"line": 14
},
"start": {
"character": 38,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 31,
"line": 56
},
"start": {
"character": 30,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "p"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 13
},
"start": {
"character": 0,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "request_get"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "get_categories"
},
{
"location": {
"range": {
"end": {
"character": 33,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "get_disease_links_by_category"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 56
},
"start": {
"character": 4,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "get_disease_page"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 127
},
"start": {
"character": 4,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "root"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 128
},
"start": {
"character": 4,
"line": 128
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "categorie_urls"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 130
},
"start": {
"character": 4,
"line": 130
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "processed"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 131
},
"start": {
"character": 8,
"line": 131
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "category_url"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 132
},
"start": {
"character": 8,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "disease_urls"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 134
},
"start": {
"character": 12,
"line": 134
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "disease_url"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 138
},
"start": {
"character": 12,
"line": 138
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "disease_json"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 143
},
"start": {
"character": 12,
"line": 143
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "disease_html"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 153
},
"start": {
"character": 16,
"line": 153
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 156
},
"start": {
"character": 16,
"line": 156
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 157
},
"start": {
"character": 12,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"location": {
"range": {
"end": {
"character": 37,
"line": 157
},
"start": {
"character": 21,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "question_answers"
},
{
"containerName": "request_get",
"location": {
"range": {
"end": {
"character": 19,
"line": 16
},
"start": {
"character": 16,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "request_get",
"location": {
"range": {
"end": {
"character": 11,
"line": 18
},
"start": {
"character": 4,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "headers"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 22,
"line": 34
},
"start": {
"character": 19,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 11,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 12,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "selector"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 5,
"line": 41
},
"start": {
"character": 11,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_disease_links_by_category",
"location": {
"range": {
"end": {
"character": 37,
"line": 44
},
"start": {
"character": 34,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_disease_links_by_category",
"location": {
"range": {
"end": {
"character": 11,
"line": 45
},
"start": {
"character": 4,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "get_disease_links_by_category",
"location": {
"range": {
"end": {
"character": 12,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "selector"
},
{
"containerName": "get_disease_links_by_category",
"location": {
"range": {
"end": {
"character": 5,
"line": 53
},
"start": {
"character": 11,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 24,
"line": 56
},
"start": {
"character": 21,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 33,
"line": 56
},
"start": {
"character": 26,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 30,
"line": 57
},
"start": {
"character": 8,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "_extract_detail_detail"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 15,
"line": 108
},
"start": {
"character": 8,
"line": 108
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 12,
"line": 109
},
"start": {
"character": 4,
"line": 109
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "selector"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 14,
"line": 110
},
"start": {
"character": 4,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "categories"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 8,
"line": 111
},
"start": {
"character": 4,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "name"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 15,
"line": 115
},
"start": {
"character": 4,
"line": 115
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "description"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 16,
"line": 120
},
"start": {
"character": 4,
"line": 120
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "detail_cards"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 82,
"line": 121
},
"start": {
"character": 23,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 20,
"line": 121
},
"start": {
"character": 4,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "question_answers"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 13,
"line": 40
},
"start": {
"character": 12,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 13,
"line": 50
},
"start": {
"character": 12,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 37,
"line": 57
},
"start": {
"character": 31,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "detail"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 13,
"line": 58
},
"start": {
"character": 8,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "title"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 16,
"line": 60
},
"start": {
"character": 8,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "contents"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 15,
"line": 61
},
"start": {
"character": 8,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 16,
"line": 62
},
"start": {
"character": 8,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 15,
"line": 63
},
"start": {
"character": 8,
"line": 63
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 19,
"line": 64
},
"start": {
"character": 12,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 20,
"line": 69
},
"start": {
"character": 16,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 31,
"line": 72
},
"start": {
"character": 24,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 32,
"line": 81
},
"start": {
"character": 24,
"line": 81
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 31,
"line": 82
},
"start": {
"character": 24,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 24,
"line": 85
},
"start": {
"character": 16,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 23,
"line": 87
},
"start": {
"character": 16,
"line": 87
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "_extract_detail_detail",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 12,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 65,
"line": 121
},
"start": {
"character": 59,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "detail"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 9
},
"start": {
"character": 6,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "SimpleClient"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 38
},
"start": {
"character": 6,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 68
},
"start": {
"character": 6,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 93
},
"start": {
"character": 0,
"line": 93
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "normalized_file"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 94
},
"start": {
"character": 0,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_normalized"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 95
},
"start": {
"character": 0,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "names"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 106
},
"start": {
"character": 0,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "neo4j_client"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 107
},
"start": {
"character": 0,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "all_nodes"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 108
},
"start": {
"character": 12,
"line": 108
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 52,
"line": 109
},
"start": {
"character": 34,
"line": 109
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 110
},
"start": {
"character": 48,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 110
},
"start": {
"character": 0,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 111
},
"start": {
"character": 0,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 125
},
"start": {
"character": 11,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 121
},
"start": {
"character": 0,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 126
},
"start": {
"character": 32,
"line": 126
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 58,
"line": 127
},
"start": {
"character": 27,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 127
},
"start": {
"character": 0,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 131
},
"start": {
"character": 0,
"line": 131
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "data_file"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 132
},
"start": {
"character": 0,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_data"
},
{
"location": {
"range": {
"end": {
"character": 60,
"line": 138
},
"start": {
"character": 8,
"line": 138
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "SimpleClient",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "SimpleClient",
"location": {
"range": {
"end": {
"character": 17,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "get_nodes"
},
{
"containerName": "SimpleClient",
"location": {
"range": {
"end": {
"character": 12,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "read"
},
{
"containerName": "SimpleClient",
"location": {
"range": {
"end": {
"character": 13,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "close"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 39
},
"start": {
"character": 8,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 64
},
"start": {
"character": 8,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 13,
"line": 75
},
"start": {
"character": 8,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "valid"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 15,
"line": 80
},
"start": {
"character": 8,
"line": 80
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "to_json"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 25,
"line": 108
},
"start": {
"character": 24,
"line": 108
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 42,
"line": 109
},
"start": {
"character": 41,
"line": 109
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 64,
"line": 110
},
"start": {
"character": 63,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 11,
"line": 123
},
"start": {
"character": 8,
"line": 123
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "key"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 18,
"line": 123
},
"start": {
"character": 13,
"line": 123
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 124
},
"start": {
"character": 8,
"line": 124
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 40,
"line": 126
},
"start": {
"character": 39,
"line": 126
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 45,
"line": 127
},
"start": {
"character": 44,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 16,
"line": 138
},
"start": {
"character": 15,
"line": 138
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 10
},
"start": {
"character": 17,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 26,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "uri"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 28,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "user"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 42,
"line": 10
},
"start": {
"character": 34,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "get_nodes",
"location": {
"range": {
"end": {
"character": 20,
"line": 14
},
"start": {
"character": 18,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "tx"
},
{
"containerName": "get_nodes",
"location": {
"range": {
"end": {
"character": 27,
"line": 14
},
"start": {
"character": 22,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "label"
},
{
"containerName": "get_nodes",
"location": {
"range": {
"end": {
"character": 17,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "query"
},
{
"containerName": "get_nodes",
"location": {
"range": {
"end": {
"character": 17,
"line": 23
},
"start": {
"character": 12,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "query"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 17,
"line": 30
},
"start": {
"character": 13,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 24,
"line": 30
},
"start": {
"character": 20,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "args"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 63,
"line": 32
},
"start": {
"character": 19,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "close",
"location": {
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 14,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 39
},
"start": {
"character": 17,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 39
},
"start": {
"character": 23,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "words"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 39
},
"start": {
"character": 30,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 14,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "actree"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 42
},
"start": {
"character": 12,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 23,
"line": 42
},
"start": {
"character": 19,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 43
},
"start": {
"character": 12,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 33,
"line": 50
},
"start": {
"character": 29,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 41,
"line": 50
},
"start": {
"character": 35,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "string"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 14,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 52
},
"start": {
"character": 8,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "last_end"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 53
},
"start": {
"character": 13,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "end"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 23,
"line": 53
},
"start": {
"character": 19,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 53
},
"start": {
"character": 25,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "start"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 22,
"line": 56
},
"start": {
"character": 16,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 18,
"line": 58
},
"start": {
"character": 12,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 20,
"line": 59
},
"start": {
"character": 12,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "last_end"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 23,
"line": 64
},
"start": {
"character": 19,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 26,
"line": 64
},
"start": {
"character": 25,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "is_pattern",
"location": {
"range": {
"end": {
"character": 48,
"line": 65
},
"start": {
"character": 19,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 69
},
"start": {
"character": 17,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 69
},
"start": {
"character": 23,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "label"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 69
},
"start": {
"character": 30,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 69
},
"start": {
"character": 40,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 75,
"line": 72
},
"start": {
"character": 28,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 18,
"line": 75
},
"start": {
"character": 14,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 26,
"line": 75
},
"start": {
"character": 20,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 82,
"line": 77
},
"start": {
"character": 32,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 20,
"line": 80
},
"start": {
"character": 16,
"line": 80
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__repr__",
"location": {
"range": {
"end": {
"character": 21,
"line": 86
},
"start": {
"character": 17,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 54,
"line": 32
},
"start": {
"character": 53,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 31,
"line": 65
},
"start": {
"character": 30,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "p"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 63,
"line": 72
},
"start": {
"character": 62,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 77
},
"start": {
"character": 71,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "x"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 13
},
"start": {
"character": 0,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "main"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 26,
"line": 16
},
"start": {
"character": 19,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "dirname"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 16,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "filename"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 17,
"line": 20
},
"start": {
"character": 12,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 23,
"line": 25
},
"start": {
"character": 21,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "es"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 45,
"line": 25
},
"start": {
"character": 40,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 64,
"line": 25
},
"start": {
"character": 59,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 80,
"line": 25
},
"start": {
"character": 74,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 14,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 11,
"line": 26
},
"start": {
"character": 4,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "actions"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 29
},
"start": {
"character": 4,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "bulks"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 10,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "ok"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 20,
"line": 30
},
"start": {
"character": 12,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "response"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 37
},
"start": {
"character": 4,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 6,
"line": 39
},
"start": {
"character": 4,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "es"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "mapping"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 27
},
"start": {
"character": 68,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pair"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 8
},
"start": {
"character": 0,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "__all__"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 12
},
"start": {
"character": 6,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 5,
"name": "QAItem"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 45
},
"start": {
"character": 6,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 5,
"name": "FAQCorpus"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 64
},
"start": {
"character": 6,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 5,
"name": "JSONFAQCorpus"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 6,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "id"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 9,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "score"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 12,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "copy"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 16,
"line": 21
},
"start": {
"character": 8,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 17,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "fromtuple"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 16,
"line": 46
},
"start": {
"character": 8,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "load_corpus"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 53
},
"start": {
"character": 8,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 25,
"name": "__getitem__"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 16,
"line": 56
},
"start": {
"character": 8,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 25,
"name": "__iter__"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 15,
"line": 60
},
"start": {
"character": 8,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 25,
"name": "__len__"
},
{
"containerName": "JSONFAQCorpus",
"location": {
"range": {
"end": {
"character": 16,
"line": 65
},
"start": {
"character": 8,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "JSONFAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 71
},
"start": {
"character": 8,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "load_corpus"
},
{
"containerName": "copy",
"location": {
"range": {
"end": {
"character": 17,
"line": 18
},
"start": {
"character": 13,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__repr__",
"location": {
"range": {
"end": {
"character": 21,
"line": 21
},
"start": {
"character": 17,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 21,
"line": 31
},
"start": {
"character": 18,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "cls"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 29,
"line": 31
},
"start": {
"character": 23,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 11,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "id_"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 18,
"line": 32
},
"start": {
"character": 13,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "score"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 20,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 28,
"line": 34
},
"start": {
"character": 22,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "answer"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 15,
"line": 36
},
"start": {
"character": 12,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "id_"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 25,
"line": 36
},
"start": {
"character": 17,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 33,
"line": 36
},
"start": {
"character": 27,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "answer"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 15,
"line": 40
},
"start": {
"character": 12,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "id_"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 25,
"line": 40
},
"start": {
"character": 17,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 33,
"line": 40
},
"start": {
"character": 27,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "answer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 17,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 23,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 24,
"line": 50
},
"start": {
"character": 20,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__getitem__",
"location": {
"range": {
"end": {
"character": 24,
"line": 53
},
"start": {
"character": 20,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__getitem__",
"location": {
"range": {
"end": {
"character": 31,
"line": 53
},
"start": {
"character": 26,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 21,
"line": 56
},
"start": {
"character": 17,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "__len__",
"location": {
"range": {
"end": {
"character": 20,
"line": 60
},
"start": {
"character": 16,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 65
},
"start": {
"character": 17,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 65
},
"start": {
"character": 23,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "filenames"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 67
},
"start": {
"character": 12,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "filenames"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 24,
"line": 71
},
"start": {
"character": 20,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 20,
"line": 73
},
"start": {
"character": 12,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "filename"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 20,
"line": 75
},
"start": {
"character": 16,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "data"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 77
},
"start": {
"character": 20,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 21,
"line": 85
},
"start": {
"character": 20,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "i"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 27,
"line": 85
},
"start": {
"character": 23,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 86
},
"start": {
"character": 20,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 7
},
"start": {
"character": 0,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 31,
"line": 10
},
"start": {
"character": 6,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 5,
"name": "TermSimilarityFAQAnwserer"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 47
},
"start": {
"character": 6,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 5,
"name": "ElasticsearchFAQAnwserer"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 16,
"line": 11
},
"start": {
"character": 8,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 25,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "_prepare_question"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 14,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "ElasticsearchFAQAnwserer",
"location": {
"range": {
"end": {
"character": 16,
"line": 48
},
"start": {
"character": 8,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "ElasticsearchFAQAnwserer",
"location": {
"range": {
"end": {
"character": 14,
"line": 57
},
"start": {
"character": 8,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 11
},
"start": {
"character": 17,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 11
},
"start": {
"character": 23,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 50,
"line": 11
},
"start": {
"character": 31,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "similarity_searcher"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 61,
"line": 11
},
"start": {
"character": 52,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "tokenizer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 69,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "_prepare_question",
"location": {
"range": {
"end": {
"character": 30,
"line": 19
},
"start": {
"character": 26,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_prepare_question",
"location": {
"range": {
"end": {
"character": 50,
"line": 19
},
"start": {
"character": 32,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_item_or_string"
},
{
"containerName": "_prepare_question",
"location": {
"range": {
"end": {
"character": 30,
"line": 23
},
"start": {
"character": 12,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_item_or_string"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 32
},
"start": {
"character": 15,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 32
},
"start": {
"character": 21,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 32
},
"start": {
"character": 31,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "scores"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 23,
"line": 34
},
"start": {
"character": 16,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "indices"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 15,
"line": 37
},
"start": {
"character": 8,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 17,
"line": 38
},
"start": {
"character": 12,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "score"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 24,
"line": 38
},
"start": {
"character": 19,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 20,
"line": 39
},
"start": {
"character": 12,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_item"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 41
},
"start": {
"character": 12,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 48
},
"start": {
"character": 17,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 48
},
"start": {
"character": 23,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 48
},
"start": {
"character": 36,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "es"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 50,
"line": 48
},
"start": {
"character": 45,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 72,
"line": 48
},
"start": {
"character": 58,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "question_field"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 57
},
"start": {
"character": 15,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 57
},
"start": {
"character": 21,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 57
},
"start": {
"character": 31,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 24,
"line": 58
},
"start": {
"character": 12,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 12,
"name": "_format_item"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 12,
"line": 67
},
"start": {
"character": 8,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 65,
"line": 71
},
"start": {
"character": 18,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 15,
"line": 71
},
"start": {
"character": 8,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 18,
"line": 74
},
"start": {
"character": 12,
"line": 74
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "result"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 58,
"line": 16
},
"start": {
"character": 50,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_item"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 28,
"line": 58
},
"start": {
"character": 25,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "hit"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 18,
"line": 59
},
"start": {
"character": 12,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "source"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 40,
"line": 71
},
"start": {
"character": 39,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 14
},
"start": {
"character": 4,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_dateaset"
},
{
"location": {
"range": {
"end": {
"character": 27,
"line": 32
},
"start": {
"character": 4,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 27,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_chip2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 36,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 66
},
"start": {
"character": 4,
"line": 66
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 67
},
"start": {
"character": 4,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "ncov2019_dir"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 68
},
"start": {
"character": 4,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 69
},
"start": {
"character": 4,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 22,
"line": 14
},
"start": {
"character": 20,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 34,
"line": 14
},
"start": {
"character": 24,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 44,
"line": 14
},
"start": {
"character": 38,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 16,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "augmentation"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 13,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "swap_prob"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 10,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 12,
"line": 21
},
"start": {
"character": 8,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "flag"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 17,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "left_text"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "right_text"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 9,
"line": 26
},
"start": {
"character": 4,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "train"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 14,
"line": 26
},
"start": {
"character": 11,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "val"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 20,
"line": 26
},
"start": {
"character": 16,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "test"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 12,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "name"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 14,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "data"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 37,
"line": 32
},
"start": {
"character": 28,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 49,
"line": 32
},
"start": {
"character": 39,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 59,
"line": 32
},
"start": {
"character": 53,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 11,
"line": 33
},
"start": {
"character": 4,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "dataset"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 6,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 37,
"line": 38
},
"start": {
"character": 28,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 49,
"line": 38
},
"start": {
"character": 39,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 59,
"line": 38
},
"start": {
"character": 53,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 11,
"line": 39
},
"start": {
"character": 4,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "dataset"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 49,
"line": 43
},
"start": {
"character": 37,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "ncov2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 63,
"line": 43
},
"start": {
"character": 51,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 75,
"line": 43
},
"start": {
"character": 65,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 85,
"line": 43
},
"start": {
"character": 79,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "ncov2019"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 45
},
"start": {
"character": 4,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 6,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 16,
"line": 51
},
"start": {
"character": 4,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "ncov2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 30,
"line": 51
},
"start": {
"character": 18,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 42,
"line": 51
},
"start": {
"character": 32,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 52,
"line": 51
},
"start": {
"character": 46,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 53
},
"start": {
"character": 4,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "ncov2019"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 57
},
"start": {
"character": 8,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "name"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 18,
"line": 57
},
"start": {
"character": 14,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "data"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 14
},
"start": {
"character": 0,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "dirname"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 15
},
"start": {
"character": 0,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "corpus"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 18
},
"start": {
"character": 0,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "seg1"
},
{
"location": {
"range": {
"end": {
"character": 59,
"line": 19
},
"start": {
"character": 7,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 19
},
"start": {
"character": 0,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "seg2"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 20
},
"start": {
"character": 0,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "seg3"
},
{
"location": {
"range": {
"end": {
"character": 53,
"line": 23
},
"start": {
"character": 15,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "results1"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 27
},
"start": {
"character": 15,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "results2"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 31
},
"start": {
"character": 15,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 31
},
"start": {
"character": 4,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "results3"
},
{
"location": {
"range": {
"end": {
"character": 40,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 34
},
"start": {
"character": 0,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "questions"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "results4"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 37
},
"start": {
"character": 4,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "i"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "batch_size"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 15,
"line": 19
},
"start": {
"character": 14,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 59,
"line": 19
},
"start": {
"character": 17,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 42,
"line": 23
},
"start": {
"character": 41,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 38,
"line": 27
},
"start": {
"character": 37,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 38,
"line": 31
},
"start": {
"character": 37,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 29,
"line": 34
},
"start": {
"character": 28,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 30,
"line": 19
},
"start": {
"character": 29,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "t"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 11
},
"start": {
"character": 0,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "link_dir"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 14
},
"start": {
"character": 0,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "article_dir"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 18
},
"start": {
"character": 0,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "all_files"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 20
},
"start": {
"character": 0,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "count"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 12,
"name": "get_article"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 25,
"line": 23
},
"start": {
"character": 16,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "link_file"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 20,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 12,
"name": "_get_article"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 8,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 8,
"line": 47
},
"start": {
"character": 4,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "cats"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 13,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "links"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 12,
"line": 52
},
"start": {
"character": 8,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "link"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 25,
"line": 24
},
"start": {
"character": 21,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "link"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 14,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "outdir"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 16,
"line": 26
},
"start": {
"character": 8,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "filename"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 12,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 15,
"line": 33
},
"start": {
"character": 8,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 16,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "selector"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 12
},
"start": {
"character": 0,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "gold_file"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 13
},
"start": {
"character": 0,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_gold"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 14
},
"start": {
"character": 0,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "names"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 26
},
"start": {
"character": 0,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "neo4j_client"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 27
},
"start": {
"character": 0,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "all_nodes"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 28
},
"start": {
"character": 12,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 52,
"line": 29
},
"start": {
"character": 34,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 30
},
"start": {
"character": 48,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 30
},
"start": {
"character": 0,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 31
},
"start": {
"character": 0,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 41
},
"start": {
"character": 11,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 37
},
"start": {
"character": 0,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 42
},
"start": {
"character": 32,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 58,
"line": 43
},
"start": {
"character": 27,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 0,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 45
},
"start": {
"character": 14,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 48
},
"start": {
"character": 0,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "data_file"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 49
},
"start": {
"character": 0,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_data"
},
{
"location": {
"range": {
"end": {
"character": 56,
"line": 52
},
"start": {
"character": 4,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 51
},
"start": {
"character": 0,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "has_pattern"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 25,
"line": 28
},
"start": {
"character": 24,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 42,
"line": 29
},
"start": {
"character": 41,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 64,
"line": 30
},
"start": {
"character": 63,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 11,
"line": 39
},
"start": {
"character": 8,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "key"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 18,
"line": 39
},
"start": {
"character": 13,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 40,
"line": 42
},
"start": {
"character": 39,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 45,
"line": 43
},
"start": {
"character": 44,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 32,
"line": 45
},
"start": {
"character": 31,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 12,
"line": 52
},
"start": {
"character": 11,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "x"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 5,
"name": "DictionaryMatcher"
},
{
"containerName": "DictionaryMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 6
},
"start": {
"character": 8,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "DictionaryMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 6,
"name": "finditer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 6
},
"start": {
"character": 17,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 6
},
"start": {
"character": 23,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "words"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 14,
"line": 7
},
"start": {
"character": 8,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "actree"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 8
},
"start": {
"character": 12,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 23,
"line": 8
},
"start": {
"character": 19,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 17,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 27,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 16,
"line": 14
},
"start": {
"character": 13,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "end"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 23,
"line": 14
},
"start": {
"character": 19,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 30,
"line": 14
},
"start": {
"character": 25,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 17,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "start"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 12
},
"start": {
"character": 0,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "get_similar_questions"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 56
},
"start": {
"character": 4,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "output_dir"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 59
},
"start": {
"character": 8,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "key"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 59
},
"start": {
"character": 13,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pair"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 61
},
"start": {
"character": 12,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "i"
},
{
"location": {
"range": {
"end": {
"character": 22,
"line": 61
},
"start": {
"character": 15,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "example"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 62
},
"start": {
"character": 12,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "output_file"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 67
},
"start": {
"character": 12,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "question"
},
{
"location": {
"range": {
"end": {
"character": 29,
"line": 69
},
"start": {
"character": 12,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "similar_questions"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 73
},
"start": {
"character": 16,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "data"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 26,
"line": 15
},
"start": {
"character": 19,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "dirname"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 5,
"line": 18
},
"start": {
"character": 19,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 16,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "unique_files"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 11,
"line": 21
},
"start": {
"character": 8,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "key"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 21,
"line": 21
},
"start": {
"character": 13,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "filename"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 34,
"line": 28
},
"start": {
"character": 26,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 7,
"line": 29
},
"start": {
"character": 4,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 11,
"line": 30
},
"start": {
"character": 4,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "headers"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 8,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 12,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "selector"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 44,
"line": 17
},
"start": {
"character": 36,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "filename"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 13
},
"start": {
"character": 0,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 31,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 12,
"name": "remove_if_question_contains"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 12,
"name": "remove_if_any_tag_contains"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 12,
"name": "ngram"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 40
},
"start": {
"character": 4,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 12,
"name": "ngrams"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 44
},
"start": {
"character": 0,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "filename"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 47
},
"start": {
"character": 4,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "data"
},
{
"location": {
"range": {
"end": {
"character": 68,
"line": 49
},
"start": {
"character": 35,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 49
},
"start": {
"character": 0,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "tags"
},
{
"location": {
"range": {
"end": {
"character": 70,
"line": 51
},
"start": {
"character": 19,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 51
},
"start": {
"character": 0,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "medical_tags"
},
{
"location": {
"range": {
"end": {
"character": 82,
"line": 53
},
"start": {
"character": 15,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 53
},
"start": {
"character": 0,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "medical_data"
},
{
"location": {
"range": {
"end": {
"character": 67,
"line": 54
},
"start": {
"character": 15,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 73,
"line": 58
},
"start": {
"character": 26,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 60
},
"start": {
"character": 0,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "tag_filters"
},
{
"location": {
"range": {
"end": {
"character": 51,
"line": 187
},
"start": {
"character": 15,
"line": 187
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 51,
"line": 188
},
"start": {
"character": 15,
"line": 188
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 191
},
"start": {
"character": 0,
"line": 191
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "question_filters"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 289
},
"start": {
"character": 15,
"line": 289
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 79,
"line": 290
},
"start": {
"character": 15,
"line": 290
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 291
},
"start": {
"character": 15,
"line": 291
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 292
},
"start": {
"character": 15,
"line": 292
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 79,
"line": 293
},
"start": {
"character": 15,
"line": 293
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 69,
"line": 294
},
"start": {
"character": 23,
"line": 294
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 294
},
"start": {
"character": 0,
"line": 294
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "tag_lists"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 296
},
"start": {
"character": 0,
"line": 296
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "tag_list_set"
},
{
"location": {
"range": {
"end": {
"character": 2,
"line": 302
},
"start": {
"character": 0,
"line": 302
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "df"
},
{
"location": {
"range": {
"end": {
"character": 83,
"line": 307
},
"start": {
"character": 42,
"line": 307
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"location": {
"range": {
"end": {
"character": 2,
"line": 307
},
"start": {
"character": 0,
"line": 307
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "ns"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 36,
"line": 16
},
"start": {
"character": 32,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "data"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 45,
"line": 16
},
"start": {
"character": 38,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "strings"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 10,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "regexp"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 64,
"line": 19
},
"start": {
"character": 11,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 35,
"line": 22
},
"start": {
"character": 31,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "data"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 44,
"line": 22
},
"start": {
"character": 37,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "strings"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 10,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "regexp"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 12,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "filtered"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 12,
"line": 26
},
"start": {
"character": 8,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "item"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 15,
"line": 27
},
"start": {
"character": 12,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "tag"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 20,
"line": 31
},
"start": {
"character": 12,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "filtered"
},
{
"containerName": "ngram",
"location": {
"range": {
"end": {
"character": 14,
"line": 36
},
"start": {
"character": 10,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "ngram",
"location": {
"range": {
"end": {
"character": 17,
"line": 36
},
"start": {
"character": 16,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "n"
},
{
"containerName": "ngram",
"location": {
"range": {
"end": {
"character": 61,
"line": 37
},
"start": {
"character": 11,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "ngrams",
"location": {
"range": {
"end": {
"character": 15,
"line": 40
},
"start": {
"character": 11,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "ngrams",
"location": {
"range": {
"end": {
"character": 18,
"line": 40
},
"start": {
"character": 17,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "m"
},
{
"containerName": "ngrams",
"location": {
"range": {
"end": {
"character": 21,
"line": 40
},
"start": {
"character": 20,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "n"
},
{
"containerName": "ngrams",
"location": {
"range": {
"end": {
"character": 65,
"line": 41
},
"start": {
"character": 28,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 59,
"line": 49
},
"start": {
"character": 58,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 26,
"line": 51
},
"start": {
"character": 25,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 53
},
"start": {
"character": 22,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 54
},
"start": {
"character": 22,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 56,
"line": 58
},
"start": {
"character": 55,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 28,
"line": 187
},
"start": {
"character": 27,
"line": 187
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 28,
"line": 188
},
"start": {
"character": 27,
"line": 188
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 289
},
"start": {
"character": 22,
"line": 289
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 290
},
"start": {
"character": 22,
"line": 290
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 291
},
"start": {
"character": 22,
"line": 291
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 292
},
"start": {
"character": 22,
"line": 292
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 293
},
"start": {
"character": 22,
"line": 293
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 53,
"line": 294
},
"start": {
"character": 52,
"line": 294
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 64,
"line": 307
},
"start": {
"character": 63,
"line": 307
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 19,
"line": 19
},
"start": {
"character": 18,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 33,
"line": 37
},
"start": {
"character": 32,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "i"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 49,
"line": 41
},
"start": {
"character": 48,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "i"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 4
},
"start": {
"character": 0,
"line": 4
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/data.py"
},
"kind": 14,
"name": "DATA_DIR"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 5,
"name": "DictionaryMatcher"
},
{
"containerName": "DictionaryMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 6
},
"start": {
"character": 8,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "DictionaryMatcher",
"location": {
"range": {
"end": {
"character": 16,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 6,
"name": "finditer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 6
},
"start": {
"character": 17,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 28,
"line": 6
},
"start": {
"character": 23,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "words"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 14,
"line": 7
},
"start": {
"character": 8,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "actree"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 8
},
"start": {
"character": 12,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 23,
"line": 8
},
"start": {
"character": 19,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 17,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 27,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 16,
"line": 14
},
"start": {
"character": 13,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "end"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 23,
"line": 14
},
"start": {
"character": 19,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "word"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 30,
"line": 14
},
"start": {
"character": 25,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 17,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "start"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 8
},
"start": {
"character": 6,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 5,
"name": "LstmClassifier"
},
{
"containerName": "LstmClassifier",
"location": {
"range": {
"end": {
"character": 16,
"line": 9
},
"start": {
"character": 8,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "LstmClassifier",
"location": {
"range": {
"end": {
"character": 15,
"line": 45
},
"start": {
"character": 8,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 6,
"name": "forward"
},
{
"containerName": "LstmClassifier",
"location": {
"range": {
"end": {
"character": 12,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 6,
"name": "loss"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 12,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 18,
"line": 11
},
"start": {
"character": 8,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "vocab_size"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 12
},
"start": {
"character": 8,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "label2id"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "embedded_size"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "hidden_size"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 8,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "num_layers"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 16
},
"start": {
"character": 8,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "char_embedding"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 15,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "dropout"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 12,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "cuda"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 63,
"line": 22
},
"start": {
"character": 49,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "label_ids"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 52,
"line": 25
},
"start": {
"character": 12,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 26,
"line": 29
},
"start": {
"character": 12,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "char_embedding"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 20,
"line": 45
},
"start": {
"character": 16,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 28,
"line": 45
},
"start": {
"character": 22,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 37,
"line": 45
},
"start": {
"character": 30,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "lengths"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 11,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "batch_size"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 16,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "embedded"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 14,
"line": 54
},
"start": {
"character": 8,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "packed"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 19,
"line": 55
},
"start": {
"character": 12,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "hiddens"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 14,
"line": 68
},
"start": {
"character": 8,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "logits"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 13,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 25,
"line": 72
},
"start": {
"character": 19,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 34,
"line": 72
},
"start": {
"character": 27,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "lengths"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 42,
"line": 72
},
"start": {
"character": 36,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "labels"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 59,
"line": 72
},
"start": {
"character": 44,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "input_is_logits"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 80,
"line": 72
},
"start": {
"character": 67,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "return_logits"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 18,
"line": 75
},
"start": {
"character": 12,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "logits"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 18,
"line": 77
},
"start": {
"character": 12,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "logits"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 12,
"line": 81
},
"start": {
"character": 8,
"line": 81
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "loss"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 57,
"line": 22
},
"start": {
"character": 56,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 23,
"line": 25
},
"start": {
"character": 22,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 26,
"line": 25
},
"start": {
"character": 25,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "v"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 9
},
"start": {
"character": 0,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "gold_file"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 10
},
"start": {
"character": 0,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "df_gold"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 11
},
"start": {
"character": 0,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "names"
},
{
"location": {
"range": {
"end": {
"character": 68,
"line": 13
},
"start": {
"character": 46,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 15
},
"start": {
"character": 0,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "neo4j_client"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 16
},
"start": {
"character": 0,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "all_nodes"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 17
},
"start": {
"character": 12,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 52,
"line": 18
},
"start": {
"character": 34,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 19
},
"start": {
"character": 48,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 19
},
"start": {
"character": 0,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 69,
"line": 21
},
"start": {
"character": 15,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 21
},
"start": {
"character": 0,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "entity_types"
},
{
"location": {
"range": {
"end": {
"character": 55,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 54,
"line": 13
},
"start": {
"character": 53,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 25,
"line": 17
},
"start": {
"character": 24,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 42,
"line": 18
},
"start": {
"character": 41,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 64,
"line": 19
},
"start": {
"character": 63,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 34,
"line": 21
},
"start": {
"character": 31,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "key"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 21
},
"start": {
"character": 36,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "value"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 12,
"line": 23
},
"start": {
"character": 11,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 55,
"line": 23
},
"start": {
"character": 14,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 49,
"line": 23
},
"start": {
"character": 48,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "e"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 12
},
"start": {
"character": 0,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "get_categories"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 4,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "get_category"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 85
},
"start": {
"character": 4,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "format_csv"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 142
},
"start": {
"character": 4,
"line": 142
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "normalize"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 153
},
"start": {
"character": 4,
"line": 153
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "session_id"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 154
},
"start": {
"character": 4,
"line": 154
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "wzws_cid"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 156
},
"start": {
"character": 4,
"line": 156
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "categories"
},
{
"location": {
"range": {
"end": {
"character": 86,
"line": 157
},
"start": {
"character": 16,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 157
},
"start": {
"character": 4,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "questions"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 162
},
"start": {
"character": 4,
"line": 162
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 29,
"line": 15
},
"start": {
"character": 19,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "session_id"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 39,
"line": 15
},
"start": {
"character": 31,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "wzws_cid"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 7,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 11,
"line": 19
},
"start": {
"character": 4,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "headers"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 8,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 27,
"line": 41
},
"start": {
"character": 17,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "session_id"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 37,
"line": 41
},
"start": {
"character": 29,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "wzws_cid"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 52,
"line": 41
},
"start": {
"character": 39,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "category_data"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 18,
"line": 42
},
"start": {
"character": 8,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "_get_child"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 7,
"line": 66
},
"start": {
"character": 4,
"line": 66
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 11,
"line": 68
},
"start": {
"character": 4,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "headers"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 81,
"line": 82
},
"start": {
"character": 11,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 85
},
"start": {
"character": 15,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 8,
"line": 89
},
"start": {
"character": 4,
"line": 89
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "keys"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 16,
"line": 90
},
"start": {
"character": 8,
"line": 90
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "children"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 91
},
"start": {
"character": 12,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "values"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 21,
"line": 92
},
"start": {
"character": 16,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "value"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 20,
"line": 93
},
"start": {
"character": 16,
"line": 93
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "keys"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 7,
"line": 116
},
"start": {
"character": 4,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 14,
"line": 117
},
"start": {
"character": 8,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 24,
"line": 117
},
"start": {
"character": 16,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "children"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 118
},
"start": {
"character": 8,
"line": 118
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 119
},
"start": {
"character": 12,
"line": 119
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "child"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 25,
"line": 119
},
"start": {
"character": 19,
"line": 119
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "values"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 21,
"line": 120
},
"start": {
"character": 16,
"line": 120
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "value"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 23,
"line": 121
},
"start": {
"character": 20,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "key"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 14,
"line": 126
},
"start": {
"character": 12,
"line": 126
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 127
},
"start": {
"character": 12,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 129
},
"start": {
"character": 8,
"line": 129
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_df"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 11,
"line": 130
},
"start": {
"character": 8,
"line": 130
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 6,
"line": 132
},
"start": {
"character": 4,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "df"
},
{
"containerName": "normalize",
"location": {
"range": {
"end": {
"character": 28,
"line": 142
},
"start": {
"character": 14,
"line": 142
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "normalized_key"
},
{
"containerName": "normalize",
"location": {
"range": {
"end": {
"character": 34,
"line": 142
},
"start": {
"character": 30,
"line": 142
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "keys"
},
{
"containerName": "normalize",
"location": {
"range": {
"end": {
"character": 18,
"line": 145
},
"start": {
"character": 8,
"line": 145
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 12,
"name": "_normalize"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 71,
"line": 157
},
"start": {
"character": 70,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "_get_child",
"location": {
"range": {
"end": {
"character": 24,
"line": 42
},
"start": {
"character": 19,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "child"
},
{
"containerName": "_get_child",
"location": {
"range": {
"end": {
"character": 15,
"line": 43
},
"start": {
"character": 8,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "_get_child",
"location": {
"range": {
"end": {
"character": 16,
"line": 45
},
"start": {
"character": 12,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "_get_child",
"location": {
"range": {
"end": {
"character": 19,
"line": 56
},
"start": {
"character": 12,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "results"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 54,
"line": 82
},
"start": {
"character": 49,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "child"
},
{
"containerName": "_normalize",
"location": {
"range": {
"end": {
"character": 20,
"line": 145
},
"start": {
"character": 19,
"line": 145
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "_normalize",
"location": {
"range": {
"end": {
"character": 61,
"line": 146
},
"start": {
"character": 37,
"line": 146
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 0,
"name": "<generator>"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 53,
"line": 146
},
"start": {
"character": 50,
"line": 146
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "key"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 29
},
"start": {
"character": 0,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 32
},
"start": {
"character": 0,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 14,
"name": "PRETRAINED_MODELS"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "is_pretrained_model"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 42
},
"start": {
"character": 4,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "build_model"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 4,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "format_params"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 94
},
"start": {
"character": 4,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "run_experiment"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 212
},
"start": {
"character": 4,
"line": 212
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "main"
},
{
"containerName": "is_pretrained_model",
"location": {
"range": {
"end": {
"character": 29,
"line": 38
},
"start": {
"character": 24,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "model"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 16,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 34,
"line": 42
},
"start": {
"character": 24,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "char_vocab"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 51,
"line": 42
},
"start": {
"character": 41,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "checkpoint"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 11,
"line": 44
},
"start": {
"character": 8,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "net"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 13,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "model"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 11,
"line": 54
},
"start": {
"character": 8,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "net"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 11,
"line": 58
},
"start": {
"character": 8,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "net"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 24,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 12,
"line": 76
},
"start": {
"character": 8,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 25,
"line": 94
},
"start": {
"character": 19,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 37,
"line": 94
},
"start": {
"character": 27,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "train_data"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 47,
"line": 94
},
"start": {
"character": 39,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "val_data"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 63,
"line": 94
},
"start": {
"character": 54,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "test_data"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 74,
"line": 94
},
"start": {
"character": 70,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "fold"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 4,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "original_params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 11,
"line": 116
},
"start": {
"character": 4,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "dataset"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 18,
"line": 124
},
"start": {
"character": 8,
"line": 124
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "char_vocab"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 23,
"line": 125
},
"start": {
"character": 8,
"line": 125
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "tokenizer_class"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 17,
"line": 126
},
"start": {
"character": 8,
"line": 126
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "tokenizer"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 18,
"line": 128
},
"start": {
"character": 8,
"line": 128
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "char_vocab"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 17,
"line": 131
},
"start": {
"character": 8,
"line": 131
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "tokenizer"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 17,
"line": 134
},
"start": {
"character": 5,
"line": 134
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "train_loader"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 29,
"line": 134
},
"start": {
"character": 19,
"line": 134
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "val_loader"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 42,
"line": 134
},
"start": {
"character": 31,
"line": 134
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "test_loader"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 7,
"line": 144
},
"start": {
"character": 4,
"line": 144
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "net"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 13,
"line": 145
},
"start": {
"character": 4,
"line": 145
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "optimizer"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 27,
"line": 145
},
"start": {
"character": 15,
"line": 145
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "lr_scheduler"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 11,
"line": 150
},
"start": {
"character": 4,
"line": 150
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "trainer"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 5,
"line": 170
},
"start": {
"character": 53,
"line": 160
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 160
},
"start": {
"character": 4,
"line": 160
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "train_evaluator"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 34,
"line": 160
},
"start": {
"character": 21,
"line": 160
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "val_evaluator"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 50,
"line": 160
},
"start": {
"character": 36,
"line": 160
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "test_evaluator"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 8,
"line": 205
},
"start": {
"character": 4,
"line": 205
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "args"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 10,
"line": 213
},
"start": {
"character": 4,
"line": 213
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 12,
"line": 215
},
"start": {
"character": 4,
"line": 215
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "datasets"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 14,
"line": 216
},
"start": {
"character": 4,
"line": 216
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "cv_results"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 169
},
"start": {
"character": 12,
"line": 169
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "name"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 11
},
"start": {
"character": 4,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 12,
"name": "get_chp_qa"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 59
},
"start": {
"character": 0,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question_answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 18,
"line": 11
},
"start": {
"character": 15,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "url"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 11,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "content"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 12,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "selector"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 12,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 11,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 20,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question_answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 12,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "item"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 25,
"line": 23
},
"start": {
"character": 12,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question_item"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 36,
"line": 27
},
"start": {
"character": 20,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question_answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 24,
"line": 36
},
"start": {
"character": 16,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 23,
"line": 39
},
"start": {
"character": 16,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 23,
"line": 41
},
"start": {
"character": 16,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 19,
"line": 43
},
"start": {
"character": 12,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "answers"
},
{
"containerName": "get_chp_qa",
"location": {
"range": {
"end": {
"character": 24,
"line": 46
},
"start": {
"character": 8,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 13,
"name": "question_answers"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 6
},
"start": {
"character": 0,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/setup.py"
},
"kind": 13,
"name": "install_requires"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/setup.py"
},
"kind": 13,
"name": "install_requires"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 11
},
"start": {
"character": 6,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "VectorizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 33,
"line": 34
},
"start": {
"character": 6,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "CounterVectroizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 31,
"line": 55
},
"start": {
"character": 6,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "TfidfVectroizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 61
},
"start": {
"character": 6,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "EmbeddingSimilarity"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 12
},
"start": {
"character": 8,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 18,
"line": 26
},
"start": {
"character": 8,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "preprocess"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 20,
"line": 29
},
"start": {
"character": 8,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "most_similar"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 39
},
"start": {
"character": 8,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 46
},
"start": {
"character": 8,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "TfidfVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 56
},
"start": {
"character": 8,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 62
},
"start": {
"character": 8,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 21,
"line": 67
},
"start": {
"character": 8,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "_load_vectors"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 8,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 92
},
"start": {
"character": 8,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 12
},
"start": {
"character": 17,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 12
},
"start": {
"character": 23,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 19
},
"start": {
"character": 18,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 19
},
"start": {
"character": 24,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 23
},
"start": {
"character": 20,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 23
},
"start": {
"character": 26,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 23,
"line": 26
},
"start": {
"character": 19,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 29,
"line": 26
},
"start": {
"character": 25,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "text"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 25,
"line": 29
},
"start": {
"character": 21,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 34,
"line": 29
},
"start": {
"character": 27,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "queries"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 37,
"line": 29
},
"start": {
"character": 36,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 15,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "vectors"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 35
},
"start": {
"character": 17,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 36,
"line": 35
},
"start": {
"character": 23,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "counter_class"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 62,
"line": 35
},
"start": {
"character": 56,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 64,
"line": 36
},
"start": {
"character": 53,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 87,
"line": 36
},
"start": {
"character": 76,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 39
},
"start": {
"character": 18,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 39
},
"start": {
"character": 24,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 40
},
"start": {
"character": 16,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 14,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 46
},
"start": {
"character": 20,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 26,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 48
},
"start": {
"character": 16,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 48
},
"start": {
"character": 8,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 56
},
"start": {
"character": 17,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 31,
"line": 56
},
"start": {
"character": 25,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 62
},
"start": {
"character": 17,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 62
},
"start": {
"character": 23,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 52,
"line": 62
},
"start": {
"character": 39,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding_dim"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 66,
"line": 62
},
"start": {
"character": 60,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 26,
"line": 67
},
"start": {
"character": 22,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 37,
"line": 67
},
"start": {
"character": 28,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 21,
"line": 69
},
"start": {
"character": 12,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 73
},
"start": {
"character": 24,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 74
},
"start": {
"character": 16,
"line": 74
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 13,
"line": 85
},
"start": {
"character": 12,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 14,
"line": 75
},
"start": {
"character": 8,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 92
},
"start": {
"character": 20,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 92
},
"start": {
"character": 26,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 94
},
"start": {
"character": 8,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 61,
"line": 36
},
"start": {
"character": 60,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 84,
"line": 36
},
"start": {
"character": 83,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 40
},
"start": {
"character": 40,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 48
},
"start": {
"character": 40,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 74
},
"start": {
"character": 40,
"line": 74
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 21,
"line": 81
},
"start": {
"character": 20,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 26,
"line": 84
},
"start": {
"character": 20,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "tokens"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 33,
"line": 80
},
"start": {
"character": 28,
"line": 80
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "token"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 2
},
"start": {
"character": 0,
"line": 2
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "__all__"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 12,
"name": "build_recall_answerers"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 14,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "faq_corpus"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 25,
"line": 13
},
"start": {
"character": 16,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "tokenizer"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 37,
"line": 13
},
"start": {
"character": 32,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "count"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 49,
"line": 13
},
"start": {
"character": 44,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "tfidf"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 65,
"line": 13
},
"start": {
"character": 56,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 13,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "answerers"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 17,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "answerers"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 17,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "answerers"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 17,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "answerers"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 4
},
"start": {
"character": 0,
"line": 4
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/data.py"
},
"kind": 14,
"name": "DATA_DIR"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 12
},
"start": {
"character": 6,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "VectorizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 33,
"line": 39
},
"start": {
"character": 6,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "CounterVectroizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 31,
"line": 76
},
"start": {
"character": 6,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "TfidfVectroizedSimilarity"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 83
},
"start": {
"character": 6,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 5,
"name": "EmbeddingSimilarity"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 21
},
"start": {
"character": 8,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "preprocess"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 20,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "most_similar"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 15,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "project"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 59
},
"start": {
"character": 8,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 67
},
"start": {
"character": 8,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "TfidfVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 77
},
"start": {
"character": 8,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 16,
"line": 84
},
"start": {
"character": 8,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 21,
"line": 89
},
"start": {
"character": 8,
"line": 89
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "_load_vectors"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 17,
"line": 95
},
"start": {
"character": 8,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "vectorize"
},
{
"containerName": "EmbeddingSimilarity",
"location": {
"range": {
"end": {
"character": 19,
"line": 114
},
"start": {
"character": 8,
"line": 114
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "build_index"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 17,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 13
},
"start": {
"character": 36,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "preprocess_function"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 21
},
"start": {
"character": 18,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 21
},
"start": {
"character": 24,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 25
},
"start": {
"character": 20,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 25
},
"start": {
"character": 26,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 23,
"line": 28
},
"start": {
"character": 19,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 39,
"line": 28
},
"start": {
"character": 25,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "text_or_tokens"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 25,
"line": 34
},
"start": {
"character": 21,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 34,
"line": 34
},
"start": {
"character": 27,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "queries"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 37,
"line": 34
},
"start": {
"character": 36,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "most_similar",
"location": {
"range": {
"end": {
"character": 15,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "vectors"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 40
},
"start": {
"character": 17,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 33,
"line": 40
},
"start": {
"character": 23,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "vectorizer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 50,
"line": 40
},
"start": {
"character": 40,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "projection"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 64,
"line": 40
},
"start": {
"character": 58,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 40,
"line": 43
},
"start": {
"character": 29,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 63,
"line": 43
},
"start": {
"character": 52,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 12,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "vectorizer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 47
},
"start": {
"character": 12,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "projection"
},
{
"containerName": "project",
"location": {
"range": {
"end": {
"character": 20,
"line": 51
},
"start": {
"character": 16,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "project",
"location": {
"range": {
"end": {
"character": 28,
"line": 51
},
"start": {
"character": 22,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "project",
"location": {
"range": {
"end": {
"character": 35,
"line": 51
},
"start": {
"character": 30,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "train"
},
{
"containerName": "project",
"location": {
"range": {
"end": {
"character": 18,
"line": 55
},
"start": {
"character": 12,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 59
},
"start": {
"character": 18,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 59
},
"start": {
"character": 24,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 36,
"line": 59
},
"start": {
"character": 31,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "train"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 60
},
"start": {
"character": 16,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 14,
"line": 61
},
"start": {
"character": 8,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 67
},
"start": {
"character": 20,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 67
},
"start": {
"character": 26,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 69
},
"start": {
"character": 16,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 71
},
"start": {
"character": 8,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 77
},
"start": {
"character": 17,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 31,
"line": 77
},
"start": {
"character": 25,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 56,
"line": 78
},
"start": {
"character": 45,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 79,
"line": 78
},
"start": {
"character": 68,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 13,
"line": 78
},
"start": {
"character": 8,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "tfidf"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 84
},
"start": {
"character": 17,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 84
},
"start": {
"character": 23,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 52,
"line": 84
},
"start": {
"character": 39,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding_dim"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 66,
"line": 84
},
"start": {
"character": 60,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 26,
"line": 89
},
"start": {
"character": 22,
"line": 89
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 37,
"line": 89
},
"start": {
"character": 28,
"line": 89
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "_load_vectors",
"location": {
"range": {
"end": {
"character": 21,
"line": 91
},
"start": {
"character": 12,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "embedding"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 22,
"line": 95
},
"start": {
"character": 18,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 29,
"line": 95
},
"start": {
"character": 24,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 96
},
"start": {
"character": 16,
"line": 96
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 13,
"line": 107
},
"start": {
"character": 12,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 14,
"line": 97
},
"start": {
"character": 8,
"line": 97
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "matrix"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 24,
"line": 114
},
"start": {
"character": 20,
"line": 114
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 114
},
"start": {
"character": 26,
"line": 114
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 116
},
"start": {
"character": 16,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 116
},
"start": {
"character": 8,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "texts"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 13,
"line": 117
},
"start": {
"character": 8,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "index"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 37,
"line": 43
},
"start": {
"character": 36,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 60,
"line": 43
},
"start": {
"character": 59,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 60
},
"start": {
"character": 40,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 69
},
"start": {
"character": 40,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 53,
"line": 78
},
"start": {
"character": 52,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 76,
"line": 78
},
"start": {
"character": 75,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 96
},
"start": {
"character": 40,
"line": 96
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 21,
"line": 103
},
"start": {
"character": 20,
"line": 100
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 26,
"line": 106
},
"start": {
"character": 20,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "tokens"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 41,
"line": 116
},
"start": {
"character": 40,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "x"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 33,
"line": 102
},
"start": {
"character": 28,
"line": 102
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "token"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 6
},
"start": {
"character": 0,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "logger"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 9
},
"start": {
"character": 6,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 5,
"name": "SemanticFAQAnswerer"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 31,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "_deduplicate_candidates"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 15,
"line": 20
},
"start": {
"character": 8,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "_filter"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 13,
"line": 38
},
"start": {
"character": 8,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "_rank"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 14,
"line": 45
},
"start": {
"character": 8,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 10
},
"start": {
"character": 17,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 39,
"line": 10
},
"start": {
"character": 34,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "model"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 59,
"line": 10
},
"start": {
"character": 41,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "similarity_filters"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 30,
"line": 14
},
"start": {
"character": 12,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "similarity_filters"
},
{
"containerName": "_deduplicate_candidates",
"location": {
"range": {
"end": {
"character": 36,
"line": 17
},
"start": {
"character": 32,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_deduplicate_candidates",
"location": {
"range": {
"end": {
"character": 48,
"line": 17
},
"start": {
"character": 38,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidates"
},
{
"containerName": "_deduplicate_candidates",
"location": {
"range": {
"end": {
"character": 49,
"line": 18
},
"start": {
"character": 20,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 20,
"line": 20
},
"start": {
"character": 16,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 30,
"line": 20
},
"start": {
"character": 22,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 33,
"line": 20
},
"start": {
"character": 32,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 18,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidates"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 29,
"line": 25
},
"start": {
"character": 12,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "similarity_filter"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 32,
"line": 26
},
"start": {
"character": 12,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidates_by_filter"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 22,
"line": 27
},
"start": {
"character": 12,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidates"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 25,
"line": 29
},
"start": {
"character": 16,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidate"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 18,
"line": 38
},
"start": {
"character": 14,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 28,
"line": 38
},
"start": {
"character": 20,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 38,
"line": 38
},
"start": {
"character": 30,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "qa_pairs"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 21,
"line": 39
},
"start": {
"character": 8,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "rank_function"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 25,
"line": 41
},
"start": {
"character": 12,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "rank_function"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 45
},
"start": {
"character": 15,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 45
},
"start": {
"character": 21,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 45
},
"start": {
"character": 31,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 49,
"line": 45
},
"start": {
"character": 36,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "recall_factor"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 18,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidates"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 14,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "scores"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 72,
"line": 51
},
"start": {
"character": 57,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 12,
"name": "<lambda>"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "score"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 28,
"line": 54
},
"start": {
"character": 19,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "candidate"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 34,
"line": 18
},
"start": {
"character": 33,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "c"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 65,
"line": 51
},
"start": {
"character": 64,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "x"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 7
},
"start": {
"character": 6,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 5,
"name": "Answerer"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 13
},
"start": {
"character": 6,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 5,
"name": "FAQAnswerer"
},
{
"containerName": "Answerer",
"location": {
"range": {
"end": {
"character": 14,
"line": 9
},
"start": {
"character": 8,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 9,
"name": "__init__"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 14,
"line": 20
},
"start": {
"character": 8,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 6,
"name": "answer"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 9
},
"start": {
"character": 15,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 9
},
"start": {
"character": 21,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 9
},
"start": {
"character": 31,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 44,
"line": 9
},
"start": {
"character": 38,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "kwargs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 14
},
"start": {
"character": 17,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 19,
"line": 20
},
"start": {
"character": 15,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 29,
"line": 20
},
"start": {
"character": 21,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "question"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 32,
"line": 20
},
"start": {
"character": 31,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "k"
},
{
"containerName": "__repr__",
"location": {
"range": {
"end": {
"character": 21,
"line": 23
},
"start": {
"character": 17,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "self"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "load_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "preprocess"
},
{
"location": {
"range": {
"end": {
"character": 7,
"line": 27
},
"start": {
"character": 0,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "dirname"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pairs"
}
]
[Trace - 09:29:22 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 34
}
[Trace - 09:29:22 PM] Sending request 'workspace/symbol - (35)'.
Params: {
"query": "p"
}
[Trace - 09:29:22 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 484.0,
"elapsedMs": 49.7091
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:22 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 35
}
[Trace - 09:29:22 PM] Sending request 'workspace/symbol - (36)'.
Params: {
"query": "pa"
}
[Trace - 09:29:22 PM] Received response 'nil - (35)' in 0ms.
Result: [
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/base.py"
},
"kind": 13,
"name": "corpus"
},
{
"location": {
"range": {
"end": {
"character": 4,
"line": 7
},
"start": {
"character": 0,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 14
},
"start": {
"character": 18,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 17
},
"start": {
"character": 18,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 26
},
"start": {
"character": 4,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 34
},
"start": {
"character": 22,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 37
},
"start": {
"character": 22,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 49
},
"start": {
"character": 28,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 52
},
"start": {
"character": 28,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 62
},
"start": {
"character": 17,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_category.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 31,
"line": 56
},
"start": {
"character": 30,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "p"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 29
},
"start": {
"character": 6,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 55
},
"start": {
"character": 8,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 6
},
"start": {
"character": 30,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 6
},
"start": {
"character": 40,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 26,
"line": 12
},
"start": {
"character": 20,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 35,
"line": 17
},
"start": {
"character": 22,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "join_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 30
},
"start": {
"character": 30,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 33
},
"start": {
"character": 12,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 14,
"line": 42
},
"start": {
"character": 8,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 25,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 22,
"line": 47
},
"start": {
"character": 16,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 18,
"line": 49
},
"start": {
"character": 12,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "splits"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 56
},
"start": {
"character": 4,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "get_disease_page"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 130
},
"start": {
"character": 4,
"line": 130
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "processed"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 5,
"line": 41
},
"start": {
"character": 11,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_disease_links_by_category",
"location": {
"range": {
"end": {
"character": 5,
"line": 53
},
"start": {
"character": 11,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 15,
"line": 115
},
"start": {
"character": 4,
"line": 115
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 13,
"name": "description"
},
{
"containerName": "get_disease_page",
"location": {
"range": {
"end": {
"character": 82,
"line": 121
},
"start": {
"character": 23,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 31,
"line": 65
},
"start": {
"character": 30,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "p"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 9
},
"start": {
"character": 6,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "SimpleClient"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 38
},
"start": {
"character": 6,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 68
},
"start": {
"character": 6,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 108
},
"start": {
"character": 12,
"line": 108
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 110
},
"start": {
"character": 48,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 110
},
"start": {
"character": 0,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 111
},
"start": {
"character": 0,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 125
},
"start": {
"character": 11,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 121
},
"start": {
"character": 0,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 58,
"line": 127
},
"start": {
"character": 27,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 127
},
"start": {
"character": 0,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 64
},
"start": {
"character": 8,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "Pattern",
"location": {
"range": {
"end": {
"character": 16,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 18,
"line": 123
},
"start": {
"character": 13,
"line": 123
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 124
},
"start": {
"character": 8,
"line": 124
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 42,
"line": 10
},
"start": {
"character": 34,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 63,
"line": 32
},
"start": {
"character": 19,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 39
},
"start": {
"character": 30,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 42
},
"start": {
"character": 12,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 43
},
"start": {
"character": 12,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 14,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 53
},
"start": {
"character": 25,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 22,
"line": 56
},
"start": {
"character": 16,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 18,
"line": 58
},
"start": {
"character": 12,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "splits"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 69
},
"start": {
"character": 30,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 69
},
"start": {
"character": 40,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "valid",
"location": {
"range": {
"end": {
"character": 26,
"line": 75
},
"start": {
"character": 20,
"line": 75
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "inputs"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 17,
"line": 20
},
"start": {
"character": 12,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 45,
"line": 25
},
"start": {
"character": 40,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 20,
"line": 30
},
"start": {
"character": 12,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "response"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "mapping"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 27
},
"start": {
"character": 68,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pair"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 45
},
"start": {
"character": 6,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 5,
"name": "FAQCorpus"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 64
},
"start": {
"character": 6,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 5,
"name": "JSONFAQCorpus"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 12,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "copy"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 16,
"line": 21
},
"start": {
"character": 8,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 17,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "fromtuple"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "load_corpus"
},
{
"containerName": "JSONFAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 71
},
"start": {
"character": 8,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 6,
"name": "load_corpus"
},
{
"containerName": "fromtuple",
"location": {
"range": {
"end": {
"character": 29,
"line": 31
},
"start": {
"character": 23,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 23,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 77
},
"start": {
"character": 20,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 27,
"line": 85
},
"start": {
"character": 23,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 86
},
"start": {
"character": 20,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 25,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "_prepare_question"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 11
},
"start": {
"character": 23,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 48
},
"start": {
"character": 23,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 12,
"line": 67
},
"start": {
"character": 8,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "answer",
"location": {
"range": {
"end": {
"character": 65,
"line": 71
},
"start": {
"character": 18,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 27,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_chip2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 36,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 66
},
"start": {
"character": 4,
"line": 66
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 68
},
"start": {
"character": 4,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 69
},
"start": {
"character": 4,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 34,
"line": 14
},
"start": {
"character": 24,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_dateaset",
"location": {
"range": {
"end": {
"character": 13,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "swap_prob"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 37,
"line": 32
},
"start": {
"character": 28,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "create_ncov2019_dataset",
"location": {
"range": {
"end": {
"character": 49,
"line": 32
},
"start": {
"character": 39,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 37,
"line": 38
},
"start": {
"character": 28,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "create_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 49,
"line": 38
},
"start": {
"character": 39,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 63,
"line": 43
},
"start": {
"character": 51,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 75,
"line": 43
},
"start": {
"character": 65,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_chip2019_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 45
},
"start": {
"character": 4,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 30,
"line": 51
},
"start": {
"character": 18,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019_dir"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 42,
"line": 51
},
"start": {
"character": 32,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "create_ncov2019_chip2019_separate_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 13,
"name": "chip2019"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 15
},
"start": {
"character": 0,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 13,
"name": "corpus"
},
{
"location": {
"range": {
"end": {
"character": 53,
"line": 23
},
"start": {
"character": 15,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 27
},
"start": {
"character": 15,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 49,
"line": 31
},
"start": {
"character": 15,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 40,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 59,
"line": 19
},
"start": {
"character": 17,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_tokenize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 8,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "_get_article",
"location": {
"range": {
"end": {
"character": 12,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 28
},
"start": {
"character": 12,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 30
},
"start": {
"character": 48,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 30
},
"start": {
"character": 0,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 31
},
"start": {
"character": 0,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 1,
"line": 41
},
"start": {
"character": 11,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 37
},
"start": {
"character": 0,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 58,
"line": 43
},
"start": {
"character": 27,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 0,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 45
},
"start": {
"character": 14,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 51
},
"start": {
"character": 0,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "has_pattern"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 18,
"line": 39
},
"start": {
"character": 13,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 8
},
"start": {
"character": 12,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 30,
"line": 14
},
"start": {
"character": 25,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 56
},
"start": {
"character": 4,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "output_dir"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 59
},
"start": {
"character": 13,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pair"
},
{
"location": {
"range": {
"end": {
"character": 22,
"line": 61
},
"start": {
"character": 15,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "example"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 62
},
"start": {
"character": 12,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "output_file"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 5,
"line": 18
},
"start": {
"character": 19,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "get_similar_questions",
"location": {
"range": {
"end": {
"character": 8,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 68,
"line": 49
},
"start": {
"character": 35,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 82,
"line": 53
},
"start": {
"character": 15,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 67,
"line": 54
},
"start": {
"character": 15,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 73,
"line": 58
},
"start": {
"character": 26,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 51,
"line": 187
},
"start": {
"character": 15,
"line": 187
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 51,
"line": 188
},
"start": {
"character": 15,
"line": 188
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 289
},
"start": {
"character": 15,
"line": 289
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 79,
"line": 290
},
"start": {
"character": 15,
"line": 290
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 291
},
"start": {
"character": 15,
"line": 291
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 77,
"line": 292
},
"start": {
"character": 15,
"line": 292
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 79,
"line": 293
},
"start": {
"character": 15,
"line": 293
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 10,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "regexp"
},
{
"containerName": "remove_if_question_contains",
"location": {
"range": {
"end": {
"character": 64,
"line": 19
},
"start": {
"character": 11,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "remove_if_any_tag_contains",
"location": {
"range": {
"end": {
"character": 10,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/clean_zhidao_questions.py"
},
"kind": 13,
"name": "regexp"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 8
},
"start": {
"character": 12,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "finditer",
"location": {
"range": {
"end": {
"character": 30,
"line": 14
},
"start": {
"character": 25,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/pattern.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 15,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "dropout"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 52,
"line": 25
},
"start": {
"character": 12,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 28,
"line": 45
},
"start": {
"character": 22,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 14,
"line": 54
},
"start": {
"character": 8,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "packed"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 25,
"line": 72
},
"start": {
"character": 19,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "inputs"
},
{
"containerName": "loss",
"location": {
"range": {
"end": {
"character": 59,
"line": 72
},
"start": {
"character": 44,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "input_is_logits"
},
{
"location": {
"range": {
"end": {
"character": 39,
"line": 17
},
"start": {
"character": 12,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 78,
"line": 19
},
"start": {
"character": 48,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 19
},
"start": {
"character": 0,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 69,
"line": 21
},
"start": {
"character": 15,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 21
},
"start": {
"character": 0,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 13,
"name": "entity_types"
},
{
"containerName": "<lambda>",
"location": {
"range": {
"end": {
"character": 55,
"line": 23
},
"start": {
"character": 14,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_label_data.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 86,
"line": 157
},
"start": {
"character": 16,
"line": 157
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 8,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_category",
"location": {
"range": {
"end": {
"character": 81,
"line": 82
},
"start": {
"character": 11,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 14,
"line": 117
},
"start": {
"character": 8,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 118
},
"start": {
"character": 8,
"line": 118
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 127
},
"start": {
"character": 12,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 129
},
"start": {
"character": 8,
"line": 129
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_df"
},
{
"containerName": "_get_child",
"location": {
"range": {
"end": {
"character": 16,
"line": 45
},
"start": {
"character": 12,
"line": 45
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "resp"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 32
},
"start": {
"character": 0,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 14,
"name": "PRETRAINED_MODELS"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "is_pretrained_model"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 4,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "format_params"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 94
},
"start": {
"character": 4,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "run_experiment"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 16,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 51,
"line": 42
},
"start": {
"character": 41,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "checkpoint"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 24,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 12,
"line": 76
},
"start": {
"character": 8,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 25,
"line": 94
},
"start": {
"character": 19,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 4,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "original_params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 13,
"line": 145
},
"start": {
"character": 4,
"line": 145
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "optimizer"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 5,
"line": 170
},
"start": {
"character": 53,
"line": 160
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 10,
"line": 213
},
"start": {
"character": 4,
"line": 213
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 11
},
"start": {
"character": 4,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 12,
"name": "get_chp_qa"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 18,
"line": 26
},
"start": {
"character": 8,
"line": 26
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "preprocess"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 12
},
"start": {
"character": 23,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 23
},
"start": {
"character": 26,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 40
},
"start": {
"character": 16,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 26,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 48
},
"start": {
"character": 16,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 74
},
"start": {
"character": 16,
"line": 74
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 13,
"line": 85
},
"start": {
"character": 12,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 92
},
"start": {
"character": 26,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 21,
"line": 81
},
"start": {
"character": 20,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_recall_answerers",
"location": {
"range": {
"end": {
"character": 14,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/__init__.py"
},
"kind": 13,
"name": "faq_corpus"
},
{
"containerName": "VectorizedSimilarity",
"location": {
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "preprocess"
},
{
"containerName": "CounterVectroizedSimilarity",
"location": {
"range": {
"end": {
"character": 15,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 6,
"name": "project"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 13
},
"start": {
"character": 36,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "preprocess_function"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 25
},
"start": {
"character": 26,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 50,
"line": 40
},
"start": {
"character": 40,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "projection"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 47
},
"start": {
"character": 12,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "projection"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 60
},
"start": {
"character": 16,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 67
},
"start": {
"character": 26,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 69
},
"start": {
"character": 16,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 51,
"line": 96
},
"start": {
"character": 16,
"line": 96
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 13,
"line": 107
},
"start": {
"character": 12,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 32,
"line": 114
},
"start": {
"character": 26,
"line": 114
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_index",
"location": {
"range": {
"end": {
"character": 57,
"line": 116
},
"start": {
"character": 16,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 21,
"line": 103
},
"start": {
"character": 20,
"line": 100
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/similarity/unsupervised.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 31,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "_deduplicate_candidates"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "_deduplicate_candidates",
"location": {
"range": {
"end": {
"character": 49,
"line": 18
},
"start": {
"character": 20,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 38,
"line": 38
},
"start": {
"character": 30,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "qa_pairs"
},
{
"containerName": "FAQAnswerer",
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "load_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "preprocess"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 36
},
"start": {
"character": 8,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "load_pairs",
"location": {
"range": {
"end": {
"character": 5,
"line": 13
},
"start": {
"character": 19,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 29
},
"start": {
"character": 0,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_format_data.py"
},
"kind": 13,
"name": "input_file"
},
{
"containerName": "format_ner_data",
"location": {
"range": {
"end": {
"character": 19,
"line": 13
},
"start": {
"character": 14,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_format_data.py"
},
"kind": 13,
"name": "type_"
},
{
"containerName": "check_ner_data",
"location": {
"range": {
"end": {
"character": 26,
"line": 21
},
"start": {
"character": 19,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/medqa_ner_format_data.py"
},
"kind": 13,
"name": "example"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 5,
"name": "QuestionType"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 24,
"line": 7
},
"start": {
"character": 4,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "PATHOGENY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "SYMPTOM_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "DISEASE_BY_SYMPTOM"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 31,
"line": 18
},
"start": {
"character": 4,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "CURE_PROBABILITY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 27,
"line": 19
},
"start": {
"character": 4,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "COMPLICATION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 26,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "DESCRIPTION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 25,
"line": 24
},
"start": {
"character": 4,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "PRECAUTION_BY_DISEASE"
},
{
"containerName": "_walk",
"location": {
"range": {
"end": {
"character": 19,
"line": 30
},
"start": {
"character": 12,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "dirpath"
},
{
"containerName": "detect",
"location": {
"range": {
"end": {
"character": 13,
"line": 77
},
"start": {
"character": 8,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "walk",
"location": {
"range": {
"end": {
"character": 14,
"line": 82
},
"start": {
"character": 4,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "duplicates"
},
{
"containerName": "walk",
"location": {
"range": {
"end": {
"character": 13,
"line": 83
},
"start": {
"character": 8,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "_hash_files_by_size",
"location": {
"range": {
"end": {
"character": 25,
"line": 46
},
"start": {
"character": 16,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "full_path"
},
{
"containerName": "_hash_files",
"location": {
"range": {
"end": {
"character": 31,
"line": 55
},
"start": {
"character": 20,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "file_groups"
},
{
"containerName": "_hash_files",
"location": {
"range": {
"end": {
"character": 17,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 11
},
"start": {
"character": 8,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/data/neo.py"
},
"kind": 13,
"name": "encrypted"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 63,
"line": 20
},
"start": {
"character": 19,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/data/neo.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "inspect_data"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "augment_similar_pairs"
},
{
"containerName": "inspect_data",
"location": {
"range": {
"end": {
"character": 65,
"line": 29
},
"start": {
"character": 28,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "inspect_data",
"location": {
"range": {
"end": {
"character": 63,
"line": 33
},
"start": {
"character": 28,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "inspect_data",
"location": {
"range": {
"end": {
"character": 57,
"line": 37
},
"start": {
"character": 16,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "inspect_data",
"location": {
"range": {
"end": {
"character": 58,
"line": 41
},
"start": {
"character": 16,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_vocab",
"location": {
"range": {
"end": {
"character": 18,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "special_tokens"
},
{
"containerName": "build_vocab",
"location": {
"range": {
"end": {
"character": 15,
"line": 49
},
"start": {
"character": 8,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "example"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 13,
"line": 60
},
"start": {
"character": 4,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "group_ids"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 15,
"line": 62
},
"start": {
"character": 8,
"line": 62
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "example"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 5,
"line": 88
},
"start": {
"character": 13,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 10,
"line": 83
},
"start": {
"character": 4,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "groups"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 15,
"line": 92
},
"start": {
"character": 8,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "example"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 22,
"line": 104
},
"start": {
"character": 16,
"line": 104
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "copied"
},
{
"containerName": "augment_similar_pairs",
"location": {
"range": {
"end": {
"character": 22,
"line": 116
},
"start": {
"character": 16,
"line": 116
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "copied"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 65,
"line": 127
},
"start": {
"character": 28,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 13,
"line": 129
},
"start": {
"character": 4,
"line": 129
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "positives"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 15,
"line": 130
},
"start": {
"character": 8,
"line": 130
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "example"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 21,
"line": 134
},
"start": {
"character": 12,
"line": 134
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "positives"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 23,
"line": 135
},
"start": {
"character": 4,
"line": 135
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "augmented_positives"
},
{
"containerName": "augment_data",
"location": {
"range": {
"end": {
"character": 65,
"line": 140
},
"start": {
"character": 28,
"line": 140
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 40,
"line": 84
},
"start": {
"character": 13,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "<dict comprehension>",
"location": {
"range": {
"end": {
"character": 22,
"line": 85
},
"start": {
"character": 17,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "group"
},
{
"containerName": "get_dataset",
"location": {
"range": {
"end": {
"character": 68,
"line": 154
},
"start": {
"character": 59,
"line": 154
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "swap_prob"
},
{
"containerName": "search_disease_info",
"location": {
"range": {
"end": {
"character": 12,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "search_disease_info",
"location": {
"range": {
"end": {
"character": 81,
"line": 33
},
"start": {
"character": 15,
"line": 33
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "search_guide_info",
"location": {
"range": {
"end": {
"character": 12,
"line": 44
},
"start": {
"character": 8,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "search_guide_info",
"location": {
"range": {
"end": {
"character": 81,
"line": 46
},
"start": {
"character": 15,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "search_clinical_info",
"location": {
"range": {
"end": {
"character": 12,
"line": 60
},
"start": {
"character": 8,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "search_clinical_info",
"location": {
"range": {
"end": {
"character": 84,
"line": 61
},
"start": {
"character": 18,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/kb_elastic.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 31,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/semantic.py"
},
"kind": 6,
"name": "_deduplicate_candidates"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/semantic.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "_deduplicate_candidates",
"location": {
"range": {
"end": {
"character": 49,
"line": 18
},
"start": {
"character": 20,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/semantic.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "_filter",
"location": {
"range": {
"end": {
"character": 13,
"line": 28
},
"start": {
"character": 12,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/semantic.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_who_qa",
"location": {
"range": {
"end": {
"character": 42,
"line": 39
},
"start": {
"character": 11,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/who.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "_extract_qa",
"location": {
"range": {
"end": {
"character": 9,
"line": 24
},
"start": {
"character": 18,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/who.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 12,
"name": "get_by_page"
},
{
"containerName": "get_by_page",
"location": {
"range": {
"end": {
"character": 12,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_by_page",
"location": {
"range": {
"end": {
"character": 12,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 13,
"name": "page"
},
{
"containerName": "get_by_page",
"location": {
"range": {
"end": {
"character": 76,
"line": 56
},
"start": {
"character": 20,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 17
},
"start": {
"character": 0,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 14,
"name": "CONTENT_TYPES"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "format_page"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 113
},
"start": {
"character": 4,
"line": 113
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_page"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 139
},
"start": {
"character": 4,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_expert_pages"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 152
},
"start": {
"character": 4,
"line": 152
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_expert_faq_page"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 20,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "content_type"
},
{
"containerName": "get_categories",
"location": {
"range": {
"end": {
"character": 9,
"line": 44
},
"start": {
"character": 25,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 8,
"line": 115
},
"start": {
"character": 4,
"line": 115
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 12,
"line": 120
},
"start": {
"character": 8,
"line": 120
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 13,
"line": 132
},
"start": {
"character": 4,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "get_expert_pages",
"location": {
"range": {
"end": {
"character": 10,
"line": 140
},
"start": {
"character": 4,
"line": 140
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_pages",
"location": {
"range": {
"end": {
"character": 8,
"line": 141
},
"start": {
"character": 4,
"line": 141
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 28,
"line": 152
},
"start": {
"character": 24,
"line": 152
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "page"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 20,
"line": 153
},
"start": {
"character": 8,
"line": 153
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_format_pair"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 10,
"line": 169
},
"start": {
"character": 4,
"line": 169
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 8,
"line": 170
},
"start": {
"character": 4,
"line": 170
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "resp"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 46,
"line": 184
},
"start": {
"character": 12,
"line": 184
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 9,
"line": 184
},
"start": {
"character": 4,
"line": 184
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 20,
"line": 202
},
"start": {
"character": 4,
"line": 202
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "expert_faq_pages"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 23,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_parse_text"
},
{
"containerName": "_parse_text",
"location": {
"range": {
"end": {
"character": 29,
"line": 52
},
"start": {
"character": 24,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "xpath"
},
{
"containerName": "_parse_text",
"location": {
"range": {
"end": {
"character": 27,
"line": 69
},
"start": {
"character": 24,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "sep"
},
{
"containerName": "_parse_text",
"location": {
"range": {
"end": {
"character": 27,
"line": 71
},
"start": {
"character": 24,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "sep"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 18,
"line": 18
},
"start": {
"character": 8,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "preprocess"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 8
},
"start": {
"character": 23,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 46
},
"start": {
"character": 0,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_labeler.py"
},
"kind": 13,
"name": "input_dir"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 47
},
"start": {
"character": 0,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_labeler.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "label",
"location": {
"range": {
"end": {
"character": 19,
"line": 13
},
"start": {
"character": 10,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_labeler.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "label",
"location": {
"range": {
"end": {
"character": 31,
"line": 13
},
"start": {
"character": 21,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_labeler.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "label",
"location": {
"range": {
"end": {
"character": 19,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_labeler.py"
},
"kind": 13,
"name": "output_file"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 17,
"line": 11
},
"start": {
"character": 8,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/data/neo.py"
},
"kind": 13,
"name": "encrypted"
},
{
"containerName": "read",
"location": {
"range": {
"end": {
"character": 63,
"line": 20
},
"start": {
"character": 19,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/data/neo.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 59
},
"start": {
"character": 0,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "examples"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 67
},
"start": {
"character": 0,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "pretrained_model"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 83
},
"start": {
"character": 0,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "optimizer"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 91
},
"start": {
"character": 8,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "output"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 99
},
"start": {
"character": 8,
"line": 99
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "y_pred"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 12,
"name": "preprocess"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 25,
"line": 16
},
"start": {
"character": 15,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "input_file"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 38,
"line": 16
},
"start": {
"character": 27,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "output_file"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 60,
"line": 16
},
"start": {
"character": 56,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "pool"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 12,
"line": 65
},
"start": {
"character": 8,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 44,
"line": 73
},
"start": {
"character": 15,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 5,
"line": 80
},
"start": {
"character": 15,
"line": 74
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 62,
"line": 81
},
"start": {
"character": 15,
"line": 81
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 13,
"line": 92
},
"start": {
"character": 4,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "input_dir"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 14,
"line": 93
},
"start": {
"character": 4,
"line": 93
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "output_dir"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 13,
"line": 98
},
"start": {
"character": 4,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 8,
"line": 99
},
"start": {
"character": 4,
"line": 99
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "pool"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 18,
"line": 100
},
"start": {
"character": 8,
"line": 100
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "input_file"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 19,
"line": 103
},
"start": {
"character": 8,
"line": 103
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "output_file"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 17,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "_clean",
"location": {
"range": {
"end": {
"character": 81,
"line": 53
},
"start": {
"character": 26,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 69,
"line": 8
},
"start": {
"character": 6,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/merge.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_answer_recallers",
"location": {
"range": {
"end": {
"character": 14,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/__init__.py"
},
"kind": 13,
"name": "faq_corpus"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 4
},
"start": {
"character": 4,
"line": 4
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/.ropeproject/config.py"
},
"kind": 12,
"name": "set_prefs"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 111
},
"start": {
"character": 4,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/.ropeproject/config.py"
},
"kind": 12,
"name": "project_opened"
},
{
"containerName": "set_prefs",
"location": {
"range": {
"end": {
"character": 19,
"line": 4
},
"start": {
"character": 14,
"line": 4
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/.ropeproject/config.py"
},
"kind": 13,
"name": "prefs"
},
{
"containerName": "project_opened",
"location": {
"range": {
"end": {
"character": 26,
"line": 111
},
"start": {
"character": 19,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/.ropeproject/config.py"
},
"kind": 13,
"name": "project"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 5,
"name": "QuestionType"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 24,
"line": 7
},
"start": {
"character": 4,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "PATHOGENY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "SYMPTOM_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "DISEASE_BY_SYMPTOM"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 31,
"line": 18
},
"start": {
"character": 4,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "CURE_PROBABILITY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 27,
"line": 19
},
"start": {
"character": 4,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "COMPLICATION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 26,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "DESCRIPTION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 25,
"line": 24
},
"start": {
"character": 4,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "PRECAUTION_BY_DISEASE"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 8
},
"start": {
"character": 0,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_vectorize.py"
},
"kind": 13,
"name": "corpus"
},
{
"location": {
"range": {
"end": {
"character": 50,
"line": 12
},
"start": {
"character": 12,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/test_vectorize.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 43,
"line": 41
},
"start": {
"character": 16,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 82,
"line": 43
},
"start": {
"character": 52,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 27,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 31,
"line": 48
},
"start": {
"character": 8,
"line": 48
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 50
},
"start": {
"character": 0,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 78
},
"start": {
"character": 4,
"line": 78
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "split"
},
{
"location": {
"range": {
"end": {
"character": 43,
"line": 83
},
"start": {
"character": 9,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 88
},
"start": {
"character": 0,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 46,
"line": 97
},
"start": {
"character": 12,
"line": 97
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 67,
"line": 98
},
"start": {
"character": 12,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 108
},
"start": {
"character": 0,
"line": 108
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "test_sampler"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 109
},
"start": {
"character": 0,
"line": 109
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "dev_sampler"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 110
},
"start": {
"character": 0,
"line": 110
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "train_sampler"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 150
},
"start": {
"character": 0,
"line": 150
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "optimizer"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 85,
"line": 41
},
"start": {
"character": 29,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 58,
"line": 47
},
"start": {
"character": 17,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_preprocess.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 72,
"line": 50
},
"start": {
"character": 37,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 48,
"line": 61
},
"start": {
"character": 10,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "read_questions",
"location": {
"range": {
"end": {
"character": 21,
"line": 25
},
"start": {
"character": 48,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_preprocess.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 106
},
"start": {
"character": 4,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 10,
"line": 122
},
"start": {
"character": 4,
"line": 122
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "corpus"
},
{
"location": {
"range": {
"end": {
"character": 32,
"line": 124
},
"start": {
"character": 24,
"line": 124
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "examples"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 25,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 20,
"line": 21
},
"start": {
"character": 12,
"line": 21
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "response"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 24,
"line": 28
},
"start": {
"character": 18,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 11,
"line": 32
},
"start": {
"character": 4,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "mapping"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 5,
"line": 53
},
"start": {
"character": 12,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 24,
"line": 58
},
"start": {
"character": 18,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "corpus"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 35,
"line": 58
},
"start": {
"character": 26,
"line": 58
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pool_size"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 43,
"line": 59
},
"start": {
"character": 12,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<dict comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 15,
"line": 63
},
"start": {
"character": 11,
"line": 63
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 12,
"line": 68
},
"start": {
"character": 4,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "examples"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 43,
"line": 70
},
"start": {
"character": 16,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 39,
"line": 71
},
"start": {
"character": 14,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 8,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "sub_pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 17,
"line": 82
},
"start": {
"character": 8,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "responses"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 85
},
"start": {
"character": 20,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 20,
"line": 87
},
"start": {
"character": 12,
"line": 87
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "response"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 62,
"line": 88
},
"start": {
"character": 19,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 16,
"line": 88
},
"start": {
"character": 12,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pool"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 57,
"line": 97
},
"start": {
"character": 19,
"line": 97
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 20,
"line": 99
},
"start": {
"character": 12,
"line": 99
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "examples"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 107
},
"start": {
"character": 4,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 18
},
"start": {
"character": 68,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 43
},
"start": {
"character": 6,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 5,
"name": "FAQCorpus"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 9,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "topic"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 12,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 6,
"name": "copy"
},
{
"containerName": "QAItem",
"location": {
"range": {
"end": {
"character": 16,
"line": 31
},
"start": {
"character": 8,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 25,
"name": "__repr__"
},
{
"containerName": "FAQCorpus",
"location": {
"range": {
"end": {
"character": 19,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 6,
"name": "load_corpus"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 23,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 12,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "to_frame",
"location": {
"range": {
"end": {
"character": 53,
"line": 64
},
"start": {
"character": 28,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 47,
"line": 70
},
"start": {
"character": 22,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 17,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 91
},
"start": {
"character": 20,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 27,
"line": 102
},
"start": {
"character": 23,
"line": 102
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 103
},
"start": {
"character": 20,
"line": 103
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_csv",
"location": {
"range": {
"end": {
"character": 27,
"line": 120
},
"start": {
"character": 12,
"line": 120
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 12,
"name": "_apply_function"
},
{
"containerName": "from_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 139
},
"start": {
"character": 8,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 18
},
"start": {
"character": 6,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 5,
"name": "DeepSemanticModel"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "DeepSemanticModel",
"location": {
"range": {
"end": {
"character": 15,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 6,
"name": "predict"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 71
},
"start": {
"character": 4,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 12,
"line": 79
},
"start": {
"character": 8,
"line": 79
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 83
},
"start": {
"character": 8,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 19
},
"start": {
"character": 23,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 41,
"line": 19
},
"start": {
"character": 31,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "checkpoint"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 23
},
"start": {
"character": 16,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 32,
"line": 30
},
"start": {
"character": 22,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "input_file"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 45,
"line": 30
},
"start": {
"character": 34,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "output_file"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_question_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 14
},
"start": {
"character": 4,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_useless_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "parse_text_file"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 71
},
"start": {
"character": 12,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "output_file"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 9,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 29,
"line": 37
},
"start": {
"character": 24,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 29,
"line": 23
},
"start": {
"character": 6,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 5,
"name": "DeepSemanticModelForFAQ"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 63
},
"start": {
"character": 4,
"line": 63
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "faq_corpus"
},
{
"containerName": "DeepSemanticModelForFAQ",
"location": {
"range": {
"end": {
"character": 15,
"line": 27
},
"start": {
"character": 8,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 6,
"name": "predict"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 12,
"line": 43
},
"start": {
"character": 8,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 41,
"line": 27
},
"start": {
"character": 32,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 81,
"line": 29
},
"start": {
"character": 50,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 42,
"line": 49
},
"start": {
"character": 9,
"line": 49
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 53
},
"start": {
"character": 0,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 84
},
"start": {
"character": 12,
"line": 84
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 67,
"line": 85
},
"start": {
"character": 12,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 99
},
"start": {
"character": 0,
"line": 99
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "train_sampler"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 100
},
"start": {
"character": 0,
"line": 100
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "test_sampler"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 125
},
"start": {
"character": 0,
"line": 125
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "optimizer"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "replace_entities"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 60
},
"start": {
"character": 4,
"line": 60
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "faq_corpus"
},
{
"location": {
"range": {
"end": {
"character": 48,
"line": 61
},
"start": {
"character": 16,
"line": 61
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 67,
"line": 68
},
"start": {
"character": 23,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 56,
"line": 94
},
"start": {
"character": 24,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 54,
"line": 95
},
"start": {
"character": 23,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 92
},
"start": {
"character": 4,
"line": 92
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "predictions"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 43,
"line": 25
},
"start": {
"character": 16,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 82,
"line": 27
},
"start": {
"character": 52,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 27,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "all_entities_properties"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 19,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 72,
"line": 29
},
"start": {
"character": 16,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 13,
"line": 29
},
"start": {
"character": 4,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "processed"
},
{
"containerName": "vectorize",
"location": {
"range": {
"end": {
"character": 75,
"line": 37
},
"start": {
"character": 8,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 0,
"name": "<list comprehension>"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "parser"
}
]
[Trace - 09:29:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 170.0,
"elapsedMs": 9.6969
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:23 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 36
}
[Trace - 09:29:23 PM] Sending request 'workspace/symbol - (37)'.
Params: {
"query": "par"
}
[Trace - 09:29:23 PM] Received response 'nil - (36)' in 0ms.
Result: [
{
"location": {
"range": {
"end": {
"character": 13,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 29
},
"start": {
"character": 6,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 55
},
"start": {
"character": 8,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 6
},
"start": {
"character": 40,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 30
},
"start": {
"character": 30,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 25,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 6
},
"start": {
"character": 30,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "to_json",
"location": {
"range": {
"end": {
"character": 35,
"line": 17
},
"start": {
"character": 22,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "join_template"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 56
},
"start": {
"character": 4,
"line": 56
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/dxy.py"
},
"kind": 12,
"name": "get_disease_page"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 38
},
"start": {
"character": 6,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 68
},
"start": {
"character": 6,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 111
},
"start": {
"character": 0,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 121
},
"start": {
"character": 0,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 127
},
"start": {
"character": 0,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 64
},
"start": {
"character": 8,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 42,
"line": 10
},
"start": {
"character": 34,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 39
},
"start": {
"character": 30,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 43
},
"start": {
"character": 12,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 53
},
"start": {
"character": 25,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 69
},
"start": {
"character": 40,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 124
},
"start": {
"character": 8,
"line": 124
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 38,
"line": 69
},
"start": {
"character": 30,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "template"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 17,
"line": 20
},
"start": {
"character": 12,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 45,
"line": 25
},
"start": {
"character": 40,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 27
},
"start": {
"character": 68,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 23,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 77
},
"start": {
"character": 20,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 27,
"line": 85
},
"start": {
"character": 23,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 86
},
"start": {
"character": 20,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 25,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "_prepare_question"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 27,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_chip2019_dataset"
},
{
"location": {
"range": {
"end": {
"character": 36,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_dataset"
},
{
"containerName": "get_article",
"location": {
"range": {
"end": {
"character": 8,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_content.py"
},
"kind": 13,
"name": "path"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 31
},
"start": {
"character": 0,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 37
},
"start": {
"character": 0,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 0,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 51
},
"start": {
"character": 0,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "has_pattern"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 40
},
"start": {
"character": 8,
"line": 40
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "template"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 59
},
"start": {
"character": 13,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "forward",
"location": {
"range": {
"end": {
"character": 14,
"line": 54
},
"start": {
"character": 8,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/models.py"
},
"kind": 13,
"name": "packed"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 14,
"line": 117
},
"start": {
"character": 8,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 118
},
"start": {
"character": 8,
"line": 118
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 127
},
"start": {
"character": 12,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 129
},
"start": {
"character": 8,
"line": 129
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_df"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 4,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "format_params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 16,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 24,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 12,
"line": 76
},
"start": {
"character": 8,
"line": 76
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 25,
"line": 94
},
"start": {
"character": 19,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 4,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "original_params"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 10,
"line": 213
},
"start": {
"character": 4,
"line": 213
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 32
},
"start": {
"character": 0,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 14,
"name": "PRETRAINED_MODELS"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 38
},
"start": {
"character": 4,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "is_pretrained_model"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 11
},
"start": {
"character": 4,
"line": 11
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/chp.py"
},
"kind": 12,
"name": "get_chp_qa"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 38,
"line": 38
},
"start": {
"character": 30,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "qa_pairs"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 31,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 6,
"name": "_deduplicate_candidates"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "load_pairs"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 36
},
"start": {
"character": 8,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 24,
"line": 7
},
"start": {
"character": 4,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "PATHOGENY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "SYMPTOM_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 31,
"line": 18
},
"start": {
"character": 4,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "CURE_PROBABILITY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 27,
"line": 19
},
"start": {
"character": 4,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "COMPLICATION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 26,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "DESCRIPTION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 25,
"line": 24
},
"start": {
"character": 4,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/question/__init__.py"
},
"kind": 14,
"name": "PRECAUTION_BY_DISEASE"
},
{
"containerName": "_walk",
"location": {
"range": {
"end": {
"character": 19,
"line": 30
},
"start": {
"character": 12,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "dirpath"
},
{
"containerName": "_hash_files_by_size",
"location": {
"range": {
"end": {
"character": 25,
"line": 46
},
"start": {
"character": 16,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "full_path"
},
{
"containerName": "walk",
"location": {
"range": {
"end": {
"character": 14,
"line": 82
},
"start": {
"character": 4,
"line": 82
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/deduplicate.py"
},
"kind": 13,
"name": "duplicates"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "augment_similar_pairs"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "inspect_data"
},
{
"containerName": "build_vocab",
"location": {
"range": {
"end": {
"character": 18,
"line": 46
},
"start": {
"character": 4,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 13,
"name": "special_tokens"
},
{
"containerName": "SemanticFAQAnswerer",
"location": {
"range": {
"end": {
"character": 31,
"line": 17
},
"start": {
"character": 8,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/semantic.py"
},
"kind": 6,
"name": "_deduplicate_candidates"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 12,
"name": "get_by_page"
},
{
"containerName": "get_by_page",
"location": {
"range": {
"end": {
"character": 12,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/dialogue/get_article_links.py"
},
"kind": 13,
"name": "page"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "format_page"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 113
},
"start": {
"character": 4,
"line": 113
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_page"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 139
},
"start": {
"character": 4,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_expert_pages"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 152
},
"start": {
"character": 4,
"line": 152
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "get_expert_faq_page"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 8,
"line": 115
},
"start": {
"character": 4,
"line": 115
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 13,
"line": 132
},
"start": {
"character": 4,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "get_expert_pages",
"location": {
"range": {
"end": {
"character": 10,
"line": 140
},
"start": {
"character": 4,
"line": 140
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 28,
"line": 152
},
"start": {
"character": 24,
"line": 152
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "page"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 20,
"line": 153
},
"start": {
"character": 8,
"line": 153
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_format_pair"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 10,
"line": 169
},
"start": {
"character": 4,
"line": 169
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 9,
"line": 184
},
"start": {
"character": 4,
"line": 184
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 20,
"line": 202
},
"start": {
"character": 4,
"line": 202
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "expert_faq_pages"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 23,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_parse_text"
},
{
"containerName": "_parse_text",
"location": {
"range": {
"end": {
"character": 29,
"line": 52
},
"start": {
"character": 24,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "xpath"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 8
},
"start": {
"character": 23,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 67
},
"start": {
"character": 0,
"line": 67
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/answer_selection.py"
},
"kind": 13,
"name": "pretrained_model"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 12,
"line": 65
},
"start": {
"character": 8,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 13,
"line": 98
},
"start": {
"character": 4,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 17,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 24,
"line": 7
},
"start": {
"character": 4,
"line": 7
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "PATHOGENY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 22,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "SYMPTOM_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 31,
"line": 18
},
"start": {
"character": 4,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "CURE_PROBABILITY_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 27,
"line": 19
},
"start": {
"character": 4,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "COMPLICATION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 26,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "DESCRIPTION_BY_DISEASE"
},
{
"containerName": "QuestionType",
"location": {
"range": {
"end": {
"character": 25,
"line": 24
},
"start": {
"character": 4,
"line": 24
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/question/__init__.py"
},
"kind": 14,
"name": "PRECAUTION_BY_DISEASE"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 50
},
"start": {
"character": 0,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 88
},
"start": {
"character": 0,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 106
},
"start": {
"character": 4,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 25,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 15,
"line": 63
},
"start": {
"character": 11,
"line": 63
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 8,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "sub_pairs"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 107
},
"start": {
"character": 4,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 18
},
"start": {
"character": 68,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 23,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 12,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 17,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 91
},
"start": {
"character": 20,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 27,
"line": 102
},
"start": {
"character": 23,
"line": 102
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 103
},
"start": {
"character": 20,
"line": 103
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 139
},
"start": {
"character": 8,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 71
},
"start": {
"character": 4,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 12,
"line": 79
},
"start": {
"character": 8,
"line": 79
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 83
},
"start": {
"character": 8,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 19
},
"start": {
"character": 23,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 23
},
"start": {
"character": 16,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 23,
"line": 18
},
"start": {
"character": 6,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 5,
"name": "DeepSemanticModel"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_question_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 14
},
"start": {
"character": 4,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_useless_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "parse_text_file"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 9,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 29,
"line": 37
},
"start": {
"character": 24,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 12,
"line": 43
},
"start": {
"character": 8,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "path"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 41,
"line": 27
},
"start": {
"character": 32,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 29,
"line": 23
},
"start": {
"character": 6,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 5,
"name": "DeepSemanticModelForFAQ"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 53
},
"start": {
"character": 0,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 19,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "replace_entities"
}
]
[Trace - 09:29:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 122.0,
"elapsedMs": 3.005
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:23 PM] Received response 'workspace/symbol - (37)' in 73ms.
Result: [
{
"location": {
"range": {
"end": {
"character": 13,
"line": 5
},
"start": {
"character": 6,
"line": 5
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 29
},
"start": {
"character": 6,
"line": 29
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 55
},
"start": {
"character": 8,
"line": 55
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 6
},
"start": {
"character": 40,
"line": 6
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 30
},
"start": {
"character": 30,
"line": 30
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 34
},
"start": {
"character": 12,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 25,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "pattern"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 38
},
"start": {
"character": 6,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "PatternMatcher"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 68
},
"start": {
"character": 6,
"line": 68
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 5,
"name": "Pattern"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 111
},
"start": {
"character": 0,
"line": 111
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 121
},
"start": {
"character": 0,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 127
},
"start": {
"character": 0,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 28,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "replace_with_pattern"
},
{
"containerName": "PatternMatcher",
"location": {
"range": {
"end": {
"character": 18,
"line": 64
},
"start": {
"character": 8,
"line": 64
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 6,
"name": "is_pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 42,
"line": 10
},
"start": {
"character": 34,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "password"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 46,
"line": 39
},
"start": {
"character": 30,
"line": 39
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_template"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 19,
"line": 43
},
"start": {
"character": 12,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "replace_with_pattern",
"location": {
"range": {
"end": {
"character": 32,
"line": 53
},
"start": {
"character": 25,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 55,
"line": 69
},
"start": {
"character": 40,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 17,
"line": 20
},
"start": {
"character": 12,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 45,
"line": 25
},
"start": {
"character": 40,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 27
},
"start": {
"character": 68,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 23,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 77
},
"start": {
"character": 20,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 27,
"line": 85
},
"start": {
"character": 23,
"line": 85
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 86
},
"start": {
"character": 20,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 25,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "_prepare_question"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 31
},
"start": {
"character": 0,
"line": 31
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 37
},
"start": {
"character": 0,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 0,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 51
},
"start": {
"character": 0,
"line": 51
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "has_pattern"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 59
},
"start": {
"character": 13,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 14,
"line": 117
},
"start": {
"character": 8,
"line": 117
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 118
},
"start": {
"character": 8,
"line": 118
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 127
},
"start": {
"character": 12,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 129
},
"start": {
"character": 8,
"line": 129
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_df"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 4,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "format_params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 16,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 24,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 25,
"line": 94
},
"start": {
"character": 19,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 4,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "original_params"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 10,
"line": 213
},
"start": {
"character": 4,
"line": 213
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 38,
"line": 38
},
"start": {
"character": 30,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "qa_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "load_pairs"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 12,
"line": 36
},
"start": {
"character": 8,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "augment_similar_pairs"
},
{
"containerName": "get_expert_pages",
"location": {
"range": {
"end": {
"character": 10,
"line": 140
},
"start": {
"character": 4,
"line": 140
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 10,
"line": 169
},
"start": {
"character": 4,
"line": 169
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 23,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_parse_text"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 13,
"line": 132
},
"start": {
"character": 4,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 20,
"line": 153
},
"start": {
"character": 8,
"line": 153
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_format_pair"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 9,
"line": 184
},
"start": {
"character": 4,
"line": 184
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 8
},
"start": {
"character": 23,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 10
},
"start": {
"character": 8,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/data/neo.py"
},
"kind": 13,
"name": "password"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "preprocess",
"location": {
"range": {
"end": {
"character": 12,
"line": 65
},
"start": {
"character": 8,
"line": 65
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 13,
"line": 98
},
"start": {
"character": 4,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 17,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 88
},
"start": {
"character": 0,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 15,
"line": 50
},
"start": {
"character": 0,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 106
},
"start": {
"character": 4,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 107
},
"start": {
"character": 4,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 25,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 15,
"line": 63
},
"start": {
"character": 11,
"line": 63
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 8,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "sub_pairs"
},
{
"containerName": "<generator>",
"location": {
"range": {
"end": {
"character": 72,
"line": 18
},
"start": {
"character": 68,
"line": 18
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "<list comprehension>",
"location": {
"range": {
"end": {
"character": 16,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 23,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 12,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__iter__",
"location": {
"range": {
"end": {
"character": 20,
"line": 57
},
"start": {
"character": 12,
"line": 57
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pair"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 17,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 91
},
"start": {
"character": 20,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 27,
"line": 102
},
"start": {
"character": 23,
"line": 102
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "pair"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 103
},
"start": {
"character": 20,
"line": 103
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 139
},
"start": {
"character": 8,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 71
},
"start": {
"character": 4,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 83
},
"start": {
"character": 8,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 19
},
"start": {
"character": 23,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 23
},
"start": {
"character": 16,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 9
},
"start": {
"character": 4,
"line": 9
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_question_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 24,
"line": 14
},
"start": {
"character": 4,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "is_useless_paragraph"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "parse_text_file"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 9,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 29,
"line": 37
},
"start": {
"character": 24,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 29,
"line": 23
},
"start": {
"character": 6,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 5,
"name": "DeepSemanticModelForFAQ"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 41,
"line": 27
},
"start": {
"character": 32,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 53
},
"start": {
"character": 0,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "replace_entities",
"location": {
"range": {
"end": {
"character": 19,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "pattern_matcher"
}
]
[Trace - 09:29:23 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 37
}
[Trace - 09:29:23 PM] Sending request 'workspace/symbol - (38)'.
Params: {
"query": "pars"
}
[Trace - 09:29:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 81.0,
"elapsedMs": 3.0531
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:23 PM] Received response 'workspace/symbol - (38)' in 34ms.
Result: [
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/pattern.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 121
},
"start": {
"character": 0,
"line": 121
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 127
},
"start": {
"character": 0,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 16,
"line": 41
},
"start": {
"character": 8,
"line": 41
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/match_data.bak.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 25
},
"start": {
"character": 4,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 17
},
"start": {
"character": 4,
"line": 17
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 17,
"line": 20
},
"start": {
"character": 12,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 45,
"line": 25
},
"start": {
"character": 40,
"line": 25
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 9,
"line": 36
},
"start": {
"character": 4,
"line": 36
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/elastic.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 46
},
"start": {
"character": 23,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 17,
"line": 72
},
"start": {
"character": 8,
"line": 72
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 77
},
"start": {
"character": 20,
"line": 77
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "load_corpus",
"location": {
"range": {
"end": {
"character": 29,
"line": 86
},
"start": {
"character": 20,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "TermSimilarityFAQAnwserer",
"location": {
"range": {
"end": {
"character": 25,
"line": 19
},
"start": {
"character": 8,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/answer/unsupervised.py"
},
"kind": 6,
"name": "_prepare_question"
},
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 37
},
"start": {
"character": 0,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "patterns"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 43
},
"start": {
"character": 0,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/label_zhida_questions.py"
},
"kind": 13,
"name": "df_patterns"
},
{
"location": {
"range": {
"end": {
"character": 18,
"line": 15
},
"start": {
"character": 4,
"line": 15
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 12,
"name": "read_faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 9,
"line": 54
},
"start": {
"character": 4,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "read_faq_pairs",
"location": {
"range": {
"end": {
"character": 9,
"line": 20
},
"start": {
"character": 4,
"line": 20
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/120ask_similarity_pairs.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 18,
"line": 118
},
"start": {
"character": 8,
"line": 118
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"containerName": "format_csv",
"location": {
"range": {
"end": {
"character": 22,
"line": 127
},
"start": {
"character": 12,
"line": 127
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/get_ipmph_questions.py"
},
"kind": 13,
"name": "parent_dfs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 4,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "format_params"
},
{
"containerName": "build_model",
"location": {
"range": {
"end": {
"character": 22,
"line": 42
},
"start": {
"character": 16,
"line": 42
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "format_params",
"location": {
"range": {
"end": {
"character": 24,
"line": 73
},
"start": {
"character": 18,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 25,
"line": 94
},
"start": {
"character": 19,
"line": 94
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "run_experiment",
"location": {
"range": {
"end": {
"character": 19,
"line": 95
},
"start": {
"character": 4,
"line": 95
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "original_params"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 10,
"line": 213
},
"start": {
"character": 4,
"line": 213
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 10
},
"start": {
"character": 23,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "_rank",
"location": {
"range": {
"end": {
"character": 38,
"line": 38
},
"start": {
"character": 30,
"line": 38
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/semantic.py"
},
"kind": 13,
"name": "qa_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 14
},
"start": {
"character": 23,
"line": 14
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 16
},
"start": {
"character": 12,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/base.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 10
},
"start": {
"character": 4,
"line": 10
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 12,
"name": "load_pairs"
},
{
"location": {
"range": {
"end": {
"character": 5,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/export_faq_text.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 25,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/dataset.py"
},
"kind": 12,
"name": "augment_similar_pairs"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 23,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_parse_text"
},
{
"containerName": "get_page",
"location": {
"range": {
"end": {
"character": 13,
"line": 132
},
"start": {
"character": 4,
"line": 132
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "get_expert_pages",
"location": {
"range": {
"end": {
"character": 10,
"line": 140
},
"start": {
"character": 4,
"line": 140
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 10,
"line": 169
},
"start": {
"character": 4,
"line": 169
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "get_expert_faq_page",
"location": {
"range": {
"end": {
"character": 9,
"line": 184
},
"start": {
"character": 4,
"line": 184
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 8
},
"start": {
"character": 23,
"line": 8
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/build/lib/qa/answer/unsupervised.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 13,
"line": 98
},
"start": {
"character": 4,
"line": 98
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"containerName": "main",
"location": {
"range": {
"end": {
"character": 17,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/preprocess.py"
},
"kind": 13,
"name": "num_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 88
},
"start": {
"character": 0,
"line": 88
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 106
},
"start": {
"character": 4,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 107
},
"start": {
"character": 4,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 16
},
"start": {
"character": 4,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "insert_faq_pairs"
},
{
"containerName": "insert_faq_pairs",
"location": {
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 25,
"line": 16
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "index_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 9,
"line": 59
},
"start": {
"character": 4,
"line": 59
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "build_dataset",
"location": {
"range": {
"end": {
"character": 17,
"line": 73
},
"start": {
"character": 8,
"line": 73
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "sub_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 32,
"line": 44
},
"start": {
"character": 23,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 21,
"line": 46
},
"start": {
"character": 12,
"line": 46
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 17,
"line": 86
},
"start": {
"character": 8,
"line": 86
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 91
},
"start": {
"character": 20,
"line": 91
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_json",
"location": {
"range": {
"end": {
"character": 29,
"line": 103
},
"start": {
"character": 20,
"line": 103
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"containerName": "from_csv",
"location": {
"range": {
"end": {
"character": 17,
"line": 139
},
"start": {
"character": 8,
"line": 139
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/qa/qa/__init__.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 71
},
"start": {
"character": 4,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 83
},
"start": {
"character": 8,
"line": 83
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 29,
"line": 19
},
"start": {
"character": 23,
"line": 19
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "__init__",
"location": {
"range": {
"end": {
"character": 22,
"line": 23
},
"start": {
"character": 16,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "parse_text_file"
},
{
"location": {
"range": {
"end": {
"character": 13,
"line": 69
},
"start": {
"character": 8,
"line": 69
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 9,
"line": 23
},
"start": {
"character": 4,
"line": 23
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 29,
"line": 37
},
"start": {
"character": 24,
"line": 37
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"containerName": "parse_text_file",
"location": {
"range": {
"end": {
"character": 17,
"line": 54
},
"start": {
"character": 12,
"line": 54
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 13,
"name": "pairs"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 14,
"line": 47
},
"start": {
"character": 8,
"line": 47
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "params"
},
{
"containerName": "predict",
"location": {
"range": {
"end": {
"character": 41,
"line": 27
},
"start": {
"character": 32,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "faq_pairs"
},
{
"location": {
"range": {
"end": {
"character": 6,
"line": 53
},
"start": {
"character": 0,
"line": 53
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/template_classification.py"
},
"kind": 13,
"name": "params"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "parser"
}
]
[Trace - 09:29:23 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 38
}
[Trace - 09:29:23 PM] Sending request 'workspace/symbol - (39)'.
Params: {
"query": "parse"
}
[Trace - 09:29:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 17.0,
"elapsedMs": 2.4684
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "workspace/symbol"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:23 PM] Received response 'workspace/symbol - (39)' in 40ms.
Result: [
{
"location": {
"range": {
"end": {
"character": 45,
"line": 50
},
"start": {
"character": 4,
"line": 50
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/create_datasets.py"
},
"kind": 12,
"name": "create_ncov2019_chip2019_separate_dataset"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 200
},
"start": {
"character": 4,
"line": 200
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"kind": 13,
"name": "parser"
},
{
"containerName": "_format_item",
"location": {
"range": {
"end": {
"character": 23,
"line": 52
},
"start": {
"character": 12,
"line": 52
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/baikemy.py"
},
"kind": 12,
"name": "_parse_text"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 13
},
"start": {
"character": 4,
"line": 13
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/export.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 27
},
"start": {
"character": 4,
"line": 27
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 28
},
"start": {
"character": 4,
"line": 28
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/classify_questions.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 106
},
"start": {
"character": 4,
"line": 106
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 107
},
"start": {
"character": 4,
"line": 107
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/build_answer_selection_dataset.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 70
},
"start": {
"character": 4,
"line": 70
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 71
},
"start": {
"character": 4,
"line": 71
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching_predict.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 19,
"line": 22
},
"start": {
"character": 4,
"line": 22
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/faq/parse_docx.py"
},
"kind": 12,
"name": "parse_text_file"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 34
},
"start": {
"character": 4,
"line": 34
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 35
},
"start": {
"character": 4,
"line": 35
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/server.py"
},
"kind": 13,
"name": "parser"
},
{
"location": {
"range": {
"end": {
"character": 14,
"line": 43
},
"start": {
"character": 4,
"line": 43
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 12,
"name": "parse_args"
},
{
"containerName": "parse_args",
"location": {
"range": {
"end": {
"character": 10,
"line": 44
},
"start": {
"character": 4,
"line": 44
}
},
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/questions/cluster_questions.py"
},
"kind": 13,
"name": "parser"
}
]
[Trace - 09:29:26 PM] Sending request 'textDocument/documentHighlight - (40)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"position": {
"line": 199,
"character": 4
}
}
[Trace - 09:29:26 PM] Sending request 'textDocument/codeAction - (41)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"range": {
"start": {
"line": 199,
"character": 4
},
"end": {
"line": 199,
"character": 4
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:29:26 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 0.0,
"elapsedMs": 0.6525
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/codeAction"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:26 PM] Received response 'textDocument/codeAction - (41)' in 10ms.
Result: []
[Trace - 09:29:27 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 21.925
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/documentHighlight"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:27 PM] Received response 'textDocument/documentHighlight - (40)' in 68ms.
Result: [
{
"kind": 3,
"range": {
"end": {
"character": 14,
"line": 199
},
"start": {
"character": 4,
"line": 199
}
}
},
{
"kind": 2,
"range": {
"end": {
"character": 23,
"line": 213
},
"start": {
"character": 13,
"line": 213
}
}
}
]
[Trace - 09:29:27 PM] Sending request 'textDocument/codeAction - (42)'.
Params: {
"textDocument": {
"uri": "file:///Users/user/git/tp/projects/knowledge_graph/scripts/similarity/semantic_matching.py"
},
"range": {
"start": {
"line": 199,
"character": 4
},
"end": {
"line": 199,
"character": 4
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:29:27 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"count": 0.0,
"elapsedMs": 0.7054
},
"Properties": {
"plsVersion": "0.5.50.0",
"method": "textDocument/codeAction"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 09:29:27 PM] Received response 'textDocument/codeAction - (42)' in 3ms.
Result: []
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment