text2keywords / README.md
HuyRemy's picture
Update README.md
09d27e7 verified
---
tags:
- legal
---
## Model Details
- [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1dbfKhWmXaCcFsOrl7tlOKiLDkGuQhpZy?usp=sharing)
### Model Description
<!-- Provide a longer summary of what this model is. -->
Easy models to extract string text to keywords, it can be use for analysys user prompt then query fulltext search in indexed datasets, Apache Lucense, Sphinx...
- **Developed by:** **HuyRemy**
- **Funded by :** **HuyRemy**
- **Shared by :** **HuyRemy**
- **Model type:** **NLP**
### Direct Use
``` Python
import joblib
import nltk
nltk.download('punkt')
extract_keywords_model = joblib.load('huyremy_keywords_model.pkl')
# Sử dụng model để trích xuất từ khóa từ văn bản
text = """
Hello! I’m HuyRemy, a Software and Hardware Developer based
in Ha Noi. I have completed everything in Electronic Engineering and
and Electrical Engineering. In the fact I dev this mod for fun and...try it...it work. Good luck.
"""
keywords = extract_keywords_model(text)
# In ra màn hình những từ khóa có tần suất xuất hiện cao nhất
for keyword, count in keywords.most_common():
print(keyword)
```
### Attention: Google about me first (Google:HuyRemy) then...lookkkkkkkkkkkkk....what's it ? Uh Mine Jesssieeeeeee...
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63429e55e2647466b4268933/6C8UP8-bbR7kM4dFP8DbN.png)