-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ko] Intl.Segmenter 설명 신규 번역 외 #22309
Conversation
wisedog
commented
Jul 7, 2024
- Intl.Segmenter 설명 신규 번역
- Array.length 최신화
- Intl.Segmenter 설명 신규 번역 - Array.length 최신화
Preview URLs
Flaws (5)Note! 1 document with no flaws that don't need to be listed. 🎉 URL:
(comment last updated: 2024-07-09 13:19:06) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wisedog 님 안녕하세요. 기여해주셔서 감사합니다! 💯
몇 가지 코멘트 남겨두었습니다.
확인하시고 다시 리뷰 요청 부탁드리겠습니다. 🙇
질문이나 도움이 필요하시다면 언제든 멘션 부탁드리겠습니다.
|
||
### 고정 길이의 빈 배열 생성하기 | ||
|
||
`length`를 현재 크기보다 더 크게 설정하면 [회소 배열](/ko/docs/Web/JavaScript/Guide/Indexed_collections#희소_배열)을 생성합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`length`를 현재 크기보다 더 크게 설정하면 [회소 배열](/ko/docs/Web/JavaScript/Guide/Indexed_collections#희소_배열)을 생성합니다. | |
`length`를 현재 크기보다 더 크게 설정하면 [희소 배열](/ko/docs/Web/JavaScript/Guide/Indexed_collections#희소_배열)을 생성합니다. |
오타로 보입니다. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아.... 🤦♂️
- 인��턴스 객체를 생성한 생성자 함수입니다. `Intl.Segmenter` 인스턴스의 경우, 초기 값은 {{jsxref("Intl/Segmenter/Segmenter", "Intl.Segmenter")}} 생성자입니다. | ||
- `Intl.Segmenter.prototype[@@toStringTag]` | ||
- [`@@toStringTag`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag) 속성의 초기 값은 문자열 `"Intl.Segmenter"`입니다. 이 속성은 {{jsxref("Object.prototype.toString()")}}에서 사용됩니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 인스턴스 객체를 생성한 생성자 함수입니다. `Intl.Segmenter` 인스턴스의 경우, 초기 값은 {{jsxref("Intl/Segmenter/Segmenter", "Intl.Segmenter")}} 생성자입니다. | |
- `Intl.Segmenter.prototype[@@toStringTag]` | |
- [`@@toStringTag`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag) 속성의 초기 값은 문자열 `"Intl.Segmenter"`입니다. 이 속성은 {{jsxref("Object.prototype.toString()")}}에서 사용됩니다. | |
- : 인스턴스 객체를 생성한 생성자 함수입니다. `Intl.Segmenter` 인스턴스의 경우, 초기 값은 {{jsxref("Intl/Segmenter/Segmenter", "Intl.Segmenter")}} 생성자입니다. | |
- `Intl.Segmenter.prototype[@@toStringTag]` | |
- : [`@@toStringTag`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag) 속성의 초기 값은 문자열 `"Intl.Segmenter"`입니다. 이 속성은 {{jsxref("Object.prototype.toString()")}}에서 사용됩니다. |
원문과 동일한 형태를 유지해 주세요.
const str = "吾輩は猫である。名前はたぬき。"; | ||
console.table(str.split(" ")); | ||
// ['吾輩は猫である。名前はたぬき。'] | ||
// The two sentences are not correctly segmented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// The two sentences are not correctly segmented. | |
// 두 문장이 올바르게 분할되지 않았습니다. |
const segments = segmenterJa.segment(str); | ||
console.table(Array.from(segments)); | ||
// [{segment: '吾輩', index: 0, input: '吾輩は猫である。名前はたぬき。', isWordLike: true}, | ||
// etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// etc. | |
// 기타 등등 |
@1ilsang 리뷰 감사합니다. 수정했으니 다시 확인 부탁드립니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 고생하셨습니다~!