breame
v0.1.0 Initial Release
( Br Itish e nglish와 Am Erican e nglish)
Breame은 영국과 미국 영어로 이중 철자가있는 단어를 감지하는 데 도움이되는 다수의 유틸리티 도구가있는 가벼운 파이썬 패키지입니다.
Breame은 또한 영국 영어, 미국 영어 및 일반적인 영어에서 다른 의미를 가진 단어에 대한 정의를 감지하고 제공하는 데 사용될 수 있습니다.
또한 Breame에는 영국 영어 또는 미국 영어 또는 미국 영어로 "Strop"또는 미국 영어로 "Mailman"을 감지하고 정의하는 툴링이 포함되어 있습니다.
pip install breame단어에 대한 미국과 영국 영어 철자가 모두 있는지 확인하십시오.
from breame . spelling import american_spelling_exists , british_spelling_exists
american_spelling_exists ( "color" )
>> > True
british_spelling_exists ( "colour" )
>> > True미국 영어 단어의 영국 영어 철자를 받고 그 반대도 마찬가지입니다.
from breame . spelling import get_american_spelling , get_british_spelling
get_american_spelling ( "colour" )
>> > 'color'
get_british_spelling ( "color" )
>> > 'colour' from breame . meanings import different_meanings_exist , get_meaning_definitions
different_meanings_exist ( "football" )
>> > True
get_meaning_definitions ( "football" )
>> > { 'American English' : 'American football' ,
'British English' : '(usually) Association football (US: soccer). Less frequently applies to n Rugby football (espec. Rugby union in English private schools).' }미국 사람:
from breame . terminology import is_american_english_term , get_american_term_definition
is_american_english_term ( "bleachers" )
>> > True
get_american_term_definition ( "bleachers" )
>> > 'are the raised open air tiered rows of seats (stands) found at sports fields or at other spectator events'영국 :
from breame . terminology import is_british_english_term , get_british_term_definition
is_british_english_term ( "wellies" )
>> > True
get_british_term_definition ( "wellies" )
>> > 'Wellington boots, waterproof rubber boots named after the Duke of Wellington.' 패키지에 기여하거나 철자, 의미 또는 용어에 사용되는 데이터 상수를 추가하려면 PR을 제출하거나 문제를 제기하는 것을 망설이지 마십시오. 사용 된 데이터는 결코 철저한 목록이 아닙니다.
패키지 전체에 사용 된 일부 데이터 상수에 대한 통계
get_british_spelling()get_american_spelling() 이 패키지는 @hyperreality 및 @jessp01의 JavaScript Library American British English Translator에서 영감을 받았습니다. 패키지에 정의 된 모든 데이터 상수는 Breame 전체에서 감사하게 사용됩니다.
미국 영국 영어 번역기 상수의 출처는 다음과 같습니다.
다음 목록의 수정 된 버전을 사용합니다.