Skip to content

Commit

Permalink
Merge pull request #22 from ZILiAT-NASK/v0.1.9
Browse files Browse the repository at this point in the history
V0.1.9
  • Loading branch information
kingagla authored Mar 19, 2024
2 parents 3c55551 + f55b295 commit 5397511
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Our most recent release is:
- German language in beta version
- Russian language in beta version
- Ukrainian language in beta version
- Possibility to define metrics to use / categories of metrics as list of strings containing names.
- Possibility to save intermediate steps so even if something crashes, you still have some of work saved.

Please notice that support for **Russian** and **Ukrainian** languages will no longer be available.

Expand Down Expand Up @@ -117,6 +119,8 @@ print(metrics)

That's it! Find out about more usages and customization options in [notebook tutorial](examples/Tutorial.ipynb).

Find out about using StyloMetrix in classification or in clustering in [example notebook](examples/Classification_with_StyloMetrix_English.ipynb)

## 📈 Metrics
We have put care into creating a set of powerful built-in metrics. See the list below ⬇. However, since flexibility is strength, we provide an easy way to create new metrics.

Expand Down
2 changes: 1 addition & 1 deletion src/stylo_metrix/stylo_metrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def transform(self, texts):
return values, debugs
else:
if self._save_path:
self._save(values)
self._save(values, self.output_name + f"{self._file_number}")
return values

def _save(self, value, base_name):
Expand Down

0 comments on commit 5397511

Please sign in to comment.