File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "# Latent Semantic Analysis"
88 ]
99 },
10+ {
11+ "cell_type": "code",
12+ "execution_count": null,
13+ "metadata": {},
14+ "outputs": [],
15+ "source": [
16+ "pip install gensim"
17+ ]
18+ },
1019 {
1120 "cell_type": "code",
1221 "execution_count": 1,
7322873237 ],
7322973238 "metadata": {
7323073239 "kernelspec": {
73231- "display_name": "Python [conda env:packt] ",
73240+ "display_name": "Python 3 ",
7323273241 "language": "python",
73233- "name": "conda-env-packt-py "
73242+ "name": "python3 "
7323473243 },
7323573244 "language_info": {
7323673245 "codemirror_mode": {
7324273251 "name": "python",
7324373252 "nbconvert_exporter": "python",
7324473253 "pygments_lexer": "ipython3",
73245- "version": "3.6.7 "
73254+ "version": "3.7.3 "
7324673255 }
7324773256 },
7324873257 "nbformat": 4,
Original file line number Diff line number Diff line change 77 " # Text Rank from Scratch"
88 ]
99 },
10+ {
11+ "cell_type" : " code" ,
12+ "execution_count" : null ,
13+ "metadata" : {},
14+ "outputs" : [],
15+ "source" : [
16+ " pip install contractions networkx"
17+ ]
18+ },
1019 {
1120 "cell_type" : " code" ,
1221 "execution_count" : 1 ,
686695 ],
687696 "metadata" : {
688697 "kernelspec" : {
689- "display_name" : " Python [conda env:packt] " ,
698+ "display_name" : " Python 3 " ,
690699 "language" : " python" ,
691- "name" : " conda-env-packt-py "
700+ "name" : " python3 "
692701 },
693702 "language_info" : {
694703 "codemirror_mode" : {
700709 "name" : " python" ,
701710 "nbconvert_exporter" : " python" ,
702711 "pygments_lexer" : " ipython3" ,
703- "version" : " 3.6.7 "
712+ "version" : " 3.7.3 "
704713 }
705714 },
706715 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 238238 }
239239 ],
240240 "source" : [
241- " a "
241+ " get_sentence(comedians_word_dict) "
242242 ]
243243 },
244244 {
251251 ],
252252 "metadata" : {
253253 "kernelspec" : {
254- "display_name" : " Python [conda env:packt] " ,
254+ "display_name" : " Python 3 " ,
255255 "language" : " python" ,
256- "name" : " conda-env-packt-py"
256+ "name" : " python3"
257+ },
258+ "language_info" : {
259+ "codemirror_mode" : {
260+ "name" : " ipython" ,
261+ "version" : 3
262+ },
263+ "file_extension" : " .py" ,
264+ "mimetype" : " text/x-python" ,
265+ "name" : " python" ,
266+ "nbconvert_exporter" : " python" ,
267+ "pygments_lexer" : " ipython3" ,
268+ "version" : " 3.7.3"
257269 }
258270 },
259271 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments