Rizkinoor16 commited on
Commit
a3824ba
1 Parent(s): dac2c86

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - id
4
+ tags:
5
+ - punctuation prediction
6
+ - punctuation
7
+ widget:
8
+ - text: "halo bagaimana kabarmu"
9
+ example_title: "indonesian"
10
+ ---
11
+
12
+ This model predicts the punctuation of Indonesian languange. It has been created to restore punctuation of transcribed from speech recognition models.
13
+ This model Based on the work https://github.com/oliverguhr/fullstop-deep-punctuation-prediction
14
+
15
+ The model restores the following punctuation markers: **"." "," "?" "-" ":"**
16
+
17
+ ## Install
18
+
19
+ To get started install the package from [pypi](https://pypi.org/project/deepmultilingualpunctuation/):
20
+
21
+ ```bash
22
+ pip install deepmultilingualpunctuation
23
+ ```
24
+ ### Restore Punctuation
25
+ ```python
26
+ from deepmultilingualpunctuation import PunctuationModel
27
+
28
+ model = PunctuationModel("Rizkinoor16/fullstop-indonesian-punctuation-prediction")
29
+ text = "halo bagaimana kabarmu"
30
+ result = model.restore_punctuation(text)
31
+ print(result)
32
+ ```
33
+
34
+
35
+ ## Results
36
+ precision recall f1-score support
37
+
38
+ 0 0.98 0.99 0.98 38057720
39
+ . 0.89 0.91 0.90 2234980
40
+ , 0.84 0.79 0.81 3037655
41
+ ? 0.84 0.79 0.82 72969
42
+ - 0.96 0.90 0.93 162085
43
+ : 0.91 0.89 0.90 191937
44
+
45
+ accuracy 0.97 43757346
46
+ macro avg 0.90 0.88 0.89 43757346
47
+ weighted avg 0.97 0.97 0.97 43757346
48
+
49
+ ## Contact
50
+
51
+ Rizki Noor <rizki@cakra.ai>
52
+ **Linkedin** : [Noor Muhamad Rizki](https://www.linkedin.com/in/noor-muhamad-rizki-114600231/)