Skip to content

Commit 1697118

Browse files
authored
Merge pull request #24 from irinakhismatullina/master
Add typos_correction/16577a2c-7f17-4a6f-a759-92f3a00cf339
2 parents 11d6666 + 0d00b65 commit 1697118

File tree

3 files changed

+494
-7
lines changed

3 files changed

+494
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,19 @@ print("Number of tokens:", len(id2vec))
5353
* <default> [92609e70-f79c-46b5-8419-55726e873cfc](/id2vec/92609e70-f79c-46b5-8419-55726e873cfc.md)
5454

5555
## id_splitter_nn
56-
57-
Weights of the BiLSTM network to split source code identifiers.
56+
Model that contains source code identifier splitter BiLSTM weights.
5857

5958
Example:
6059

6160
```python
6261
from sourced.ml.models.id_splitter import IdentifierSplitterNN
63-
id_splitter = IdentifierSplitterNN().load("522bdd11-d1fa-49dd-9e51-87c529283418")
62+
id_splitter = IdentifierSplitterNN().load(id_splitter_nn)
6463
id_splitter.split(identifiers)
6564
```
6665

6766
1 model:
6867

69-
- <default> [522bdd11-d1fa-49dd-9e51-87c529283418](/id_splitter_nn/522bdd11-d1fa-49dd-9e51-87c529283418.md)
68+
* <default> [522bdd11-d1fa-49dd-9e51-87c529283418](/id_splitter_nn/522bdd11-d1fa-49dd-9e51-87c529283418.md)
7069

7170
## topics
7271
Topic modeling of Git repositories. All tokens are identifiers extracted from repositories and seen as indicators for topics. They are used to infer the topic(s) of repositories.
@@ -95,6 +94,7 @@ corrector = TyposCorrector().load(typos_correction)
9594
print("Corrector configuration:\n", corrector.dump())
9695
```
9796

98-
1 model:
97+
2 models:
9998

100-
* <default> [245fae3a-2f87-4990-ab9a-c463393cfe51](/typos_correction/245fae3a-2f87-4990-ab9a-c463393cfe51.md)
99+
* <default> [16577a2c-7f17-4a6f-a759-92f3a00cf339](/typos_correction/16577a2c-7f17-4a6f-a759-92f3a00cf339.md)
100+
* [245fae3a-2f87-4990-ab9a-c463393cfe51](/typos_correction/245fae3a-2f87-4990-ab9a-c463393cfe51.md)

0 commit comments

Comments
 (0)