Обемен текст анотация разбиране диктанта

Примерен код

0
0

import spacy
nlp = spacy.load('en_core_web_sm') # or some other model

text_to_be_annotated = nlp('Put your long to-be-annotated text here')

# pos: part-of-speech tagging
# lemma: base form of the word
# vector: embedding of the token (optional)
annotated_text = {token : (token.pos_, token.lemma_, token.vector) 
                  for token in text_to_be_annotated}

Подобни страници

Подобни страници с примери

На други езици

Тази страница на други езици

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Íslensk
..................................................................................................................