Skip to content

Commit

Permalink
Check push to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
agamm committed Jun 15, 2023
1 parent c0af833 commit f3396c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ✂️ Semantic-Split
# Semantic-Split

![semantic-split-tests](https://github.com/agamm/semantic-split/actions/workflows/python-package.yml/badge.svg)

Expand Down Expand Up @@ -48,6 +48,7 @@ or `conda install cudatoolkit`
### 1. Semantic Similarity

### Input

```
I dogs are amazing.
Cats must be the easiest pets around.
Expand All @@ -56,10 +57,12 @@ or `conda install cudatoolkit`
```

### Output

`[ ["I dogs are amazing.", "Cats must be the easiest pets around."], `
`["Robots are advanced now with AI.", "Flying in space can only be done by Artificial intelligence."] ]`

### Code

```python
from semantic_split import SimilarSentenceSplitter, SentenceTransformersSimilarity, SpacySentenceSplitter

Expand All @@ -76,4 +79,5 @@ res = splitter.split(text)
```

## Tests

`poetry run pytest`

0 comments on commit f3396c4

Please sign in to comment.