このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XLanguageGuessing
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: linguistic2 ::

unpublished interface XLanguageGuessing
Usage 制限s
not published
Description
This interface 許すs to guess the language of a text

The 現在の 始める,決める of supported languages is:

  • af : Afrikaans
  • am : Amharic
  • ar : Arabic
  • be : Belarus
  • br : Breton
  • bs : Bosnian
  • ca : Catalan
  • cs : Czech
  • cy : Welsh
  • da : Danish
  • de : German
  • drt : Drents
  • el : Greek
  • en : English
  • eo : Esperanto
  • es : Spanish
  • et : Estonian
  • eu : Basque
  • fa : Persian
  • fi : Finnish
  • fr : French
  • fy : Frisian
  • ga : Irish Gaelic
  • gd : Scots Gaelic
  • gv : Manx Gaelic
  • he : Hebrew
  • hi : Hindi
  • hr : Croatian
  • hu : Hungarian
  • hy : Armenian
  • id : Indonesian
  • is : Icelandic
  • it : Italian
  • ja : Japanese
  • ka : Georgian
  • ko : Korean
  • la : Latin
  • lb : Luxembourgish (追加するd with OOo 3.3)
  • lt : Lithuanian
  • lv : Latvian
  • mr : Marathi
  • ms : Malay
  • ne : Nepali
  • nl : Dutch
  • nb : Norwegian (Bokmal)
  • pl : ポーランドの(人)
  • pt-PT : Portuguese (Portugal)
  • qu : Quechua
  • rm : Romansh
  • ro : Romanian
  • ru : ロシアの
  • sa : Sanskrit
  • sco : Scots
  • sh : Serbian (written with latin characters)
  • sk-SK : Slovak (written with latin characters)
  • sl : Slovenian
  • sq : Albanian
  • sr : Serbian (written with cyrillic characters) (追加するd with OOo 3.4)
  • sv : Swedish
  • sw : Swahili
  • ta : Tamil
  • th : Thai
  • tl : Tagalog
  • tr : Turkish
  • uk : Ukrainian
  • vi : Vietnamese
  • yi : Yiddish
  • zh-CN : Chinese (簡単にするd)
  • zh-TW : Chinese (伝統的な)

Since
OOo 2.2

Methods' 要約
guessPrimaryLanguage 決定するs the 選び出す/独身 most probable language of a sub-string.  
disableLanguages 許すs to explicitly discard some languages from the 始める,決める of languages かもしれない returned.  
enableLanguages 許すs to explicitly re-enable some languages that got 以前 無能にするd.  
getAvailableLanguages returns a 名簿(に載せる)/表(にあげる) of all supported languages.  
getEnabledLanguages returns the 名簿(に載せる)/表(にあげる) of all enabled languages  
getDisabledLanguages returns the 名簿(に載せる)/表(にあげる) of all 無能にするd languages  
Methods' 詳細(に述べる)s
guessPrimaryLanguage
::com::sun::星/主役にする::lang::地元の
guessPrimaryLanguage( [in] string  aText,
[in] long  nStartPos,
[in] long  nLen )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
決定するs the 選び出す/独身 most probable language of a sub-string.

Please 公式文書,認める that because 統計に基づく 分析 is part of the algorithm the the 見込み to get the 訂正する result 増加するs with the length of the sub-string. A word is much いっそう少なく likely guessed 正確に compared to a 宣告,判決 or even a whole paragraph.

Also 公式文書,認める that some languages are that 'の近くに' to each other that it will be やめる ありそうもない to find a difference in them, e.g. English (UK), English (IE) and English (AUS) and most liklely English (US) 同様に. And thus the result may be 独断的な.

Returns
the 地元の for the language identified. If no language could be identified the 地元の will be empty.
Parameter aText
all the text 含むing the part that should checked.
Parameter nStartPos
明示するs the starting 索引 of the sub-string to be checked The value must met 0 <= nStartPos < (length of text - 1). @param nLen specifies the length of the sub-string to be checked. The value must met 0 <= nLen <= (length of text). @see 地元の
disableLanguages
無効の
disableLanguages( [in] sequence< ::com::sun::星/主役にする::lang::地元の >  aLanguages )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
許すs to explicitly discard some languages from the 始める,決める of languages かもしれない returned.

By default all languages are enabled.

enableLanguages
無効の
enableLanguages( [in] sequence< ::com::sun::星/主役にする::lang::地元の >  aLanguages )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
許すs to explicitly re-enable some languages that got 以前 無能にするd.

By default all languages are enabled.

getAvailableLanguages
sequence< ::com::sun::星/主役にする::lang::地元の >
getAvailableLanguages();

Description
returns a 名簿(に載せる)/表(にあげる) of all supported languages.

This should be the same as the mathematical union of all enabled and 無能にするd languages.

getEnabledLanguages
sequence< ::com::sun::星/主役にする::lang::地元の >
getEnabledLanguages();

Description
returns the 名簿(に載せる)/表(にあげる) of all enabled languages
getDisabledLanguages
sequence< ::com::sun::星/主役にする::lang::地元の >
getDisabledLanguages();

Description
returns the 名簿(に載せる)/表(にあげる) of all 無能にするd languages
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.