「[対訳] フォント」の編集履歴(バックアップ)一覧はこちら
「[対訳] フォント」(2019/06/17 (月) 20:42:15) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
original (2019/05/14 付) | Google 翻訳 (2019/05/22 付)
---------- | ------------
# Fonts for Tesseract training | #Tesseractトレーニング用のフォント
|
Tesseract training can use images made from text which was rendered with a list of fonts. Those fonts must be available on the host where the training process is running. | Tesseractトレーニングでは、フォントのリストでレンダリングされたテキストから作成された画像を使用できます。これらのフォントは、トレーニングプロセスが実行されているホストで利用可能でなければなりません。
|
The fonts that were used to train 3.05's OCR engine and the legacy OCR engine in 4.0.0 are defined in [training/language-specific.sh](https://github.com/tesseract-ocr/tesseract/blob/master/src/training/language-specific.sh). | 4.05で3.05のOCRエンジンとレガシーOCRエンジンをトレーニングするために使用されたフォントは[training / language-specific.sh](https://github.com/tesseract-ocr/tesseract/blob/)に定義されています。 master / src / training / language-specific.sh)
|
Many more fonts are listed in [langdata/font_properties](https://github.com/tesseract-ocr/langdata/blob/master/font_properties). If you add fonts to the first file (or specify them explicitly via command line parameter), you must add them to the second as well. | もっと多くのフォントが[langdata / font_properties](https://github.com/tesseract-ocr/langdata/blob/master/font_properties)にリストされています。最初のファイルにフォントを追加する場合(またはコマンドラインパラメータでフォントを明示的に指定する場合)、それらを2番目のファイルにも追加する必要があります。
|
The fonts that were used to train the LSTM OCR engine in 4.0.0 are defined in `<lang>/okfonts.txt` files in the [langdata_lstm repo](https://github.com/tesseract-ocr/langdata_lstm). | 4.0.0でLSTM OCRエンジンをトレーニングするために使われたフォントは[langdata_lstmリポジトリ](https://github.com/tesseract-ocr/langdata_lstm)の `<lang> / okfonts.txt`ファイルに定義されています。
|
## Find Fonts | ##フォントを探す
|
To find fonts already installed on your system which will render a given training text, you can use the following command (change the language code and directory locations to match your setup). fontslist.txt will provide text that can be used in `training/language-specific.sh`. | システムにすでにインストールされている特定のトレーニングテキストを表示するフォントを見つけるには、次のコマンドを使用します(設定に合わせて言語コードとディレクトリの場所を変更します)。 fontslist.txtは `training / language-specific.sh`で使えるテキストを提供します。
|
``` | `` `
text2image --find_fonts \ | text2image --find_fonts \
--fonts_dir /usr/share/fonts \ | --fonts_dir / usr / share / fonts \
--text ./langdata/eng/eng.training_text \ | --text ./langdata/eng/eng.training_text \
--min_coverage .9 \ | --min_coverage .9 \
--outputbase ./langdata/eng/eng \ | --outputbase ./langdata/eng/eng \
|& grep raw \ | |&grep raw \
| sed -e 's/ :.*/@ \\/g' \ | | sed -eの/:。* / @ \\ / g '\
| sed -e "s/^/ '/" \ | | sed -e "s / ^ / '/" \
| sed -e "s/@/'/g" >./langdata/eng/fontslist.txt | | sed -e "s / @ / '/ g"> ./ langdata / eng / fontslist.txt
``` | `` `
The above will not work for Fraktur fonts, it will identify all Latin fonts also. Review the generated images and choose appropriate fonts. | 上記はFrakturフォントでは機能しません。ラテン語のフォントもすべて識別できます。生成された画像を確認して適切なフォントを選択してください。
|
## Font installation | ##フォントのインストール
|
### Debian | ### Debian
|
On Debian GNU Linux and similar distributions (Linux Mint, Ubuntu, ...), | Debian GNU Linuxおよび類似のディストリビューション(Linux Mint、Ubuntu、...)では、
the required fonts can be installed like that: | 必要なフォントは以下のようにインストールできます。
|
# AMHARIC_FONTS (todo) | #AMHARIC_FONTS(仕事)
# ANCIENT_GREEK_FONTS (todo) | #ANCIENT_GREEK_FONTS(仕事)
# ARABIC_FONTS (todo) | #ARABIC_FONTS(仕事)
# ARMENIAN_FONTS (todo) | #ARMENIAN_FONTS(仕事)
# BENGALI_FONTS (todo) | #BENGALI_FONTS(仕事)
# BURMESE_FONTS (todo) | #BURMESE_FONTS(仕事)
# CHI_SIM_FONTS (todo) | #CHI_SIM_FONTS(仕事)
# CHI_TRA_FONTS (todo) | #CHI_TRA_FONTS(仕事)
|
# DEVANAGARI_FONTS (see also external links below) | #DEVANAGARI_FONTS(下記の外部リンクも参照)
apt-get install fonts-deva | apt-get install fonts-deva
|
# EARLY_LATIN_FONTS (todo) | #EARLY_LATIN_FONTS(仕事)
# FRAKTUR_FONTS (todo) | #FRAKTUR_FONTS(仕事)
# GEORGIAN_FONTS (todo) | #GEORGIAN_FONTS(仕事)
# GREEK_FONTS (todo) | #GREEK_FONTS(仕事)
# GUJARATI_FONTS (todo) | #GUJARATI_FONTS(仕事)
# HEBREW_FONTS (todo) | #HEBREW_FONTS(仕事)
|
# JPN_FONTS (todo) | #JPN_FONTS(仕事)
apt-get install fonts-noto-cjk fonts-japanese-mincho.ttf fonts-takao-gothic fonts-vlgothic | apt-getインストールfonts-noto-cjkフォント-japanese-mincho.ttfフォント-tao-gothicフォント-vlgothic
|
# KANNADA_FONTS (todo) | #KANNADA_FONTS(仕事)
# KHMER_FONTS (todo) | #KHMER_FONTS(仕事)
# KOREAN_FONTS (todo) | #KOREAN_FONTS(仕事)
# KURDISH_FONTS (todo) | #KURDISH_FONTS(仕事)
# KYRGYZ_FONTS (todo) | #KYRGYZ_FONTS(仕事)
# LAOTHIAN_FONTS (todo) | #LAOTHIAN_FONTS(仕事)
|
# LATIN_FONTS | #LATIN_FONTS
apt-get install fonts-dejavu gsfonts ttf-mscorefonts-installer | apt-getインストールfonts-dejavu gsfonts ttf-mscorefonts-installer
|
# MALAYALAM_FONTS (todo) | #MALAYALAM_FONTS(仕事)
|
# NEOLATIN_FONTS (still incomplete) | #NEOLATIN_FONTS(まだ不完全)
apt-get install fonts-ebgaramond fonts-gfs-didot fonts-gfs-didot-classic fonts-junicode | apt-getインストールfonts-ebgaramondフォント-gfs-didotフォント-gfs-didot-classicフォント-junicode
|
# NORTH_AMERICAN_ABORIGINAL_FONTS (todo) | #NORTH_AMERICAN_ABORIGINAL_FONTS(仕事)
# OLD_GEORGIAN_FONTS (todo) | #OLD_GEORGIAN_FONTS(仕事)
# ORIYA_FONTS (todo) | #ORIYA_FONTS(仕事)
# PERSIAN_FONTS (todo) | #PERSIAN_FONTS(仕事)
# PUNJABI_FONTS (todo) | #PUNJABI_FONTS(仕事)
# RUSSIAN_FONTS (todo) | #RUSSIAN_FONTS(仕事)
# SINHALA_FONTS (todo) | #SINHALA_FONTS(仕事)
# SYRIAC_FONTS (todo) | #SYRIAC_FONTS(仕事)
# TAMIL_FONTS (todo) | #TAMIL_FONTS(仕事)
# TELUGU_FONTS (todo) | #TELUGU_FONTS(仕事)
# THAANA_FONTS (todo) | #THAANA_FONTS(仕事)
# THAI_FONTS (todo) | #THAI_FONTS(仕事)
# TIBETAN_FONTS (todo) | #TIBETAN_FONTS(仕事)
# VERTICAL_FONTS (todo) | #VERTICAL_FONTS(仕事)
# VIETNAMESE_FONTS (todo) | #VIETNAMESE_FONTS(仕事)
|
The installed fonts are shown by the command `fc-list`. See also the [Debian wiki](https://wiki.debian.org/Fonts). | インストールされているフォントは `fc-list`コマンドで表示されます。 [Debian wiki](https://wiki.debian.org/Fonts)もご覧ください。
|
`text2image --fonts_dir /usr/share/fonts --list_available_fonts` will also show all fonts. | `text2image --fonts_dir / usr / share / fonts --list_available_fonts`はすべてのフォントも表示します。
|
## Links | ##リンク
|
### Sources of (mostly free) fonts | ###(主に無料の)フォントの入手先
|
#### Latin Fonts | ####ラテンフォント
|
* https://fontlibrary.org/en (GFS Bodoni) | * https://fontlibrary.org/en(GFS Bodoni)
* https://fonts.google.com/ | * https://fonts.google.com/
* http://iginomarini.com/fell/the-revival-fonts/ | * http://iginomarini.com/fell/the-revival-fonts/
* http://scholarsfonts.net/ (Cardo) | * http://scholarsfonts.net/(カルド)
* http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=FontDownloads (SIL Fonts) | * http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=FontDownloads(SIL Fonts)
* http://www.ctan.org/tex-archive/fonts (GFS Bodoni) | * http://www.ctan.org/tex-archive/fonts(GFS Bodoni)
* http://www.steffmann.de/wordpress/test-2/ | * http://www.steffmann.de/wordpress/test-2/
|
#### Devanagari Fonts | #### Devanagariフォント
|
* [Aksharayogini2](http://aksharyogini.sudhanwa.com/download/Aksharyogini2Normal.ttf) | * [Aksharayogini2](http://aksharyogini.sudhanwa.com/download/Aksharyogini2Normal.ttf)
* [AksharayoginiBoldItalic](http://aksharyogini.sudhanwa.com/download/AksharyoginiBoldItalic.ttf) | * [AksharayoginiBoldItalic](http://aksharyogini.sudhanwa.com/download/AksharyoginiBoldItalic.ttf)
* [AksharayoginiBold](http://aksharyogini.sudhanwa.com/download/AksharyoginiBold.ttf) | * [AksharayoginiBold](http://aksharyogini.sudhanwa.com/download/AksharyoginiBold.ttf)
* [AksharayoginiItalic](http://aksharyogini.sudhanwa.com/download/AksharyoginiItalic.ttf) | * [AksharayoginiItalic](http://aksharyogini.sudhanwa.com/download/AksharyoginiItalic.ttf)
* [Aksharayogini](http://aksharyogini.sudhanwa.com/download/AksharyoginiNormal.ttf) | * [Aksharayogini](http://aksharyogini.sudhanwa.com/download/AksharyoginiNormal.ttf)
* [Ananda Akchyar Devanagari](http://www.deviantart.com/download/528435924/ananda_akchyar_devanagari_unicode_by_lalitkala-d8qm7ro.zip?token=93007db762db7368ba4846c0de5b4e5f3dfdadd8&ts=1501873924) | * [Ananda Akchyar Devanagari](http://www.deviantart.com/download/528435924/ananda_akchyar_devanagari_unicode_by_lalitkala-d8qm7ro.zip?token=93007db762db7368ba4846c0de5b4e5f3d24f1f1f188f188f188f188181)
* [AnnapurnaSIL](http://software.sil.org/downloads/d/annapurna/AnnapurnaSIL-1.201.zip) | * [AnnapurnaSIL](http://software.sil.org/downloads/d/annapurna/AnnapurnaSIL-1.201.zip)
* [CDAC-Surekh Bold](http://biharvidhanparishad.gov.in/Fonts/CDACSRBT.TTF) | * [CDAC-Surekh Bold](http://biharvidhanparishad.gov.in/Fonts/CDACSRBT.TTF)
* [CDAC-Surekh Normal](http://biharvidhanparishad.gov.in/Fonts/CDACSRNT.TTF) | * [CDAC-Surekh Normal](http://biharvidhanparishad.gov.in/Fonts/CDACSRNT.TTF)
* [CDAC-Yogesh Bold](http://biharvidhanparishad.gov.in/Fonts/CDACOTYGB.TTF) | * [CDAC-Yogesh Bold](http://biharvidhanparishad.gov.in/Fonts/CDACOTYGB.TTF)
* [CDAC-Yogesh Italic](http://biharvidhanparishad.gov.in/Fonts/CDACYGIT.TTF) | * [CDAC-Yogesh Italic](http://biharvidhanparishad.gov.in/Fonts/CDACYGIT.TTF)
* [CDAC-Yogesh Normal](http://biharvidhanparishad.gov.in/Fonts/CDACOTYGN.TTF) | * [CDAC-Yogesh Normal](http://biharvidhanparishad.gov.in/Fonts/CDACOTYGN.TTF)
* [Chandas](http://www.sanskritweb.net/cakram/chandas.ttf) | * [Chandas](http://www.sanskritweb.net/cakram/chandas.ttf)
* [Gotu](https://ektype.in/gotu.html) | * [Gotu](https://ektype.in/gotu.html)
* [Jaini](https://ektype.in/jaini-1096.html) | * [Jaini](https://ektype.in/jaini-1096.html)
* [Jaini Purva](https://ektype.in/jaini-1096.html) | * [Jaini Purva](https://ektype.in/jaini-1096.html)
* [Lohit Devanagari](https://releases.pagure.org/lohit/Lohit-Devanagari.ttf) | * [Lohit Devanagari](https://releases.pagure.org/lohit/Lohit-Devanagari.ttf)
* [Nakula](http://bombay.indology.info/software/fonts/devanagari/nakula.ttf) | * [Nakula](http://bombay.indology.info/software/fonts/devanagari/nakula.ttf)
* [Mukta](https://ektype.in/mukta.html) | * [Mukta](https://ektype.in/mukta.html)
* [Murty Hindi](http://www.murtylibrary.com/mcli-fonts.php) | * [Murty Hindi](http://www.murtylibrary.com/mcli-fonts.php)
* [Murty Sanskrit](http://www.murtylibrary.com/mcli-fonts.php) | * [Murty Sanskrit](http://www.murtylibrary.com/mcli-fonts.php)
* [Sahadeva](http://bombay.indology.info/software/fonts/devanagari/sahadeva.ttf) | * [Sahadeva](http://bombay.indology.info/software/fonts/devanagari/sahadeva.ttf)
* [Sanskrit2003](http://www.sanskritweb.net/itrans/sanskrit2003.zip) | * [Sanskrit2003](http://www.sanskritweb.net/itrans/sanskrit2003.zip)
* [Santipur OT](http://www.sanskritweb.net/itrans/santipurot.zip) | * [Santipur OT](http://www.sanskritweb.net/itrans/santipurot.zip)
* [Sharad76](http://www.setuadvertising.com/sharad76/) | * [Sharad76](http://www.setuadvertising.com/sharad76/)
* [Shobhika](https://github.com/Sandhi-IITBombay/Shobhika/releases/) | * [Shobhika](https://github.com/Sandhi-IITBombay/Shobhika/releases/)
* [Shree-DV0726-OT](http://biharvidhanparishad.gov.in/Fonts/SHREE-DV0726-OT.TTF) | * [Shree-DV0726-OT](http://biharvidhanparishad.gov.in/Fonts/SHREE-DV0726-OT.TTF)
* [Siddhanta](https://sites.google.com/site/bayaryn/siddhanta-variations.zip?attredirects=0) | * [Siddhanta](https://sites.google.com/site/bayaryn/siddhanta-variations.zip?attredirects=0)
* [Uttara](http://www.sanskritweb.net/cakram/uttara.ttf) | * [ウッタラ](http://www.sanskritweb.net/cakram/uttara.ttf)
* [Yashomudra Fonts](https://github.com/RajyaMarathiVikasSanstha/Yashomudra/tree/master/TTF%20Files) | * [Yashomudra Fonts](https://github.com/RajyaMarathiVikasSanstha/Yashomudra/tree/master/TTF%20Files)
* [Google Devanagari Fonts](https://fonts.google.com/?subset=devanagari) | * [Google Devanagari Fonts](https://fonts.google.com/?subset=devanagari)
* [fonts from TDIL Hindi CD](http://ildc.in/Hindi/GIST/hindi_cd_2/windows/index.htm) | * [TDILヒンディー語CDからのフォント](http://ildc.in/Hindi/GIST/hindi_cd_2/windows/index.htm)
* [Linked from Bihar Vidhan Parishad](http://biharvidhanparishad.gov.in/HindiFonts.htm) | * [Bihar Vidhan Parishadからリンク](http://biharvidhanparishad.gov.in/HindiFonts.htm)
* [Linked from bih.nic.in](http://industries.bih.nic.in/HindiFonts.htm) | * [bih.nic.inからリンク](http://industries.bih.nic.in/HindiFonts.htm)
|
#### Fraktur Fonts | #### Frakturフォント
|
* http://unifraktur.sourceforge.net/maguntia.html (UnifrakturMaguntia) | * http://unifraktur.sourceforge.net/maguntia.html(UnifrakturMaguntia)
* http://www.orbitals.com/self/ligature/ligature.htm (Wyld) | * http://www.orbitals.com/self/ligature/ligature.htm(Wyld)
* https://www.fontyukle.net/de/1,Walbaum | * https://www.fontyukle.net/de/1,Walbaum
* http://de.ffonts.net/Walbaum-Fraktur.font.download | * http://de.ffonts.net/Walbaum-Fraktur.font.download
* http://www.1001fonts.com/fraktur-fonts.html | * http://www.1001fonts.com/fraktur-fonts.html
* http://www.dafont.com/fette-unz-fraktur.font | * http://www.dafont.com/fette-unz-fraktur.font
* http://www.1001freefonts.com/fette_fraktur.font | * http://www.1001freefonts.com/fette_fraktur.font
* http://www.ligafaktur.de/Schriften.html | * http://www.ligafaktur.de/Schriften.html
* http://www.morscher.com/3r/fonts/fraktur.htm | * http://www.morscher.com/3r/fonts/fraktur.htm
|
#### Hebrew Fonts | ####ヘブライ語フォント
* [A list of Hebrew fonts from the Open Siddur Project](http://opensiddur.org/tools/fonts/) | * [Open Siddurプロジェクトからのヘブライ語フォントのリスト](http://opensiddur.org/tools/fonts/)
|
#### Collections of fonts | ####フォントのコレクション
|
* http://www.abstractfonts.com/ | * http://www.abstractfonts.com/
* http://www.schriftarten-fonts.de/ (German) | * http://www.schriftarten-fonts.de/(ドイツ語)
|
### More information on fonts | ###フォントに関するさらなる情報
|
* https://en.wikipedia.org/wiki/Fraktur | * https://en.wikipedia.org/wiki/Fraktur
* http://www.orbitals.com/self/ligature/ligature.htm 18th Century Ligatures and Fonts | * http://www.orbitals.com/self/ligature/ligature.htm 18世紀の合字とフォント
* http://www.steffmann.de/wordpress/ (German) | * http://www.steffmann.de/wordpress/(ドイツ語)
|