App-Greple-xlate
view release on metacpan or search on metacpan
README.gpt5-KO.md view on Meta::CPAN
# NAME
App::Greple::xlate - grepleì© ë²ì ì§ì 모ë
# SYNOPSIS
greple -Mxlate --xlate-engine gpt5 --xlate pattern target-file
greple -Mxlate --xlate-engine deepl --xlate pattern target-file
# VERSION
Version 2.02
# DESCRIPTION
**Greple** **xlate** 모ëì ìíë í
ì¤í¸ ë¸ë¡ì ì°¾ì ë²ìë í
ì¤í¸ë¡ ëì²´í©ëë¤. 기본 ìì§ì [llm](https://llm.datasette.io/) ëª
ë ¹ì í¸ì¶íë GPT-5.6 Terra(`llm/gpt5.pm`)ì´ë©°, DeepL(`deepl.pm`) ë° ë ê±°ì *...
ë²ìì íì¼ë³ë¡ ìºìëë¯ë¡, ë³ê²½ëì§ ìì í
ì¤í¸ì ëí´ ëª
ë ¹ì ë¤ì ì¤íí´ë ë¹ì©ì´ ë¤ì§ ììµëë¤. 문ìê° í¸ì§ëë©´ ë³ê²½ë ë¨ë½ë§ APIë¡ ë¤ì ì ì¡ë©ëë¤. 컨í
ì¤í¸ ì¸ì ìì§ì 주ë³...
Perlì pod ì¤íì¼ë¡ ìì±ë 문ììì ì¼ë° í
ì¤í¸ ë¸ë¡ì ë²ìíë ¤ë©´ ë¤ìê³¼ ê°ì´ `--xlate-engine gpt5` ë° `perl` 모ëê³¼ í¨ê» **greple** ëª
ë ¹ì ì¬ì©íììì¤:
greple -Mxlate --xlate-engine gpt5 -Mperl --pod --re '^([\w\pP].*\n)+' --all foo.pm
ì´ ëª
ë ¹ìì í¨í´ 문ìì´ `^([\w\pP].*\n)+` ì ìì«ì ë° êµ¬ëì 문ìë¡ ììíë ì°ìë ì¤ì ì미í©ëë¤. ì´ ëª
ë ¹ì ë²ìí ììì íì´ë¼ì´í¸íì¬ íìí©ëë¤. ìµì
**--all** ë ì ì²´ í
ì¤í¸ë¥¼...
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/App-Greple-xlate/main/images/select-area.png">
</p>
</div>
ê·¸ë° ë¤ì ì íë ììì ë²ìíë ¤ë©´ `--xlate` ìµì
ì ì¶ê°íì¸ì. ê·¸ë¬ë©´ ìíë ì¹ì
ì ì°¾ì ë²ì ìì§ì ì¶ë ¥ì¼ë¡ êµì²´í©ëë¤.
기본ì ì¼ë¡ ì문과 ë²ì문ì [git(1)](http://man.he.net/man1/git) ì(ê³¼) í¸íëë "ì¶©ë ë§ì»¤" íìì¼ë¡ ì¶ë ¥ë©ëë¤. `ifdef` íìì ì¬ì©íë©´ [unifdef(1)](http://man.he.net/man1/unifdef) ëª
ë ¹ì¼ë¡ ìíë ë¶ë¶ì...
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/App-Greple-xlate/main/images/format-conflict.png">
</p>
</div>
ì ì²´ í
ì¤í¸ë¥¼ ë²ìíë ¤ë©´ **--match-all** ìµì
ì ì¬ì©íì¸ì. ì´ë ì ì²´ í
ì¤í¸ì 매ì¹ëë í¨í´ `(?s).+` ì ì§ì íë ë¨ì¶ ë°©ë²ì
ëë¤.
ì¶©ë ë§ì»¤ íì ë°ì´í°ë `-V` ìµì
ê³¼ í¨ê» [sdif](https://metacpan.org/pod/App%3A%3Asdif) ëª
ë ¹ì¼ë¡ ì¢ì° ëëí 보기 ì¤íì¼ë¡ ë³¼ ì ììµëë¤. 문ìì´ ë¨ì ë¹êµë ìë¯¸ê° ìì¼ë¯ë¡ `--no-cdif` ìµì
ì ê¶...
sdif -V --no-filename --no-tc --no-cdif data_shishin.deepl-EN-US.cm
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/App-Greple-xlate/main/images/sdif-cm-view.png">
</p>
</div>
# NORMALIZATION
ì²ë¦¬ë ì§ì ë ë¨ìë¡ ìíëì§ë§, ë¹ì´ ìì§ ìì ì¬ë¬ ì¤ì´ ì°ìë ê²½ì° íëì ì¤ë¡ í¨ê» ë³íë©ëë¤. ì´ ìì
ì ë¤ìê³¼ ê°ì´ ìíë©ëë¤:
- ê° ì¤ì ììê³¼ ëì 공백ì ì ê±°í©ëë¤.
- ì¤ì´ ì ê° êµ¬ë문ìë¡ ëëë©´ ë¤ì ì¤ê³¼ ì´ì´ ë¶ì
ëë¤.
- ì¤ì´ ì ê° ë¬¸ìë¡ ëëê³ ë¤ì ì¤ì´ ì ê° ë¬¸ìë¡ ììíë©´ ì¤ì ì°ê²°í©ëë¤.
- ì¤ì ë ëë ìì ì¤ ì´ë í쪽ì´ë¼ë ì ê° ë¬¸ìê° ìëë©´, 공백 문ì를 ì½ì
íì¬ ì°ê²°í©ëë¤.
ìºì ë°ì´í°ë ì ê·íë í
ì¤í¸ë¥¼ 기ì¤ì¼ë¡ ê´ë¦¬ëë¯ë¡, ì ê·í ê²°ê³¼ì ìí¥ì ì£¼ì§ ìë ìì ì´ ì´ë£¨ì´ì ¸ë ìºìë ë²ì ë°ì´í°ë ê³ì ì í¨í©ëë¤.
ì´ ì ê·í ê³¼ì ì 첫 ë²ì§¸(0ë²ì§¸) ë° ì§ì ë²ì§¸ í¨í´ìë§ ìíë©ëë¤. ë°ë¼ì ë¤ìê³¼ ê°ì´ ë ê°ì í¨í´ì´ ì§ì ë ê²½ì°, 첫 ë²ì§¸ í¨í´ì ì¼ì¹íë í
ì¤í¸ë ì ê·í íì ì²ë¦¬ëë©°, ë ë²ì§¸ í¨...
greple -Mxlate -E normalized -E not-normalized
ë°ë¼ì ì¬ë¬ ì¤ì íëì ì¤ë¡ ê²°í©íì¬ ì²ë¦¬í í
ì¤í¸ìë 첫 ë²ì§¸ í¨í´ì ì¬ì©íê³ , ì¬ì ììíë í
ì¤í¸ìë ë ë²ì§¸ í¨í´ì ì¬ì©íì¸ì. 첫 ë²ì§¸ í¨í´ì ì¼ì¹íë í
ì¤í¸ê° ìë¤ë©´ `(?!...
# MASKING
ê°ë ë²ìíê³ ì¶ì§ ìì í
ì¤í¸ ë¶ë¶ì´ ììµëë¤. ì를 ë¤ì´, ë§í¬ë¤ì´ íì¼ì íê·¸ê° ê·¸ë ìµëë¤. DeepLì ì´ë¬í ê²½ì° ì ì¸í í
ì¤í¸ë¥¼ XML íê·¸ë¡ ë³ííì¬ ë²ìíê³ , ë²ìì´ ìë£ë í ì...
--xlate-setopt maskfile=MASKPATTERN
ì´ë íì¼ì ê° ì¤ì `MASKPATTERN`ë¡ í´ìíì¬ ì ê· ííìì¼ë¡ ì¬ì©íê³ , ì´ì 매ì¹ëë 문ìì´ì ë²ìí ë¤ ì²ë¦¬ í ëë립ëë¤. `#`ë¡ ììíë ì¤ì 무ìë©ëë¤.
ë³µì¡í í¨í´ì ë°±ì¬ëìë¡ ê°íì ì´ì¤ì¼ì´ííì¬ ì¬ë¬ ì¤ì ê±¸ì³ ìì±í ì ììµëë¤.
ë§ì¤í¹ì ìí´ í
ì¤í¸ê° ì´ë»ê² ë³íëëì§ë **--xlate-mask** ìµì
ì¼ë¡ íì¸í ì ììµëë¤.
ë§ì¤í¬ íë ì´ì¤íëë `<m id="1" />`ì ê°ì´ ì¬ë°ë¥¸ íìì ìì²´ ë«í XML íê·¸ì
ëë¤. JSON ê¸°ë° LLM ìì§ì ì
ë ¥ ë°°ì´ìì ì´ í그를 ë°ìµëë¤. DeepLì ê²½ì° ë§ì»¤ í그를 í¬í¨íë ìì²ì ì´ì¤ì¼...
ë§ì¤í¹ì ë§í¬ì
ì´ ë²ìëì§ ìëë¡ ë³´í¸í©ëë¤. ë²ì ìë¹ì¤ ìì²´ë¡ë¶í° 민ê°í 문ìì´ì ì¨ê¸°ë ¤ë©´ ["ANONYMIZATION AND TEMPLATES"](#anonymization-and-templates)를 참조íììì¤. ë ë¤ í¨ê» ì¬ì©í ì ì...
ì´ ì¸í°íì´ì¤ë ì¤íì ì´ë©° í¥í ë³ê²½ë ì ììµëë¤.
# ANONYMIZATION AND TEMPLATES
민ê°í 문ìì´ì ë²ì APIë¡ ì ì¡ë기 ì ì ì¨ê¸°ê³ ì¶ë ¥ìì ë³µìí ì ììµëë¤. ìµëª
í ê·ì¹ì ìì¤ë ì¸ ê°ì§ê° ììµëë¤: ì¬ì íì¼(**--xlate-anonymize**), 문ì ìì²´ì ì¸ë¼ì¸ ë§í¬(**--xlate-an...
ìì 문ì(ë¶ê¸° ë³´ê³ ì ë±)ì ê²½ì°, 먼ì íìì를 ì ìíê³ ë³¸ë¬¸ìì 참조í©ëë¤:
---
å ±åè
: å±±ç°å¤ªé
çºæ³¨ä¼ç¤¾: ã¢ã¯ã¡æ ªå¼ä¼ç¤¾
---
æ¬ä»¶ã«ã¤ã㦠{{ å ±åè
}} ã調æ»ãè¡ã£ãã
`--xlate-template` 를 ì¬ì©íì¬ ì¸ì´ë³ë¡ í
í릿ì í ë² ë²ìíê³ (ê°ì´ íì¼ì ì ì§ëë ê²½ì° `--xlate-frontmatter` ë í¨ê»), ê·¸ë° ë¤ì **pandoc-embedz** ë
립 ì¤í 모ëë¡ ê° ì¬ë¡ë¥¼ ë ëë§í©ëë¤. ì¸ë¶...
greple -Mxlate --xlate --xlate-engine=gpt5 --xlate-to=EN-US \
--xlate-template= --xlate-format=xtxt \
--match-paragraph --all --need=0 \
report-template.md > report-template.EN.md
pandoc-embedz --standalone report-template.EN.md \
-c case-123.yaml -o report-123.EN.md < /dev/null
ì¸ë¼ì¸ ë§í¬ì ê²½ì°, 매í¬ë¡ ì ì ì¤ì ì ì ê³µíë©´ ëì¼í ë²ìë í
íë¦¿ì´ ì¤ì ì´ë¦ì´ë ìµëª
ì²ë¦¬ë ë²ì ì¤ íëë¡ ë ëë§ë©ëë¤:
README.gpt5-KO.md view on Meta::CPAN
íì¬ êµ¬íììë í ì¤ì ì¬ë¬ ë¶ë¶ì´ ë²ìëë©´ ê°ê° ë
립ë ì¤ë¡ ì¶ë ¥ë©ëë¤.
# CACHE OPTIONS
**xlate** 모ëì íì¼ë³ ë²ì í
ì¤í¸ë¥¼ ìºìë¡ ì ì¥íê³ ì¤í ì ì ì½ì´ ìë² ìì² ì¤ë²í¤ë를 ì ê±°í ì ììµëë¤. 기본 ìºì ì ëµ `auto`ììë ëì íì¼ì ìºì íì¼ì´ ì¡´ì¬í ëë§ ìºì ë°...
**--xlate-cache=clear**를 ì¬ì©íì¬ ìºì ê´ë¦¬ë¥¼ ììíê±°ë 기존ì 모ë ìºì ë°ì´í°ë¥¼ ì 리íììì¤. ì´ ìµì
ì¼ë¡ í ë² ì¤íëë©´ ìºì íì¼ì´ ìì ê²½ì° ì ìºì íì¼ì´ ìì±ëê³ ì´í ìëì¼ë...
- --xlate-cache=_strategy_
- `auto` (Default)
ìºì íì¼ì´ ì¡´ì¬íë©´ ì ì§í©ëë¤.
- `create`
ë¹ ìºì íì¼ì ìì±íê³ ì¢
ë£í©ëë¤.
- `always`, `yes`, `1`
ëìì´ ì¼ë° íì¼ì¸ í ìºì를 ì ì§í©ëë¤.
- `clear`
먼ì ìºì ë°ì´í°ë¥¼ ì§ìëë¤.
- `never`, `no`, `0`
ì¡´ì¬íëë¼ë ìºì íì¼ì ì ë ì¬ì©íì§ ììµëë¤.
- `accumulate`
기본 ëìì¼ë¡ ì¬ì©ëì§ ìì ë°ì´í°ë ìºì íì¼ìì ì ê±°ë©ëë¤. ì ê±°íì§ ìê³ íì¼ì ì ì§íë ¤ë©´ `accumulate`를 ì¬ì©íììì¤.
- **--xlate-update**
ì´ ìµì
ì íìíì§ ìëë¼ë ìºì íì¼ì ì
ë°ì´í¸ë¥¼ ê°ì í©ëë¤.
# COMMAND LINE INTERFACE
ë°°í¬ë³¸ì í¬í¨ë `xlate` ëª
ë ¹ì ì¬ì©íë©´ ëª
ë ¹ì¤ìì ì´ ëª¨ëì ìì½ê² ì¬ì©í ì ììµëë¤. ì¬ì©ë²ì `xlate` 매ë´ì¼ íì´ì§ë¥¼ 참조íììì¤.
`xlate` ëª
ë ¹ì `--to-lang`, `--from-lang`, `--engine`, `--file`ì ê°ì GNU ì¤íì¼ì 롱 ìµì
ì ì§ìí©ëë¤. ì¬ì© ê°ë¥í 모ë ìµì
ì ë³´ë ¤ë©´ `xlate -h`ì(를) ì¬ì©íììì¤.
`xlate` ëª
ë ¹ì Docker í경과 ì°ëëë¯ë¡, ë¡ì»¬ì ì무ê²ë ì¤ì¹ëì´ ìì§ ììë Dockerë§ ì¬ì©í ì ìë¤ë©´ ì¬ì©í ì ììµëë¤. `-D` ëë `-C` ìµì
ì ì¬ì©íììì¤.
Docker ìì
ì [App::dozo](https://metacpan.org/pod/App%3A%3Adozo)ì ìí´ ì²ë¦¬ëë©°, ì´ë ë
립 ì¤íí ëª
ë ¹ì¼ë¡ë ì¬ì©í ì ììµëë¤. `dozo` ëª
ë ¹ì ì§ìì ì¸ ì»¨í
ì´ë ì¤ì ì ìí´ `.dozorc` êµ¬ì± íì¼ì ì§...
ëí ë¤ìí 문ì ì¤íì¼ì© ë©ì´í¬íì¼ì´ ì ê³µëë¯ë¡, í¹ë³í ì§ì ìì´ë ë¤ë¥¸ ì¸ì´ë¡ ë²ìì´ ê°ë¥í©ëë¤. `-M` ìµì
ì ì¬ì©íììì¤.
Dockerì `make` ìµì
ì ì¡°í©íì¬ Docker íê²½ìì `make`를 ì¤íí ìë ììµëë¤.
`xlate -C`ì²ë¼ ì¤ííë©´ íì¬ ìì
ì¤ì¸ git ì ì¥ìê° ë§ì´í¸ë ì
¸ì´ ì¤íë©ëë¤.
ìì¸í ë´ì©ì ["SEE ALSO"](#see-also) ì ì ì¼ë³¸ì´ ê¸ì ì½ì´ë³´ì¸ì.
# EMACS
ì ì¥ìì í¬í¨ë `xlate.el` íì¼ì ë¡ëíì¬ Emacs í¸ì§ê¸°ìì `xlate` ëª
ë ¹ì ì¬ì©íììì¤. `xlate-region` í¨ìë ì§ì í ììì ë²ìí©ëë¤. 기본 ì¸ì´ë `EN-US`ì´ë©°, ì ëì¬ ì¸ìë¡ í¸ì¶íì¬ ì¸ì´...
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/App-Greple-xlate/main/images/emacs.png">
</p>
</div>
# ENVIRONMENT
- DEEPL\_AUTH\_KEY
DeepL ìë¹ì¤ì ì¸ì¦ í¤ë¥¼ ì¤ì íììì¤.
- OPENAI\_API\_KEY
ë ê±°ì **gpty** ìì§ìì ì¬ì©íë OpenAI ì¸ì¦ í¤. `llm` ê¸°ë° **gpt5** ìì§ë ì´ ë³ì를 ì½ì§ë§, `llm keys set openai`ë¡ ì ì¥ë í¤ë ìëí©ëë¤.
- GREPLE\_XLATE\_CACHE
기본 ìºì ì ëµì ì¤ì íììì¤(["CACHE OPTIONS"](#cache-options) 참조).
# INSTALL
## CPANMINUS
$ cpanm App::Greple::xlate
## TOOLS
ì¬ì©íë ìì§ì© ëª
ë ¹ì¤ ë구를 ì¤ì¹íììì¤: **gpt5** ìì§ìë `llm`, DeepLìë `deepl`, ë ê±°ì GPT ìì§ìë `gpty`.
[https://llm.datasette.io/](https://llm.datasette.io/)
[https://github.com/DeepLcom/deepl-python](https://github.com/DeepLcom/deepl-python)
[https://github.com/tecolicom/App-gpty](https://github.com/tecolicom/App-gpty)
# SEE ALSO
## MODULES
[App::Greple::xlate::llm](https://metacpan.org/pod/App%3A%3AGreple%3A%3Axlate%3A%3Allm), [App::Greple::xlate::deepl](https://metacpan.org/pod/App%3A%3AGreple%3A%3Axlate%3A%3Adeepl)
[App::dozo](https://metacpan.org/pod/App%3A%3Adozo) - 컨í
ì´ë ìì
ì ìí´ xlateìì ì¬ì©íë ë²ì© Docker ì¤í기
## RELATED MODULES
- [App::Greple](https://metacpan.org/pod/App%3A%3AGreple)
**greple** 매ë´ì¼ìì ëì í
ì¤í¸ í¨í´ì ëí ìì¸í ë´ì©ì íì¸íììì¤. ì¼ì¹ ë²ì를 ì ííë ¤ë©´ **--inside**, **--outside**, **--include**, **--exclude** ìµì
ì ì¬ì©íììì¤.
- [App::Greple::update](https://metacpan.org/pod/App%3A%3AGreple%3A%3Aupdate)
**greple** ëª
ë ¹ ê²°ê³¼ë¡ íì¼ì ìì íë ¤ë©´ `-Mupdate` 모ëì ì¬ì©í ì ììµëë¤.
- [App::sdif](https://metacpan.org/pod/App%3A%3Asdif)
**-V** ìµì
ê³¼ í¨ê» **sdif**ì ì¬ì©íì¬ ì¶©ë ë§ì»¤ íìì ëëí íìíììì¤.
- [App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe)
Greple **stripe** 모ëì **--xlate-stripe** ìµì
ì¼ë¡ ì¬ì©í©ëë¤.
## RESOURCES
( run in 0.829 second using v1.01-cache-2.11-cpan-800906f7e73 )