flair.visual#
Classes
- class flair.visual.HighlighterView on GitHub#
Bases:
object
- highlight(activation, text)View on GitHub#
- highlight_selection(activations, text, file_='resources/data/highlight.html', n=10)View on GitHub#
- class flair.visual.VisualizerView on GitHub#
Bases:
object
- visualize_word_emeddings(embeddings, sentences, output_file)View on GitHub#
- visualize_char_emeddings(embeddings, sentences, output_file)View on GitHub#
- static prepare_word_embeddings(embeddings, sentences)View on GitHub#
- static word_contexts(sentences)View on GitHub#
- static prepare_char_embeddings(embeddings, sentences)View on GitHub#
- static char_contexts(sentences)View on GitHub#
- static visualize(X, contexts, file)View on GitHub#