Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion pa3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,29 @@
"We will first start by importing some modules and setting up our IR system class.\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"First we'll download some extra files that we need, if we don't already have them:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"if [[ ! -d \"./data\" ]]\n",
"then\n",
" echo \"Missing extra files (this probably means you're running on Google Colab). Downloading...\"\n",
" git clone https://github.com/cs124/pa3-ir.git\n",
" cp -r ./pa3-ir/{data,porter_stemmer.py} .\n",
"fi"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -858,4 +881,4 @@
},
"nbformat": 4,
"nbformat_minor": 1
}
}