Defining pattern rules for spaCy Matcher

  Рет қаралды 6,605

Applied Language Technology

Applied Language Technology

Күн бұрын

Пікірлер: 13
@polarbear986
@polarbear986 Жыл бұрын
Very good lesson. I like that you explain clearly and slowly.
@AppliedLanguageTechnology
@AppliedLanguageTechnology Жыл бұрын
Glad you liked it!
@walid2635
@walid2635 2 жыл бұрын
Nice Video
@aricircle8040
@aricircle8040 3 жыл бұрын
The lessons are so great, thanks for easy, good and fast explanations and information that are impossible to find anywhere else!!! It would be also great to know about other methods of Token class more, as cluster id or similarity, I was wondering whether it is possible to use similarity for creating an adjective classification model for finding errors in the adjective order, e.g. “red beautiful wooden Chinese old spoon”
@AppliedLanguageTechnology
@AppliedLanguageTechnology 3 жыл бұрын
Hey! Thanks for your feedback! I'm planning to do more extensive videos on spaCy Token/Span/Doc objects and their properties, but I won't have time until next autumn. I will cover the similarity() method in the tutorials that I will publish this week; not sure if they would work for your use case though!
@shefalishrivastava1189
@shefalishrivastava1189 Жыл бұрын
God bless these people.
@AppliedLanguageTechnology
@AppliedLanguageTechnology Жыл бұрын
I take that as a compliment. :-)
@ildaraskarov8755
@ildaraskarov8755 2 жыл бұрын
Great video, thank you. I have a question, I am looking for phrases of the specific patterns, is there a way to determine whether founded phrases belong to subject or object in the sentence? Thank you.
@AppliedLanguageTechnology
@AppliedLanguageTechnology 2 жыл бұрын
Hi Ildar! Yes, but you will have to use the DependencyMatcher - I have a video here: kzbin.info/www/bejne/nYbFfnxrZ8d8g7s
@pipyaku8276
@pipyaku8276 2 жыл бұрын
Great video, thanks a lot! Would be possible to share '.ipynb' file?
@AppliedLanguageTechnology
@AppliedLanguageTechnology 2 жыл бұрын
Hey! You can find all notebooks here: github.com/Applied-Language-Technology/notebooks
@Masoumehf
@Masoumehf 2 жыл бұрын
Hi what about if we want to find a specific word in the document and return the whole paragraph including it?
@AppliedLanguageTechnology
@AppliedLanguageTechnology 2 жыл бұрын
Hi Sarnia! Just define a pattern rule that matches the word (or its lemma, if you also wish to retrieve all conjugated forms). Any hits that are returned consist of spaCy Span objects, and you can use the "doc" attribute of the Span object to retrieve the Doc that contains the Span. Paragraphs are a bit trickier - maybe you can look for sequences of two line changes (e.g. ) or any sequence of characters that are used to mark paragraph changes in your document. Hope this helps! :-)
Matching morphological features using spaCy Matcher
6:51
Applied Language Technology
Рет қаралды 2,1 М.
Matching syntactic dependencies using spaCy DependencyMatcher
7:02
Applied Language Technology
Рет қаралды 3,9 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 93 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4 МЛН
Contextual word embeddings in spaCy
9:06
Applied Language Technology
Рет қаралды 3,9 М.
Introduction to the CoNLL-U annotation schema
4:36
Applied Language Technology
Рет қаралды 2,9 М.
How to Use spaCy's EntityRuler (Named Entity Recognition for DH 04 | Part 01)
36:50
Python Tutorials for Digital Humanities
Рет қаралды 29 М.
Using spaCy with Hugging Face Transformers | Matthew Honnibal
27:40
DSAI by Dr. Osbert Tay
Рет қаралды 15 М.
Training a custom ENTITY LINKING model with spaCy
28:24
Explosion
Рет қаралды 50 М.
Using Linguistic Features - spaCy shorts
9:57
Explosion
Рет қаралды 2,9 М.
Week 11: Clinical NLP Notebook #2 - Pattern Matching with medspaCy
11:50
Extracting Verbs and Verb Phrases (SpaCy and Python Tutorial for DH 07)
8:10
Python Tutorials for Digital Humanities
Рет қаралды 15 М.