Skip to content

Commit f9232fc

Browse files
committed
Fix typos
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
1 parent 839cdc1 commit f9232fc

File tree

41 files changed

+136
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+136
-136
lines changed

docs/source/guide/ml_tutorials/yolo_timeline_labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The cache is used for incremental training on the fly and prediction speedup.
189189
- **Early stop on training data**: The model uses early stopping based on the F1 score and accuracy on the training data. This may lead to overfitting on the training data. It was made because of the lack of validation data when updating on one annotation.
190190
- **YOLO model limitations**: The model uses a pre-trained YOLO model trained on object classification tasks for feature extraction, which may not be optimal for all use cases such as event detection. This approach doesn't tune the YOLO model, it trains only the LSTM piece upon the YOLO last layer.
191191
- **Label balance**: The model may struggle with imbalanced labels. Ensure that the labels are well-distributed in the training data. Consider modifying the loss function (`BCEWithLogitsLoss`) and using class pos weights to address this issue.
192-
- **Training on all daa**: Training on all data is not yet implemented, so the model trains only on the last annotation. See `timeline_labels.py::fit()` for more details.
192+
- **Training on all data**: Training on all data is not yet implemented, so the model trains only on the last annotation. See `timeline_labels.py::fit()` for more details.
193193

194194
## Example use case: detecting a ball in football videos
195195

docs/source/guide/project_settings_lse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ And the following actions are available from the overflow menu next to a connect
883883
| Action | Description |
884884
| ------------- | ------------ |
885885
| **Start Training** | Manually initiate training. Use this action if you want to control when the model training occurs, such as after a specific number of annotations have been collected or at certain intervals. |
886-
| **Send Test Request** | (Available from the overflow menu next to the connected model)<br /><br />Use this for troubleshooting and sending a test resquest to the connected model. |
886+
| **Send Test Request** | (Available from the overflow menu next to the connected model)<br /><br />Use this for troubleshooting and sending a test request to the connected model. |
887887
| **Edit** | Edit the model name, URL, and parameters. For more information, see [Connect a model to Label Studio](ml#Connect-a-model-to-Label-Studio). |
888888
| **Delete** | Remove the connection to the model. |
889889

docs/source/plugins/pause_annotator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const MESSAGES = {
8686
/**
8787
* All Available rules are below.
8888
*
89-
* They recieve params and return function which recieves `items` and optional `field`.
89+
* They receive params and return function which receives `items` and optional `field`.
9090
* If condition is met it returns warning message. If not — returns `false`.
9191
*/
9292

docs/source/templates/response_selection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You can add a [header](/tags/header.html) to provide instructions to the annotat
5555
<Header value="Choose a response" />
5656
```
5757

58-
Use a new [View](/tags/view.html) tag to control the dsiplay of text and choices on the labeling interface:
58+
Use a new [View](/tags/view.html) tag to control the display of text and choices on the labeling interface:
5959
```xml
6060
<View style="display: flex">
6161
```
@@ -87,4 +87,4 @@ Use the [Choices](/tags/choices.html) control tag to allow annotators to choose
8787
- [Header](/tags/header.html)
8888
- [View](/tags/view.html)
8989
- [Text](/tags/text.html)
90-
- [Choices](/tags/choices.html)
90+
- [Choices](/tags/choices.html)

docs/source/templates/two_level_sentiment_analysis_of_x_twitter_posts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ repo_url: https://github.com/HumanSignal/awesome-label-studio-config/tree/main/l
1818

1919
<img src="/images/templates/two-level-sentiment-analysis-of-x-twitter-posts.jpg" alt="" class="gif-border" width="552px" height="408px" />
2020

21-
This labeling config lets you assign a sentiment (Positive, Negative, or Neutral) to X / Twitter post. After picking a sentiment, a second-level classification appears to categorize the text as Descriptive, Emotional, Mixed, Ambigous, or Sarcams. The labeling interface is styled to look like a X / Twitter post.
21+
This labeling config lets you assign a sentiment (Positive, Negative, or Neutral) to X / Twitter post. After picking a sentiment, a second-level classification appears to categorize the text as Descriptive, Emotional, Mixed, Ambiguous, or Sarcasm. The labeling interface is styled to look like a X / Twitter post.
2222

2323
## Labeling Configuration
2424

2525
```html
2626
<View>
27-
<!-- CSS fix for the legacy plaground -->
27+
<!-- CSS fix for the legacy playground -->
2828
<Style>
2929
.htx-text{padding:0; background: transparent; border:none;}
3030
</Style>
@@ -95,8 +95,8 @@ This labeling config lets you assign a sentiment (Positive, Negative, or Neutral
9595
<Choice value="Descriptive" />
9696
<Choice value="Emotional" hint="Click on it if it shows moderate to strong sentiment" />
9797
<Choice value="Mixed" hint="Click on it if multiple conflicting sentiments are present"/>
98-
<Choice value="Ambigous" hint="Click on it if it is irrelevant or unclear"/>
99-
<Choice value="Sarcams" hint="Click on it if it shows ironic or sarcastic content"/>
98+
<Choice value="Ambiguous" hint="Click on it if it is irrelevant or unclear"/>
99+
<Choice value="Sarcasm" hint="Click on it if it shows ironic or sarcastic content"/>
100100
</Choices>
101101
</View>
102102
```

docs/source/tutorials/how_to_multi_turn_chat_evals_with_chainlit_and_label_studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ This is the label config from the [Evaluate Production Conversations for RLHF
120120
](https://docs.humansignal.com/templates/chat_rlhf) example. It includes:
121121
- A chat interface for viewing conversations
122122
- Overall quality of message rating
123-
- Additinal comments
123+
- Additional comments
124124

125125

126126
```python

web/libs/editor/LSF.init.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LSF init
22

3-
Different thoughts and investingations related to LSF init.
3+
Different thoughts and investigations related to LSF init.
44

55
## App render
66

@@ -136,7 +136,7 @@ prepareAnnotation -> fixBrokenAnnotation -> some changes on result json
136136

137137
deserializeSingleResult for every result in JSON — some area/result/state manipulations,
138138
should be no side effects.
139-
it calls `updateAppearenceFromState` for merged labels and results (only Video tag regions),
139+
it calls `updateAppearanceFromState` for merged labels and results (only Video tag regions),
140140
but this should only be called on selected annotation.
141141

142142
cleanClassificationAreas — WUT???
@@ -180,7 +180,7 @@ can be changed to usual method called only once.
180180

181181
We have the concept of selecting annotation, when we not just assign it as current one, but also update data in tags, trigger external event, load annotation history, setup hotkeys, set initial values.
182182

183-
Previosly it was required to select every annotation to do some extra work in regions/tags inside it because of some quirky legacy code. I fixed what I found so far and ran all possible tests — they all are green, so consider this change mostly safe.
183+
Previously it was required to select every annotation to do some extra work in regions/tags inside it because of some quirky legacy code. I fixed what I found so far and ran all possible tests — they all are green, so consider this change mostly safe.
184184

185185
Benefits:
186186
- improved performance as only one annotation is selected, reducing number of calculations and renders

web/libs/editor/examples/sentiment_analysis/tasks.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
0,
138138
0
139139
],
140-
"reviewText": "I now use this cable to run from the output of my pedal chain to the input of my Fender Amp. After I bought Monster Cable to hook up my pedal board I thought I would try another one and update my guitar. I had been using a high end Planet Waves cable that I bought in the 1980's... Once I found out the input jacks on the new Monster cable didn't fit into the Fender Strat jack I was a little disappointed... I didn't return it and as stated I use it for the output on the pedal board. Save your money... I went back to my Planet Waves Cable...I payed $30.00 back in the eighties for the Planet Waves which now comes in at around $50.00. What I'm getting at is you get what you pay for. I thought Waves was a lot of money back in the day...but I haven't bought a guitar cable since this one...20 plus years and still working...Planet Waves wins.",
140+
"reviewText": "I now use this cable to run from the output of my pedal chain to the input of my Fender Amp. After I bought Monster Cable to hook up my pedal board I thought I would try another one and update my guitar. I had been using a high end Planet Waves cable that I bought in the 1980's... Once I found out the input jacks on the new Monster cable didn't fit into the Fender Strat jack I was a little disappointed... I didn't return it and as stated I use it for the output on the pedal board. Save your money... I went back to my Planet Waves Cable...I paid $30.00 back in the eighties for the Planet Waves which now comes in at around $50.00. What I'm getting at is you get what you pay for. I thought Waves was a lot of money back in the day...but I haven't bought a guitar cable since this one...20 plus years and still working...Planet Waves wins.",
141141
"overall": 3,
142142
"summary": "Didn't fit my 1996 Fender Strat...",
143143
"unixReviewTime": 1353024000,
@@ -313,7 +313,7 @@
313313
3,
314314
3
315315
],
316-
"reviewText": "I've been using these cables for more than 4 months and they are holding up pretty well. For years I used seemingly indestructable guitar cables that were made for me by an electrician friend. When they finally gave out, I got in the habit of using the no-name cables that are always on display near the register at Guitar Center- really more of an impulse buy than something I put any thought into. After the third or fourth Guitar Center cable failed from light use I decided to try these cables. Not only are they cheaper but they seem to be holding up better. I am not terribly hard on my gear but my cables tend to get twisted as I move around and the cheaper ones eventually fail mid-cable. I don't mind spending a few extra dollars if the cable is a little more durable. This cable is actually cheaper- $12 or so shipped- and it's holding up pretty well. These are actually very reasonably priced for 18' cables. There is some kind of limited life warantee on this product but I haven't needed it. Five stars for a nicely made 18 foot guitar cable that costs $12 shipped!Incidentally- these cables are shielded and are meant to connect your instrument to your amp's input. Do not use these to connect an amplifier to a speaker cab. You want to use unshielded cables for that purpose.Edit- More than 6 months has passed and this cable is functioning without any issues. The price on these things has gone up significantly and although the cable is highly recommended, there are probably better values from Hosa, Monster or Planet Waves-",
316+
"reviewText": "I've been using these cables for more than 4 months and they are holding up pretty well. For years I used seemingly indestructable guitar cables that were made for me by an electrician friend. When they finally gave out, I got in the habit of using the no-name cables that are always on display near the register at Guitar Center- really more of an impulse buy than something I put any thought into. After the third or fourth Guitar Center cable failed from light use I decided to try these cables. Not only are they cheaper but they seem to be holding up better. I am not terribly hard on my gear but my cables tend to get twisted as I move around and the cheaper ones eventually fail mid-cable. I don't mind spending a few extra dollars if the cable is a little more durable. This cable is actually cheaper- $12 or so shipped- and it's holding up pretty well. These are actually very reasonably priced for 18' cables. There is some kind of limited life warranty on this product but I haven't needed it. Five stars for a nicely made 18 foot guitar cable that costs $12 shipped!Incidentally- these cables are shielded and are meant to connect your instrument to your amp's input. Do not use these to connect an amplifier to a speaker cab. You want to use unshielded cables for that purpose.Edit- More than 6 months has passed and this cable is functioning without any issues. The price on these things has gone up significantly and although the cable is highly recommended, there are probably better values from Hosa, Monster or Planet Waves-",
317317
"overall": 5,
318318
"summary": "So far so good. Will revisit at the 6 month mark ;)",
319319
"unixReviewTime": 1363564800,
@@ -712,7 +712,7 @@
712712
0,
713713
0
714714
],
715-
"reviewText": "Realtively inexpensive patch cable for electric guitar.I have had it for a few months and so far it has held up pretty well",
715+
"reviewText": "Relatively inexpensive patch cable for electric guitar.I have had it for a few months and so far it has held up pretty well",
716716
"overall": 5,
717717
"summary": "very nice cable",
718718
"unixReviewTime": 1401235200,
@@ -776,7 +776,7 @@
776776
0,
777777
0
778778
],
779-
"reviewText": "Seems sturdy enough, and no noise issues, so I'm pretty much satified with it; it doesn't leave the house so I'm not asking it to handle a lot, but with reasonable care it should last a while.",
779+
"reviewText": "Seems sturdy enough, and no noise issues, so I'm pretty much satisfied with it; it doesn't leave the house so I'm not asking it to handle a lot, but with reasonable care it should last a while.",
780780
"overall": 5,
781781
"summary": "Works wonderfully, no noise",
782782
"unixReviewTime": 1372291200,
@@ -936,7 +936,7 @@
936936
0,
937937
0
938938
],
939-
"reviewText": "I use this cord in my church to run from my pedalboard to my amp (which is in a soundproof box). The cord is reliable and clean sounding. I like it and have used HOSA products in the past with confidence. Excellent cord. Hopefully this review will be usefull to you.",
939+
"reviewText": "I use this cord in my church to run from my pedalboard to my amp (which is in a soundproof box). The cord is reliable and clean sounding. I like it and have used HOSA products in the past with confidence. Excellent cord. Hopefully this review will be useful to you.",
940940
"overall": 5,
941941
"summary": "great, affordable, cord",
942942
"unixReviewTime": 1392163200,
@@ -1048,7 +1048,7 @@
10481048
0,
10491049
0
10501050
],
1051-
"reviewText": "Good quality guitar cord.Very low noise, repairable, effective strain releaf,thick rubber cover!! This is a great buy, under 10 bucks for a quality cord.Of course I just got it..it might not be durable but it looks durable.If I change my mind about anything I will update my review.For now, I would say, buy one!!Joe",
1051+
"reviewText": "Good quality guitar cord.Very low noise, repairable, effective strain relief,thick rubber cover!! This is a great buy, under 10 bucks for a quality cord.Of course I just got it..it might not be durable but it looks durable.If I change my mind about anything I will update my review.For now, I would say, buy one!!Joe",
10521052
"overall": 5,
10531053
"summary": "Good Quality",
10541054
"unixReviewTime": 1373068800,
@@ -1496,7 +1496,7 @@
14961496
0,
14971497
0
14981498
],
1499-
"reviewText": "I own lots of hosa cables they are cheap and quality is there. I've only recieved one bad cable out of around 50 or so. I use a lot of these guys and if they work when you get them, they havn't failed yet.",
1499+
"reviewText": "I own lots of hosa cables they are cheap and quality is there. I've only received one bad cable out of around 50 or so. I use a lot of these guys and if they work when you get them, they haven't failed yet.",
15001500
"overall": 5,
15011501
"summary": "hosa rocks",
15021502
"unixReviewTime": 1360886400,
@@ -1528,7 +1528,7 @@
15281528
0,
15291529
0
15301530
],
1531-
"reviewText": "the cable is great for connecting directly to the computer microphone to record live without a console or mixer...... its great i recomended",
1531+
"reviewText": "the cable is great for connecting directly to the computer microphone to record live without a console or mixer...... its great i recommended",
15321532
"overall": 5,
15331533
"summary": "good for direct connect to computer",
15341534
"unixReviewTime": 1372550400,

web/libs/editor/src/components/HtxTextBox/HtxTextBox.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class HtxTextBox extends React.Component {
106106
// don't pass non-DOM props to Paragraph
107107
onDelete: _,
108108
isEditable: __,
109-
isDeleteable: ___,
109+
isDeletable: ___,
110110
ignoreShortcuts: ____,
111111
} = this.props;
112112
const { height, value } = this.state;
@@ -173,7 +173,7 @@ export class HtxTextBox extends React.Component {
173173
onChange,
174174
onDelete,
175175
isEditable,
176-
isDeleteable,
176+
isDeletable,
177177
text,
178178

179179
// don't pass non-DOM props to Paragraph
@@ -212,7 +212,7 @@ export class HtxTextBox extends React.Component {
212212
onClick={this.startEditing}
213213
/>
214214
)}
215-
{isDeleteable && onDelete && (
215+
{isDeletable && onDelete && (
216216
<Button
217217
type="text"
218218
variant="negative"

web/libs/editor/src/components/InteractiveOverlays/BoundingBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class BoundingBox {
1919
}
2020

2121
/**
22-
* Contructor
22+
* Constructor
2323
*
2424
* _source_ might be any object that provides its dimensions and position
2525
*

0 commit comments

Comments
 (0)