Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
22_23-J 18
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
22_23-J 18
22_23-J 18
Commits
80b7e6a9
Commit
80b7e6a9
authored
Mar 15, 2023
by
Lelkada L L P S M
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
word2vec embeddings
parent
c5c3eb69
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
370 additions
and
2 deletions
+370
-2
IT19001708/STG/script/.ipynb_checkpoints/Untitled-checkpoint.ipynb
...8/STG/script/.ipynb_checkpoints/Untitled-checkpoint.ipynb
+6
-0
IT19001708/STG/script/.ipynb_checkpoints/untitled-checkpoint.py
...1708/STG/script/.ipynb_checkpoints/untitled-checkpoint.py
+0
-0
IT19001708/STG/script/Untitled.ipynb
IT19001708/STG/script/Untitled.ipynb
+350
-0
IT19001708/STG/script/embeddigns_to_clustering.ipynb
IT19001708/STG/script/embeddigns_to_clustering.ipynb
+14
-2
IT19001708/STG/script/untitled.py
IT19001708/STG/script/untitled.py
+0
-0
No files found.
IT19001708/STG/script/.ipynb_checkpoints/Untitled-checkpoint.ipynb
0 → 100644
View file @
80b7e6a9
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
IT19001708/STG/script/.ipynb_checkpoints/untitled-checkpoint.py
0 → 100644
View file @
80b7e6a9
IT19001708/STG/script/Untitled.ipynb
0 → 100644
View file @
80b7e6a9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
IT19001708/STG/script/embeddigns_to_clustering.ipynb
View file @
80b7e6a9
...
...
@@ -100,10 +100,22 @@
},
{
"cell_type": "code",
"execution_count":
5
,
"execution_count":
1
,
"id": "9be90484-936b-422c-ae2e-a170a694261e",
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "NameError",
"evalue": "name 'nltk' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m/tmp/ipykernel_106/1619792556.py\u001b[0m in \u001b[0;36m<cell line: 2>\u001b[0;34m()\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0;31m# Tokenize text into sentences\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0msentences\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mnltk\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msent_tokenize\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mtext\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;31m# Tokenize input sequences\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mtokenized_texts\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0mtokenizer\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtokenize\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msentence\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0msentence\u001b[0m \u001b[0;32min\u001b[0m \u001b[0msentences\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mNameError\u001b[0m: name 'nltk' is not defined"
]
}
],
"source": [
"# Tokenize text into sentences\n",
"sentences = nltk.sent_tokenize(text)\n",
...
...
IT19001708/STG/script/untitled.py
0 → 100644
View file @
80b7e6a9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment