semvec/pypi-packages huggingface dataset:
loading-wrapper 1.2.20
Dash Loading Wrapper Component
License: MIT

# Loading Wrapper

Loading Wrapper is a Dash component library.
Component to get whether Loading of Dash Core Components is Loading or not.

### Installation
***

    $ pip install loading_wrapper


### Properties
***

- children (dash component)
- id (string)
- className (string)
- targetClassName (string; require)

    Class of target to be monitored for appearance or non-appearance.

- interval (number; default: 1000)

    Monitoring interval.

- ignores (list[string])

    List of data-loading_ignore attributes of the Loading component to be excluded from monitoring.

- is_loading (bool)

    loading or not loading.

- is_stop (bool; default: false)

    Or discontinue surveillance.
ios-scroll-wrapper 1.0.3
Dash IOS Scroll Component
License: MIT

# IOS Scroll Wrapper

IOS Scroll Wrapper is a Dash component library.
Wrap component to address the scroll overflow bug in IOS.
If the scroll range goes out of the scrollable area, it returns 1px.

### Installation
***

    $ pip install ios_scroll_wrapper


### Properties
***

- children (dash component)
- id (string)
PhrExt 0.1.0
Extract phrase from English sentence such as noun, verb, preposition based on NLP task word chunking and HuggingFace library
License: MIT
Requires Python: >=3.8

# Phrase extraction

```text
Input: PennyLane went to the school

Output: [{'Noun Phrase': 'PennyLane'}, {'Verb Phrase': 'went'}, {'Preposition': 'to'}, {'Noun Phrase': 'the school'}]
```

I train a sequence tagging model based on RoBERTa of Huggingface. The training code is given in `train.py`.

## How to use

```python
from PhrExt import PhraseExtractor

if __name__ == "__main__":
    phrase_extractor = PhraseExtractor('transZ/phrext', 'roberta-base')
    sent = "PennyLane went to the school"
    res = phrase_extractor(sent)
    print(res)
```