Instructions to use chrisknowles/en_stylecheck with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use chrisknowles/en_stylecheck with spaCy:
!pip install https://huggingface.co/chrisknowles/en_stylecheck/resolve/main/en_stylecheck-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_stylecheck") # Importing as module. import en_stylecheck nlp = en_stylecheck.load() - Notebooks
- Google Colab
- Kaggle
Download entity_ruler/patterns.jsonl from chrisknowles/en_stylecheck: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/chrisknowles/en_stylecheck/resolve/main/entity_ruler/patterns.jsonl
- Command line
-
hf download hf://chrisknowles/en_stylecheck/entity_ruler/patterns.jsonl
-
curl -L -o patterns.jsonl https://huggingface.co/chrisknowles/en_stylecheck/resolve/main/entity_ruler/patterns.jsonl
1.45 kB
| {"label":"PASSIVE","pattern":[{"DEP":"auxpass"},{"DEP":"neg","TAG":"RB","OP":"*"},{"DEP":"HYPH","OP":"*"},{"DEP":"advmod","TAG":"RB","OP":"*"},{"TAG":"VBN","LEMMA":{"NOT_IN":["associate","involve","exhaust","base","lead","stun","overrate","fill","bear","complicate","reserve","complicate"]}}]} | |
| {"label":"PASSIVE","pattern":[{"DEP":{"IN":["attr","nsubjpass","appos"]}},{"TAG":"RB","DEP":"advmod","OP":"*"},{"DEP":"PUNCT","OP":"*"},{"TAG":"VBN","DEP":"acl","LEMMA":{"NOT_IN":["associate","involve","exhaust","base","lead","stun","overrate","fill","bear","complicate","reserve","complicate"]}}]} | |
| {"label":"PASSIVE","pattern":[{"DEP":"cc"},{"DEP":"advmod","TAG":"VBN","OP":"*","LEMMA":{"NOT_IN":["pre"]}},{"DEP":"conj","TAG":"VBN","LEMMA":{"NOT_IN":["associate","involve","exhaust","base","lead","stun","overrate","fill","bear","complicate","reserve","complicate"]}},{"DEP":"pobj","OP":"!"}]} | |
| {"label":"PASSIVE","pattern":[{"DEP":"advcl","TAG":"VBN"},{"DEP":"agent","TAG":"IN"},{"OP":"*"},{"DEP":"pobj","TAG":"NN"}]} | |
| {"label":"PASSIVE","pattern":[{"DEP":"nsubj"},{"DEP":"ROOT"},{"DEP":"attr","TAG":"VBN","LEMMA":{"NOT_IN":["associate","involve","exhaust","base","lead","stun","overrate","fill","bear","complicate","reserve","complicate"]}},{"DEP":"prep","TAG":"IN","OP":"*"}]} | |
| {"label":"PASSIVE","pattern":[{"LEMMA":{"IN":["associate","involve","exhaust","base","lead","stun","overrate","fill","bear","complicate","reserve","complicate"]}},{"LOWER":"by"}]} | |