You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Keyword/Keyphrase expansion via knowledge graphs/Taxanomy
28
-
3. Trace the Hypernyms for the keywords
29
-
4. Use the Hypernyms and texts to label via zeroshot classifiers.
28
+
.. image:: assets/zstm.png
29
+
30
+
1. **Keyword & Keyphrase extraction**: This is done with the help of `KeyBERT <https://github.com/MaartenGr/KeyBERT>`_. but really any sort of keyword extractor can be used.
31
+
2. **Keyword/Keyphrase expansion via knowledge graphs/Taxanomy**: Then we expand the important keywords we discovered by using some sort of taxanomy/knowledge graph like wordnet, conceptnet etc.
32
+
3. **Trace the Hypernyms for the keywords**: Identify the Hypernyms(the root/parent word) and use this as the psuedo-label for the zeroshot classifier.
33
+
4. **Zeroshot classification**: Use the Hypernyms and documents to label via zeroshot classifiers.
30
34
31
35
32
36
Installation
@@ -58,6 +62,15 @@ Usage
58
62
# Output - Topics: ['War', 'Head Of State']
59
63
60
64
65
+
Roadmap
66
+
-------
67
+
68
+
Some things that i plan to add in the coming days:
69
+
70
+
- Support custom keyword extractors.
71
+
- Support Custom Knowledge-graphs & taxonomy.
72
+
- Support Custom Zeroshot-classifiers in the pipeline.
0 commit comments