Skip to content

Commit

Permalink
Pfad geändert für txt Datei
Browse files Browse the repository at this point in the history
  • Loading branch information
MeikWimm committed Jun 28, 2024
1 parent 603d051 commit c70db00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
42 changes: 5 additions & 37 deletions baseline-retrieval-system/baseline-retrieval-system.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -152,12 +152,12 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 28,
"metadata": {},
"outputs": [],
"source": [
"def custom_stopwords():\n",
" file_path = '/workspaces/ir-lab-sose-2024-ir-nfmj/stopwords/stopwords.txt' # Default Stopword List by Terrier\n",
" file_path = './stopwords/stopwords.txt' # Default Stopword List by Terrier\n",
"\n",
" stopwords_list = []\n",
"\n",
Expand All @@ -174,41 +174,9 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 29,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"PyTerrier 0.10.0 has loaded Terrier 5.8 (built by craigm on 2023-11-01 18:05) and terrier-helper 0.0.8\n",
"\n",
"No etc/terrier.properties, using terrier.default.properties for bootstrap configuration.\n",
"ir-lab-sose-2024/ir-acl-anthology-20240504-training documents: 71%|███████ | 90188/126958 [00:23<00:06, 5739.65it/s]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"13:29:26.206 [ForkJoinPool-1-worker-3] WARN org.terrier.structures.indexing.Indexer - Adding an empty document to the index (2020.mir_conference-2020.1) - further warnings are suppressed\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"ir-lab-sose-2024/ir-acl-anthology-20240504-training documents: 100%|██████████| 126958/126958 [00:29<00:00, 4242.80it/s] \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"13:29:37.467 [ForkJoinPool-1-worker-3] WARN org.terrier.structures.indexing.Indexer - Indexed 1 empty documents\n"
]
}
],
"outputs": [],
"source": [
"# Create a REST client to the TIRA platform for retrieving the pre-indexed data.\n",
"ensure_pyterrier_is_loaded()\n",
Expand Down
File renamed without changes.

0 comments on commit c70db00

Please sign in to comment.