Please enable JavaScript.
Coggle requires JavaScript to display documents.
NLP - Coggle Diagram
NLP
-
-
Readability tests
Gunning fog index
-
-
Higher score, lesser readability
-
Flesch reading ease
Longer sentence, harder to read
More syllables, harder to read
Higher score, higher readability
-
-
Bag of words
-
-
-
gensim
-
-
-
-
bow_doc = sorted(doc, key=lambda w: w[1], reverse=True)
-
for word_id, word_count in itertools.chain.from_iterable(corpus): total_word_count[word_id] += word_count
Named Entity Recognition
nltk
-
chunked_sentences = nltk.ne_chunk_sents(pos_sentences, binary = True)
-
spacy
-
-
-
for ent in doc.ents: ent.label_, ent.text
-
-
-
-
-
-