Generating Sentences with n-grams using Python

  Рет қаралды 15,194

Douglas Starnes

Douglas Starnes

Күн бұрын

Пікірлер: 12
@black-sci
@black-sci 8 ай бұрын
Your way of explaining is just so clear. Nice work.
@black-sci
@black-sci 8 ай бұрын
I'm trying to make sentence autocomplete project instead of generating sentences. but it works similarly.
@black-sci
@black-sci 8 ай бұрын
Can you next do the generator using neural networks.
@black-sci
@black-sci 8 ай бұрын
I see you're taking len(sentence) -1 .After this step If we add dot in n_gram after last word of sentence and whenever sentence generator encounters a dot it should stop.
@arifahammed8243
@arifahammed8243 Жыл бұрын
Hi Starnes, I am trying to extract senteces using some predefnied bigrams. Can you please help me?
@joshuva.bernard
@joshuva.bernard Жыл бұрын
Hi, can you share the extentions you use in your vscode
@DouglasStarnes
@DouglasStarnes Жыл бұрын
I'm using the Python extension. If you search for Python in the Extensions sidebar it's the first one, from Microsoft. It will install several other extensions but that will get you all the functionality in the video. Thanks for the comment!
@SOUFTVOFFICIEL
@SOUFTVOFFICIEL Жыл бұрын
@@DouglasStarnes Hi, thank you for the Video... i have a question, how can we use N-gram (bi-gram e.i) to help users in searching process when he write his query
@zephyrindiffo2702
@zephyrindiffo2702 2 жыл бұрын
i love!!!
@busterdafydd3096
@busterdafydd3096 Жыл бұрын
7:41 I see your not bothering with a state to make your choice's more unique.
@busterdafydd3096
@busterdafydd3096 Жыл бұрын
6:31 alright this really isn't a lookup table, your getting much closer to a tree structure. and data structures were possible should be compressed as possible. So your list should remove duplicates but either it should become a dictionary with a count factor or sort the list with the selection algorithm favouring items at one end of the list over the other.... In fact a tree structure can have more depth, if for example you keep the upper limit words, in that all words that appear less than twice for example get removed, so you are linking words the connect to each other much more strongly.
@thechoosen4240
@thechoosen4240 Жыл бұрын
Good job bro, JESUS IS COMING BACK VERY SOON;WATCH AND PREPARE
NLTK Tutorial 09: Sentiment Analysis | N-Gram | NLTK | Python
21:24
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 121 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 39 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 120 М.
What are Bigrams and Trigrams (Topic Modeling and Python for DH 01.03)
7:50
Python Tutorials for Digital Humanities
Рет қаралды 16 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 324 М.
Bigram and Trigram Language models -peeking indide the model building
16:11
N-Grams in Natural Language Processing
3:33
Data Science Dojo
Рет қаралды 65 М.
Natural Language Processing (NLP) Tutorial with Python & NLTK
38:10
freeCodeCamp.org
Рет қаралды 373 М.
Tutorial 8- Ngrams Indepth Intuition In NLP- Krish Naik Hindi
6:44
Krish Naik Hindi
Рет қаралды 2,4 М.
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН