Run this model with HF Jobs
Run realitisoft/ai-bot-test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/realitisoft/ai-bot-test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/realitisoft/ai-bot-test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use realitisoft/ai-bot-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use realitisoft/ai-bot-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="realitisoft/ai-bot-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("realitisoft/ai-bot-test") model = AutoModelForSpeechSeq2Seq.from_pretrained("realitisoft/ai-bot-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+31
- README.mdAdded+86
- added_tokens.jsonAdded+1611
- config.jsonAdded+50
- generation_config.jsonAdded+258
- merges.txtAdded
- model.safetensorsAdded+3
- normalizer.jsonAdded+1742
- preprocessor_config.jsonAdded+14
- special_tokens_map.jsonAdded+139
- tokenizer_config.jsonAdded
- venv/bin/Activate.ps1Added+247
- venv/bin/activateAdded+69
- venv/bin/activate.cshAdded+26
- venv/bin/activate.fishAdded+69
- venv/bin/huggingface-cliAdded+8
- venv/bin/normalizerAdded+8
- venv/bin/pipAdded+8
- venv/bin/pip3Added+8
- venv/bin/pip3.11Added+8
- venv/bin/pythonAdded+3
- venv/bin/python3Added+3
- venv/bin/python3.11Added+3
- venv/bin/tqdmAdded+8
- venv/lib/python3.11/site-packages/InquirerPy/__init__.pyAdded+2
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/__init__.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/enum.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/exceptions.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/inquirer.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/resolver.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/separator.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/utils.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/__pycache__/validator.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/__init__.pyAdded+15
- venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/__init__.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/complex.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/control.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/list.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/simple.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/base/complex.pyAdded+294
- venv/lib/python3.11/site-packages/InquirerPy/base/control.pyAdded+227
- venv/lib/python3.11/site-packages/InquirerPy/base/list.pyAdded+238
- venv/lib/python3.11/site-packages/InquirerPy/base/simple.pyAdded+378
- venv/lib/python3.11/site-packages/InquirerPy/containers/__init__.pyAdded+1
- venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/__init__.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/instruction.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/message.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/spinner.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/validation.cpython-311.pycAdded
- venv/lib/python3.11/site-packages/InquirerPy/containers/instruction.pyAdded+38
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353637383940414243444546474849505152535455565758596061626364656632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textvenv/bin/python filter=lfs diff=lfs merge=lfs -textvenv/bin/python3 filter=lfs diff=lfs merge=lfs -textvenv/bin/python3.11 filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/__pycache__/typing_extensions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/charset_normalizer/md__mypyc.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/fsspec/__pycache__/spec.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/hf_xet/hf_xet.abi3.so filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/huggingface_hub/__pycache__/hf_api.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/huggingface_hub/inference/__pycache__/_client.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/huggingface_hub/inference/_generated/__pycache__/_async_client.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/idna/__pycache__/idnadata.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/idna/__pycache__/uts46data.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/pyparsing/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pkg_resources/_vendor/more_itertools/__pycache__/more.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/prompt_toolkit/key_binding/bindings/__pycache__/vi.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/prompt_toolkit/layout/__pycache__/containers.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/cli-arm64.exe filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/command/__pycache__/easy_install.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-311.pyc filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/setuptools/gui-arm64.exe filter=lfs diff=lfs merge=lfs -textvenv/lib/python3.11/site-packages/yaml/_yaml.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586---language:- rulibrary_name: transformerstags:- asr- whisper- russiandatasets:- mozilla-foundation/common_voice_17_0metrics:- wer---
# Model Details
This is a version of [openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3) finetuned for better support of Russian language.
Dataset used for finetuning is Common Voice 17.0, Russian part, that contains over 200k rows.
After preprocessing of the original dataset (all splits were mixed and splited to a new train + test split by 0.95/0.05, that is 225761/11883 rows respectively) the original Whisper v3 has WER 9.84 while the finetuned version shows 6.39 (so far).
The finetuning process took over 60 hours on dual Tesla A100 80Gb.
## Usage
In order to process phone calls it is highly recommended that you preprocess your records and adjust volume before performing ASR. For example, like this:
```bashsox record.wav -r 16k record-normalized.wav norm -0.5 compand 0.3,1 -90,-90,-70,-70,-60,-20,0,0 -5 0 0.2```
Then your ASR code should look somewhat like this:
```pythonimport torchfrom transformers import WhisperForConditionalGeneration, WhisperProcessor, pipeline
torch_dtype = torch.bfloat16 # set your preferred type here
device = 'cpu'if torch.cuda.is_available(): device = 'cuda'elif torch.backends.mps.is_available(): device = 'mps' setattr(torch.distributed, "is_initialized", lambda : False) # monkey patchingdevice = torch.device(device)
whisper = WhisperForConditionalGeneration.from_pretrained( "antony66/whisper-large-v3-russian", torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=True, # add attn_implementation="flash_attention_2" if your GPU supports it)
processor = WhisperProcessor.from_pretrained("antony66/whisper-large-v3-russian")
asr_pipeline = pipeline( "automatic-speech-recognition", model=whisper, tokenizer=processor.tokenizer, feature_extractor=processor.feature_extractor, max_new_tokens=256, chunk_length_s=30, batch_size=16, return_timestamps=True, torch_dtype=torch_dtype, device=device,)
# read your wav file into variable wav. For example:from io import BufferIOwav = BytesIO()with open('record-normalized.wav', 'rb') as f: wav.write(f.read())wav.seek(0)
# get the transcriptionasr = asr_pipeline(wav, generate_kwargs={"language": "russian", "max_new_tokens": 256}, return_timestamps=False)
print(asr['text'])
```
## Work in progress
This model is in WIP state for now. The goal is to finetune it for speech recognition of phone calls as much as possible. If you want to contribute and you know or have any good dataset please let me know. Your help will be much appreciated.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611{ "<|0.00|>": 50365, "<|0.02|>": 50366, "<|0.04|>": 50367, "<|0.06|>": 50368, "<|0.08|>": 50369, "<|0.10|>": 50370, "<|0.12|>": 50371, "<|0.14|>": 50372, "<|0.16|>": 50373, "<|0.18|>": 50374, "<|0.20|>": 50375, "<|0.22|>": 50376, "<|0.24|>": 50377, "<|0.26|>": 50378, "<|0.28|>": 50379, "<|0.30|>": 50380, "<|0.32|>": 50381, "<|0.34|>": 50382, "<|0.36|>": 50383, "<|0.38|>": 50384, "<|0.40|>": 50385, "<|0.42|>": 50386, "<|0.44|>": 50387, "<|0.46|>": 50388, "<|0.48|>": 50389, "<|0.50|>": 50390, "<|0.52|>": 50391, "<|0.54|>": 50392, "<|0.56|>": 50393, "<|0.58|>": 50394, "<|0.60|>": 50395, "<|0.62|>": 50396, "<|0.64|>": 50397, "<|0.66|>": 50398, "<|0.68|>": 50399, "<|0.70|>": 50400, "<|0.72|>": 50401, "<|0.74|>": 50402, "<|0.76|>": 50403, "<|0.78|>": 50404, "<|0.80|>": 50405, "<|0.82|>": 50406, "<|0.84|>": 50407, "<|0.86|>": 50408, "<|0.88|>": 50409, "<|0.90|>": 50410, "<|0.92|>": 50411, "<|0.94|>": 50412, "<|0.96|>": 50413, "<|0.98|>": 50414, "<|1.00|>": 50415, "<|1.02|>": 50416, "<|1.04|>": 50417, "<|1.06|>": 50418, "<|1.08|>": 50419, "<|1.10|>": 50420, "<|1.12|>": 50421, "<|1.14|>": 50422, "<|1.16|>": 50423, "<|1.18|>": 50424, "<|1.20|>": 50425, "<|1.22|>": 50426, "<|1.24|>": 50427, "<|1.26|>": 50428, "<|1.28|>": 50429, "<|1.30|>": 50430, "<|1.32|>": 50431, "<|1.34|>": 50432, "<|1.36|>": 50433, "<|1.38|>": 50434, "<|1.40|>": 50435, "<|1.42|>": 50436, "<|1.44|>": 50437, "<|1.46|>": 50438, "<|1.48|>": 50439, "<|1.50|>": 50440, "<|1.52|>": 50441, "<|1.54|>": 50442, "<|1.56|>": 50443, "<|1.58|>": 50444, "<|1.60|>": 50445, "<|1.62|>": 50446, "<|1.64|>": 50447, "<|1.66|>": 50448, "<|1.68|>": 50449, "<|1.70|>": 50450, "<|1.72|>": 50451, "<|1.74|>": 50452, "<|1.76|>": 50453, "<|1.78|>": 50454, "<|1.80|>": 50455, "<|1.82|>": 50456, "<|1.84|>": 50457, "<|1.86|>": 50458, "<|1.88|>": 50459, "<|1.90|>": 50460, "<|1.92|>": 50461, "<|1.94|>": 50462, "<|1.96|>": 50463, "<|1.98|>": 50464, "<|10.00|>": 50865, "<|10.02|>": 50866, "<|10.04|>": 50867, "<|10.06|>": 50868, "<|10.08|>": 50869, "<|10.10|>": 50870, "<|10.12|>": 50871, "<|10.14|>": 50872, "<|10.16|>": 50873, "<|10.18|>": 50874, "<|10.20|>": 50875, "<|10.22|>": 50876, "<|10.24|>": 50877, "<|10.26|>": 50878, "<|10.28|>": 50879, "<|10.30|>": 50880, "<|10.32|>": 50881, "<|10.34|>": 50882, "<|10.36|>": 50883, "<|10.38|>": 50884, "<|10.40|>": 50885, "<|10.42|>": 50886, "<|10.44|>": 50887, "<|10.46|>": 50888, "<|10.48|>": 50889, "<|10.50|>": 50890, "<|10.52|>": 50891, "<|10.54|>": 50892, "<|10.56|>": 50893, "<|10.58|>": 50894, "<|10.60|>": 50895, "<|10.62|>": 50896, "<|10.64|>": 50897, "<|10.66|>": 50898, "<|10.68|>": 50899, "<|10.70|>": 50900, "<|10.72|>": 50901, "<|10.74|>": 50902, "<|10.76|>": 50903, "<|10.78|>": 50904, "<|10.80|>": 50905, "<|10.82|>": 50906, "<|10.84|>": 50907, "<|10.86|>": 50908, "<|10.88|>": 50909, "<|10.90|>": 50910, "<|10.92|>": 50911, "<|10.94|>": 50912, "<|10.96|>": 50913, "<|10.98|>": 50914, "<|11.00|>": 50915, "<|11.02|>": 50916, "<|11.04|>": 50917, "<|11.06|>": 50918, "<|11.08|>": 50919, "<|11.10|>": 50920, "<|11.12|>": 50921, "<|11.14|>": 50922, "<|11.16|>": 50923, "<|11.18|>": 50924, "<|11.20|>": 50925, "<|11.22|>": 50926, "<|11.24|>": 50927, "<|11.26|>": 50928, "<|11.28|>": 50929, "<|11.30|>": 50930, "<|11.32|>": 50931, "<|11.34|>": 50932, "<|11.36|>": 50933, "<|11.38|>": 50934, "<|11.40|>": 50935, "<|11.42|>": 50936, "<|11.44|>": 50937, "<|11.46|>": 50938, "<|11.48|>": 50939, "<|11.50|>": 50940, "<|11.52|>": 50941, "<|11.54|>": 50942, "<|11.56|>": 50943, "<|11.58|>": 50944, "<|11.60|>": 50945, "<|11.62|>": 50946, "<|11.64|>": 50947, "<|11.66|>": 50948, "<|11.68|>": 50949, "<|11.70|>": 50950, "<|11.72|>": 50951, "<|11.74|>": 50952, "<|11.76|>": 50953, "<|11.78|>": 50954, "<|11.80|>": 50955, "<|11.82|>": 50956, "<|11.84|>": 50957, "<|11.86|>": 50958, "<|11.88|>": 50959, "<|11.90|>": 50960, "<|11.92|>": 50961, "<|11.94|>": 50962, "<|11.96|>": 50963, "<|11.98|>": 50964, "<|12.00|>": 50965, "<|12.02|>": 50966, "<|12.04|>": 50967, "<|12.06|>": 50968, "<|12.08|>": 50969, "<|12.10|>": 50970, "<|12.12|>": 50971, "<|12.14|>": 50972, "<|12.16|>": 50973, "<|12.18|>": 50974, "<|12.20|>": 50975, "<|12.22|>": 50976, "<|12.24|>": 50977, "<|12.26|>": 50978, "<|12.28|>": 50979, "<|12.30|>": 50980, "<|12.32|>": 50981, "<|12.34|>": 50982, "<|12.36|>": 50983, "<|12.38|>": 50984, "<|12.40|>": 50985, "<|12.42|>": 50986, "<|12.44|>": 50987, "<|12.46|>": 50988, "<|12.48|>": 50989, "<|12.50|>": 50990, "<|12.52|>": 50991, "<|12.54|>": 50992, "<|12.56|>": 50993, "<|12.58|>": 50994, "<|12.60|>": 50995, "<|12.62|>": 50996, "<|12.64|>": 50997, "<|12.66|>": 50998, "<|12.68|>": 50999, "<|12.70|>": 51000, "<|12.72|>": 51001, "<|12.74|>": 51002, "<|12.76|>": 51003, "<|12.78|>": 51004, "<|12.80|>": 51005, "<|12.82|>": 51006, "<|12.84|>": 51007, "<|12.86|>": 51008, "<|12.88|>": 51009, "<|12.90|>": 51010, "<|12.92|>": 51011, "<|12.94|>": 51012, "<|12.96|>": 51013, "<|12.98|>": 51014, "<|13.00|>": 51015, "<|13.02|>": 51016, "<|13.04|>": 51017, "<|13.06|>": 51018, "<|13.08|>": 51019, "<|13.10|>": 51020, "<|13.12|>": 51021, "<|13.14|>": 51022, "<|13.16|>": 51023, "<|13.18|>": 51024, "<|13.20|>": 51025, "<|13.22|>": 51026, "<|13.24|>": 51027, "<|13.26|>": 51028, "<|13.28|>": 51029, "<|13.30|>": 51030, "<|13.32|>": 51031, "<|13.34|>": 51032, "<|13.36|>": 51033, "<|13.38|>": 51034, "<|13.40|>": 51035, "<|13.42|>": 51036, "<|13.44|>": 51037, "<|13.46|>": 51038, "<|13.48|>": 51039, "<|13.50|>": 51040, "<|13.52|>": 51041, "<|13.54|>": 51042, "<|13.56|>": 51043, "<|13.58|>": 51044, "<|13.60|>": 51045, "<|13.62|>": 51046, "<|13.64|>": 51047, "<|13.66|>": 51048, "<|13.68|>": 51049, "<|13.70|>": 51050, "<|13.72|>": 51051, "<|13.74|>": 51052, "<|13.76|>": 51053, "<|13.78|>": 51054, "<|13.80|>": 51055, "<|13.82|>": 51056, "<|13.84|>": 51057, "<|13.86|>": 51058, "<|13.88|>": 51059, "<|13.90|>": 51060, "<|13.92|>": 51061, "<|13.94|>": 51062, "<|13.96|>": 51063, "<|13.98|>": 51064, "<|14.00|>": 51065, "<|14.02|>": 51066, "<|14.04|>": 51067, "<|14.06|>": 51068, "<|14.08|>": 51069, "<|14.10|>": 51070, "<|14.12|>": 51071, "<|14.14|>": 51072, "<|14.16|>": 51073, "<|14.18|>": 51074, "<|14.20|>": 51075, "<|14.22|>": 51076, "<|14.24|>": 51077, "<|14.26|>": 51078, "<|14.28|>": 51079, "<|14.30|>": 51080, "<|14.32|>": 51081, "<|14.34|>": 51082, "<|14.36|>": 51083, "<|14.38|>": 51084, "<|14.40|>": 51085, "<|14.42|>": 51086, "<|14.44|>": 51087, "<|14.46|>": 51088, "<|14.48|>": 51089, "<|14.50|>": 51090, "<|14.52|>": 51091, "<|14.54|>": 51092, "<|14.56|>": 51093, "<|14.58|>": 51094, "<|14.60|>": 51095, "<|14.62|>": 51096, "<|14.64|>": 51097, "<|14.66|>": 51098, "<|14.68|>": 51099, "<|14.70|>": 51100, "<|14.72|>": 51101, "<|14.74|>": 51102, "<|14.76|>": 51103, "<|14.78|>": 51104, "<|14.80|>": 51105, "<|14.82|>": 51106, "<|14.84|>": 51107, "<|14.86|>": 51108, "<|14.88|>": 51109, "<|14.90|>": 51110, "<|14.92|>": 51111, "<|14.94|>": 51112, "<|14.96|>": 51113, "<|14.98|>": 51114, "<|15.00|>": 51115, "<|15.02|>": 51116, "<|15.04|>": 51117, "<|15.06|>": 51118, "<|15.08|>": 51119, "<|15.10|>": 51120, "<|15.12|>": 51121, "<|15.14|>": 51122, "<|15.16|>": 51123, "<|15.18|>": 51124, "<|15.20|>": 51125, "<|15.22|>": 51126, "<|15.24|>": 51127, "<|15.26|>": 51128, "<|15.28|>": 51129, "<|15.30|>": 51130, "<|15.32|>": 51131, "<|15.34|>": 51132, "<|15.36|>": 51133, "<|15.38|>": 51134, "<|15.40|>": 51135, "<|15.42|>": 51136, "<|15.44|>": 51137, "<|15.46|>": 51138, "<|15.48|>": 51139, "<|15.50|>": 51140, "<|15.52|>": 51141, "<|15.54|>": 51142, "<|15.56|>": 51143, "<|15.58|>": 51144, "<|15.60|>": 51145, "<|15.62|>": 51146, "<|15.64|>": 51147, "<|15.66|>": 51148, "<|15.68|>": 51149, "<|15.70|>": 51150, "<|15.72|>": 51151, "<|15.74|>": 51152, "<|15.76|>": 51153, "<|15.78|>": 51154, "<|15.80|>": 51155, "<|15.82|>": 51156, "<|15.84|>": 51157, "<|15.86|>": 51158, "<|15.88|>": 51159, "<|15.90|>": 51160, "<|15.92|>": 51161, "<|15.94|>": 51162, "<|15.96|>": 51163, "<|15.98|>": 51164, "<|16.00|>": 51165, "<|16.02|>": 51166, "<|16.04|>": 51167, "<|16.06|>": 51168, "<|16.08|>": 51169, "<|16.10|>": 51170, "<|16.12|>": 51171, "<|16.14|>": 51172, "<|16.16|>": 51173, "<|16.18|>": 51174, "<|16.20|>": 51175, "<|16.22|>": 51176, "<|16.24|>": 51177, "<|16.26|>": 51178, "<|16.28|>": 51179, "<|16.30|>": 51180, "<|16.32|>": 51181, "<|16.34|>": 51182, "<|16.36|>": 51183, "<|16.38|>": 51184, "<|16.40|>": 51185, "<|16.42|>": 51186, "<|16.44|>": 51187, "<|16.46|>": 51188, "<|16.48|>": 51189, "<|16.50|>": 51190, "<|16.52|>": 51191, "<|16.54|>": 51192, "<|16.56|>": 51193, "<|16.58|>": 51194, "<|16.60|>": 51195, "<|16.62|>": 51196, "<|16.64|>": 51197, "<|16.66|>": 51198, "<|16.68|>": 51199, "<|16.70|>": 51200, "<|16.72|>": 51201, "<|16.74|>": 51202, "<|16.76|>": 51203, "<|16.78|>": 51204, "<|16.80|>": 51205, "<|16.82|>": 51206, "<|16.84|>": 51207, "<|16.86|>": 51208, "<|16.88|>": 51209, "<|16.90|>": 51210, "<|16.92|>": 51211, "<|16.94|>": 51212, "<|16.96|>": 51213, "<|16.98|>": 51214, "<|17.00|>": 51215, "<|17.02|>": 51216, "<|17.04|>": 51217, "<|17.06|>": 51218, "<|17.08|>": 51219, "<|17.10|>": 51220, "<|17.12|>": 51221, "<|17.14|>": 51222, "<|17.16|>": 51223, "<|17.18|>": 51224, "<|17.20|>": 51225, "<|17.22|>": 51226, "<|17.24|>": 51227, "<|17.26|>": 51228, "<|17.28|>": 51229, "<|17.30|>": 51230, "<|17.32|>": 51231, "<|17.34|>": 51232, "<|17.36|>": 51233, "<|17.38|>": 51234, "<|17.40|>": 51235, "<|17.42|>": 51236, "<|17.44|>": 51237, "<|17.46|>": 51238, "<|17.48|>": 51239, "<|17.50|>": 51240, "<|17.52|>": 51241, "<|17.54|>": 51242, "<|17.56|>": 51243, "<|17.58|>": 51244, "<|17.60|>": 51245, "<|17.62|>": 51246, "<|17.64|>": 51247, "<|17.66|>": 51248, "<|17.68|>": 51249, "<|17.70|>": 51250, "<|17.72|>": 51251, "<|17.74|>": 51252, "<|17.76|>": 51253, "<|17.78|>": 51254, "<|17.80|>": 51255, "<|17.82|>": 51256, "<|17.84|>": 51257, "<|17.86|>": 51258, "<|17.88|>": 51259, "<|17.90|>": 51260, "<|17.92|>": 51261, "<|17.94|>": 51262, "<|17.96|>": 51263, "<|17.98|>": 51264, "<|18.00|>": 51265, "<|18.02|>": 51266, "<|18.04|>": 51267, "<|18.06|>": 51268, "<|18.08|>": 51269, "<|18.10|>": 51270, "<|18.12|>": 51271, "<|18.14|>": 51272, "<|18.16|>": 51273, "<|18.18|>": 51274, "<|18.20|>": 51275, "<|18.22|>": 51276, "<|18.24|>": 51277, "<|18.26|>": 51278, "<|18.28|>": 51279, "<|18.30|>": 51280, "<|18.32|>": 51281, "<|18.34|>": 51282, "<|18.36|>": 51283, "<|18.38|>": 51284, "<|18.40|>": 51285, "<|18.42|>": 51286, "<|18.44|>": 51287, "<|18.46|>": 51288, "<|18.48|>": 51289, "<|18.50|>": 51290, "<|18.52|>": 51291, "<|18.54|>": 51292, "<|18.56|>": 51293, "<|18.58|>": 51294, "<|18.60|>": 51295, "<|18.62|>": 51296, "<|18.64|>": 51297, "<|18.66|>": 51298, "<|18.68|>": 51299, "<|18.70|>": 51300, "<|18.72|>": 51301, "<|18.74|>": 51302, "<|18.76|>": 51303, "<|18.78|>": 51304, "<|18.80|>": 51305, "<|18.82|>": 51306, "<|18.84|>": 51307, "<|18.86|>": 51308, "<|18.88|>": 51309, "<|18.90|>": 51310, "<|18.92|>": 51311, "<|18.94|>": 51312, "<|18.96|>": 51313, "<|18.98|>": 51314, "<|19.00|>": 51315, "<|19.02|>": 51316, "<|19.04|>": 51317, "<|19.06|>": 51318, "<|19.08|>": 51319, "<|19.10|>": 51320, "<|19.12|>": 51321, "<|19.14|>": 51322, "<|19.16|>": 51323, "<|19.18|>": 51324, "<|19.20|>": 51325, "<|19.22|>": 51326, "<|19.24|>": 51327, "<|19.26|>": 51328, "<|19.28|>": 51329, "<|19.30|>": 51330, "<|19.32|>": 51331, "<|19.34|>": 51332, "<|19.36|>": 51333, "<|19.38|>": 51334, "<|19.40|>": 51335, "<|19.42|>": 51336, "<|19.44|>": 51337, "<|19.46|>": 51338, "<|19.48|>": 51339, "<|19.50|>": 51340, "<|19.52|>": 51341, "<|19.54|>": 51342, "<|19.56|>": 51343, "<|19.58|>": 51344, "<|19.60|>": 51345, "<|19.62|>": 51346, "<|19.64|>": 51347, "<|19.66|>": 51348, "<|19.68|>": 51349, "<|19.70|>": 51350, "<|19.72|>": 51351, "<|19.74|>": 51352, "<|19.76|>": 51353, "<|19.78|>": 51354, "<|19.80|>": 51355, "<|19.82|>": 51356, "<|19.84|>": 51357, "<|19.86|>": 51358, "<|19.88|>": 51359, "<|19.90|>": 51360, "<|19.92|>": 51361, "<|19.94|>": 51362, "<|19.96|>": 51363, "<|19.98|>": 51364, "<|2.00|>": 50465, "<|2.02|>": 50466, "<|2.04|>": 50467, "<|2.06|>": 50468, "<|2.08|>": 50469, "<|2.10|>": 50470, "<|2.12|>": 50471, "<|2.14|>": 50472, "<|2.16|>": 50473, "<|2.18|>": 50474, "<|2.20|>": 50475, "<|2.22|>": 50476, "<|2.24|>": 50477, "<|2.26|>": 50478, "<|2.28|>": 50479, "<|2.30|>": 50480, "<|2.32|>": 50481, "<|2.34|>": 50482, "<|2.36|>": 50483, "<|2.38|>": 50484, "<|2.40|>": 50485, "<|2.42|>": 50486, "<|2.44|>": 50487, "<|2.46|>": 50488, "<|2.48|>": 50489, "<|2.50|>": 50490, "<|2.52|>": 50491, "<|2.54|>": 50492, "<|2.56|>": 50493, "<|2.58|>": 50494, "<|2.60|>": 50495, "<|2.62|>": 50496, "<|2.64|>": 50497, "<|2.66|>": 50498, "<|2.68|>": 50499, "<|2.70|>": 50500, "<|2.72|>": 50501, "<|2.74|>": 50502, "<|2.76|>": 50503, "<|2.78|>": 50504, "<|2.80|>": 50505, "<|2.82|>": 50506, "<|2.84|>": 50507, "<|2.86|>": 50508, "<|2.88|>": 50509, "<|2.90|>": 50510, "<|2.92|>": 50511, "<|2.94|>": 50512, "<|2.96|>": 50513, "<|2.98|>": 50514, "<|20.00|>": 51365, "<|20.02|>": 51366, "<|20.04|>": 51367, "<|20.06|>": 51368, "<|20.08|>": 51369, "<|20.10|>": 51370, "<|20.12|>": 51371, "<|20.14|>": 51372, "<|20.16|>": 51373, "<|20.18|>": 51374, "<|20.20|>": 51375, "<|20.22|>": 51376, "<|20.24|>": 51377, "<|20.26|>": 51378, "<|20.28|>": 51379, "<|20.30|>": 51380, "<|20.32|>": 51381, "<|20.34|>": 51382, "<|20.36|>": 51383, "<|20.38|>": 51384, "<|20.40|>": 51385, "<|20.42|>": 51386, "<|20.44|>": 51387, "<|20.46|>": 51388, "<|20.48|>": 51389, "<|20.50|>": 51390, "<|20.52|>": 51391, "<|20.54|>": 51392, "<|20.56|>": 51393, "<|20.58|>": 51394, "<|20.60|>": 51395, "<|20.62|>": 51396, "<|20.64|>": 51397, "<|20.66|>": 51398, "<|20.68|>": 51399, "<|20.70|>": 51400, "<|20.72|>": 51401, "<|20.74|>": 51402, "<|20.76|>": 51403, "<|20.78|>": 51404, "<|20.80|>": 51405, "<|20.82|>": 51406, "<|20.84|>": 51407, "<|20.86|>": 51408, "<|20.88|>": 51409, "<|20.90|>": 51410, "<|20.92|>": 51411, "<|20.94|>": 51412, "<|20.96|>": 51413, "<|20.98|>": 51414, "<|21.00|>": 51415, "<|21.02|>": 51416, "<|21.04|>": 51417, "<|21.06|>": 51418, "<|21.08|>": 51419, "<|21.10|>": 51420, "<|21.12|>": 51421, "<|21.14|>": 51422, "<|21.16|>": 51423, "<|21.18|>": 51424, "<|21.20|>": 51425, "<|21.22|>": 51426, "<|21.24|>": 51427, "<|21.26|>": 51428, "<|21.28|>": 51429, "<|21.30|>": 51430, "<|21.32|>": 51431, "<|21.34|>": 51432, "<|21.36|>": 51433, "<|21.38|>": 51434, "<|21.40|>": 51435, "<|21.42|>": 51436, "<|21.44|>": 51437, "<|21.46|>": 51438, "<|21.48|>": 51439, "<|21.50|>": 51440, "<|21.52|>": 51441, "<|21.54|>": 51442, "<|21.56|>": 51443, "<|21.58|>": 51444, "<|21.60|>": 51445, "<|21.62|>": 51446, "<|21.64|>": 51447, "<|21.66|>": 51448, "<|21.68|>": 51449, "<|21.70|>": 51450, "<|21.72|>": 51451, "<|21.74|>": 51452, "<|21.76|>": 51453, "<|21.78|>": 51454, "<|21.80|>": 51455, "<|21.82|>": 51456, "<|21.84|>": 51457, "<|21.86|>": 51458, "<|21.88|>": 51459, "<|21.90|>": 51460, "<|21.92|>": 51461, "<|21.94|>": 51462, "<|21.96|>": 51463, "<|21.98|>": 51464, "<|22.00|>": 51465, "<|22.02|>": 51466, "<|22.04|>": 51467, "<|22.06|>": 51468, "<|22.08|>": 51469, "<|22.10|>": 51470, "<|22.12|>": 51471, "<|22.14|>": 51472, "<|22.16|>": 51473, "<|22.18|>": 51474, "<|22.20|>": 51475, "<|22.22|>": 51476, "<|22.24|>": 51477, "<|22.26|>": 51478, "<|22.28|>": 51479, "<|22.30|>": 51480, "<|22.32|>": 51481, "<|22.34|>": 51482, "<|22.36|>": 51483, "<|22.38|>": 51484, "<|22.40|>": 51485, "<|22.42|>": 51486, "<|22.44|>": 51487, "<|22.46|>": 51488, "<|22.48|>": 51489, "<|22.50|>": 51490, "<|22.52|>": 51491, "<|22.54|>": 51492, "<|22.56|>": 51493, "<|22.58|>": 51494, "<|22.60|>": 51495, "<|22.62|>": 51496, "<|22.64|>": 51497, "<|22.66|>": 51498, "<|22.68|>": 51499, "<|22.70|>": 51500, "<|22.72|>": 51501, "<|22.74|>": 51502, "<|22.76|>": 51503, "<|22.78|>": 51504, "<|22.80|>": 51505, "<|22.82|>": 51506, "<|22.84|>": 51507, "<|22.86|>": 51508, "<|22.88|>": 51509, "<|22.90|>": 51510, "<|22.92|>": 51511, "<|22.94|>": 51512, "<|22.96|>": 51513, "<|22.98|>": 51514, "<|23.00|>": 51515, "<|23.02|>": 51516, "<|23.04|>": 51517, "<|23.06|>": 51518, "<|23.08|>": 51519, "<|23.10|>": 51520, "<|23.12|>": 51521, "<|23.14|>": 51522, "<|23.16|>": 51523, "<|23.18|>": 51524, "<|23.20|>": 51525, "<|23.22|>": 51526, "<|23.24|>": 51527, "<|23.26|>": 51528, "<|23.28|>": 51529, "<|23.30|>": 51530, "<|23.32|>": 51531, "<|23.34|>": 51532, "<|23.36|>": 51533, "<|23.38|>": 51534, "<|23.40|>": 51535, "<|23.42|>": 51536, "<|23.44|>": 51537, "<|23.46|>": 51538, "<|23.48|>": 51539, "<|23.50|>": 51540, "<|23.52|>": 51541, "<|23.54|>": 51542, "<|23.56|>": 51543, "<|23.58|>": 51544, "<|23.60|>": 51545, "<|23.62|>": 51546, "<|23.64|>": 51547, "<|23.66|>": 51548, "<|23.68|>": 51549, "<|23.70|>": 51550, "<|23.72|>": 51551, "<|23.74|>": 51552, "<|23.76|>": 51553, "<|23.78|>": 51554, "<|23.80|>": 51555, "<|23.82|>": 51556, "<|23.84|>": 51557, "<|23.86|>": 51558, "<|23.88|>": 51559, "<|23.90|>": 51560, "<|23.92|>": 51561, "<|23.94|>": 51562, "<|23.96|>": 51563, "<|23.98|>": 51564, "<|24.00|>": 51565, "<|24.02|>": 51566, "<|24.04|>": 51567, "<|24.06|>": 51568, "<|24.08|>": 51569, "<|24.10|>": 51570, "<|24.12|>": 51571, "<|24.14|>": 51572, "<|24.16|>": 51573, "<|24.18|>": 51574, "<|24.20|>": 51575, "<|24.22|>": 51576, "<|24.24|>": 51577, "<|24.26|>": 51578, "<|24.28|>": 51579, "<|24.30|>": 51580, "<|24.32|>": 51581, "<|24.34|>": 51582, "<|24.36|>": 51583, "<|24.38|>": 51584, "<|24.40|>": 51585, "<|24.42|>": 51586, "<|24.44|>": 51587, "<|24.46|>": 51588, "<|24.48|>": 51589, "<|24.50|>": 51590, "<|24.52|>": 51591, "<|24.54|>": 51592, "<|24.56|>": 51593, "<|24.58|>": 51594, "<|24.60|>": 51595, "<|24.62|>": 51596, "<|24.64|>": 51597, "<|24.66|>": 51598, "<|24.68|>": 51599, "<|24.70|>": 51600, "<|24.72|>": 51601, "<|24.74|>": 51602, "<|24.76|>": 51603, "<|24.78|>": 51604, "<|24.80|>": 51605, "<|24.82|>": 51606, "<|24.84|>": 51607, "<|24.86|>": 51608, "<|24.88|>": 51609, "<|24.90|>": 51610, "<|24.92|>": 51611, "<|24.94|>": 51612, "<|24.96|>": 51613, "<|24.98|>": 51614, "<|25.00|>": 51615, "<|25.02|>": 51616, "<|25.04|>": 51617, "<|25.06|>": 51618, "<|25.08|>": 51619, "<|25.10|>": 51620, "<|25.12|>": 51621, "<|25.14|>": 51622, "<|25.16|>": 51623, "<|25.18|>": 51624, "<|25.20|>": 51625, "<|25.22|>": 51626, "<|25.24|>": 51627, "<|25.26|>": 51628, "<|25.28|>": 51629, "<|25.30|>": 51630, "<|25.32|>": 51631, "<|25.34|>": 51632, "<|25.36|>": 51633, "<|25.38|>": 51634, "<|25.40|>": 51635, "<|25.42|>": 51636, "<|25.44|>": 51637, "<|25.46|>": 51638, "<|25.48|>": 51639, "<|25.50|>": 51640, "<|25.52|>": 51641, "<|25.54|>": 51642, "<|25.56|>": 51643, "<|25.58|>": 51644, "<|25.60|>": 51645, "<|25.62|>": 51646, "<|25.64|>": 51647, "<|25.66|>": 51648, "<|25.68|>": 51649, "<|25.70|>": 51650, "<|25.72|>": 51651, "<|25.74|>": 51652, "<|25.76|>": 51653, "<|25.78|>": 51654, "<|25.80|>": 51655, "<|25.82|>": 51656, "<|25.84|>": 51657, "<|25.86|>": 51658, "<|25.88|>": 51659, "<|25.90|>": 51660, "<|25.92|>": 51661, "<|25.94|>": 51662, "<|25.96|>": 51663, "<|25.98|>": 51664, "<|26.00|>": 51665, "<|26.02|>": 51666, "<|26.04|>": 51667, "<|26.06|>": 51668, "<|26.08|>": 51669, "<|26.10|>": 51670, "<|26.12|>": 51671, "<|26.14|>": 51672, "<|26.16|>": 51673, "<|26.18|>": 51674, "<|26.20|>": 51675, "<|26.22|>": 51676, "<|26.24|>": 51677, "<|26.26|>": 51678, "<|26.28|>": 51679, "<|26.30|>": 51680, "<|26.32|>": 51681, "<|26.34|>": 51682, "<|26.36|>": 51683, "<|26.38|>": 51684, "<|26.40|>": 51685, "<|26.42|>": 51686, "<|26.44|>": 51687, "<|26.46|>": 51688, "<|26.48|>": 51689, "<|26.50|>": 51690, "<|26.52|>": 51691, "<|26.54|>": 51692, "<|26.56|>": 51693, "<|26.58|>": 51694, "<|26.60|>": 51695, "<|26.62|>": 51696, "<|26.64|>": 51697, "<|26.66|>": 51698, "<|26.68|>": 51699, "<|26.70|>": 51700, "<|26.72|>": 51701, "<|26.74|>": 51702, "<|26.76|>": 51703, "<|26.78|>": 51704, "<|26.80|>": 51705, "<|26.82|>": 51706, "<|26.84|>": 51707, "<|26.86|>": 51708, "<|26.88|>": 51709, "<|26.90|>": 51710, "<|26.92|>": 51711, "<|26.94|>": 51712, "<|26.96|>": 51713, "<|26.98|>": 51714, "<|27.00|>": 51715, "<|27.02|>": 51716, "<|27.04|>": 51717, "<|27.06|>": 51718, "<|27.08|>": 51719, "<|27.10|>": 51720, "<|27.12|>": 51721, "<|27.14|>": 51722, "<|27.16|>": 51723, "<|27.18|>": 51724, "<|27.20|>": 51725, "<|27.22|>": 51726, "<|27.24|>": 51727, "<|27.26|>": 51728, "<|27.28|>": 51729, "<|27.30|>": 51730, "<|27.32|>": 51731, "<|27.34|>": 51732, "<|27.36|>": 51733, "<|27.38|>": 51734, "<|27.40|>": 51735, "<|27.42|>": 51736, "<|27.44|>": 51737, "<|27.46|>": 51738, "<|27.48|>": 51739, "<|27.50|>": 51740, "<|27.52|>": 51741, "<|27.54|>": 51742, "<|27.56|>": 51743, "<|27.58|>": 51744, "<|27.60|>": 51745, "<|27.62|>": 51746, "<|27.64|>": 51747, "<|27.66|>": 51748, "<|27.68|>": 51749, "<|27.70|>": 51750, "<|27.72|>": 51751, "<|27.74|>": 51752, "<|27.76|>": 51753, "<|27.78|>": 51754, "<|27.80|>": 51755, "<|27.82|>": 51756, "<|27.84|>": 51757, "<|27.86|>": 51758, "<|27.88|>": 51759, "<|27.90|>": 51760, "<|27.92|>": 51761, "<|27.94|>": 51762, "<|27.96|>": 51763, "<|27.98|>": 51764, "<|28.00|>": 51765, "<|28.02|>": 51766, "<|28.04|>": 51767, "<|28.06|>": 51768, "<|28.08|>": 51769, "<|28.10|>": 51770, "<|28.12|>": 51771, "<|28.14|>": 51772, "<|28.16|>": 51773, "<|28.18|>": 51774, "<|28.20|>": 51775, "<|28.22|>": 51776, "<|28.24|>": 51777, "<|28.26|>": 51778, "<|28.28|>": 51779, "<|28.30|>": 51780, "<|28.32|>": 51781, "<|28.34|>": 51782, "<|28.36|>": 51783, "<|28.38|>": 51784, "<|28.40|>": 51785, "<|28.42|>": 51786, "<|28.44|>": 51787, "<|28.46|>": 51788, "<|28.48|>": 51789, "<|28.50|>": 51790, "<|28.52|>": 51791, "<|28.54|>": 51792, "<|28.56|>": 51793, "<|28.58|>": 51794, "<|28.60|>": 51795, "<|28.62|>": 51796, "<|28.64|>": 51797, "<|28.66|>": 51798, "<|28.68|>": 51799, "<|28.70|>": 51800, "<|28.72|>": 51801, "<|28.74|>": 51802, "<|28.76|>": 51803, "<|28.78|>": 51804, "<|28.80|>": 51805, "<|28.82|>": 51806, "<|28.84|>": 51807, "<|28.86|>": 51808, "<|28.88|>": 51809, "<|28.90|>": 51810, "<|28.92|>": 51811, "<|28.94|>": 51812, "<|28.96|>": 51813, "<|28.98|>": 51814, "<|29.00|>": 51815, "<|29.02|>": 51816, "<|29.04|>": 51817, "<|29.06|>": 51818, "<|29.08|>": 51819, "<|29.10|>": 51820, "<|29.12|>": 51821, "<|29.14|>": 51822, "<|29.16|>": 51823, "<|29.18|>": 51824, "<|29.20|>": 51825, "<|29.22|>": 51826, "<|29.24|>": 51827, "<|29.26|>": 51828, "<|29.28|>": 51829, "<|29.30|>": 51830, "<|29.32|>": 51831, "<|29.34|>": 51832, "<|29.36|>": 51833, "<|29.38|>": 51834, "<|29.40|>": 51835, "<|29.42|>": 51836, "<|29.44|>": 51837, "<|29.46|>": 51838, "<|29.48|>": 51839, "<|29.50|>": 51840, "<|29.52|>": 51841, "<|29.54|>": 51842, "<|29.56|>": 51843, "<|29.58|>": 51844, "<|29.60|>": 51845, "<|29.62|>": 51846, "<|29.64|>": 51847, "<|29.66|>": 51848, "<|29.68|>": 51849, "<|29.70|>": 51850, "<|29.72|>": 51851, "<|29.74|>": 51852, "<|29.76|>": 51853, "<|29.78|>": 51854, "<|29.80|>": 51855, "<|29.82|>": 51856, "<|29.84|>": 51857, "<|29.86|>": 51858, "<|29.88|>": 51859, "<|29.90|>": 51860, "<|29.92|>": 51861, "<|29.94|>": 51862, "<|29.96|>": 51863, "<|29.98|>": 51864, "<|3.00|>": 50515, "<|3.02|>": 50516, "<|3.04|>": 50517, "<|3.06|>": 50518, "<|3.08|>": 50519, "<|3.10|>": 50520, "<|3.12|>": 50521, "<|3.14|>": 50522, "<|3.16|>": 50523, "<|3.18|>": 50524, "<|3.20|>": 50525, "<|3.22|>": 50526, "<|3.24|>": 50527, "<|3.26|>": 50528, "<|3.28|>": 50529, "<|3.30|>": 50530, "<|3.32|>": 50531, "<|3.34|>": 50532, "<|3.36|>": 50533, "<|3.38|>": 50534, "<|3.40|>": 50535, "<|3.42|>": 50536, "<|3.44|>": 50537, "<|3.46|>": 50538, "<|3.48|>": 50539, "<|3.50|>": 50540, "<|3.52|>": 50541, "<|3.54|>": 50542, "<|3.56|>": 50543, "<|3.58|>": 50544, "<|3.60|>": 50545, "<|3.62|>": 50546, "<|3.64|>": 50547, "<|3.66|>": 50548, "<|3.68|>": 50549, "<|3.70|>": 50550, "<|3.72|>": 50551, "<|3.74|>": 50552, "<|3.76|>": 50553, "<|3.78|>": 50554, "<|3.80|>": 50555, "<|3.82|>": 50556, "<|3.84|>": 50557, "<|3.86|>": 50558, "<|3.88|>": 50559, "<|3.90|>": 50560, "<|3.92|>": 50561, "<|3.94|>": 50562, "<|3.96|>": 50563, "<|3.98|>": 50564, "<|30.00|>": 51865, "<|4.00|>": 50565, "<|4.02|>": 50566, "<|4.04|>": 50567, "<|4.06|>": 50568, "<|4.08|>": 50569, "<|4.10|>": 50570, "<|4.12|>": 50571, "<|4.14|>": 50572, "<|4.16|>": 50573, "<|4.18|>": 50574, "<|4.20|>": 50575, "<|4.22|>": 50576, "<|4.24|>": 50577, "<|4.26|>": 50578, "<|4.28|>": 50579, "<|4.30|>": 50580, "<|4.32|>": 50581, "<|4.34|>": 50582, "<|4.36|>": 50583, "<|4.38|>": 50584, "<|4.40|>": 50585, "<|4.42|>": 50586, "<|4.44|>": 50587, "<|4.46|>": 50588, "<|4.48|>": 50589, "<|4.50|>": 50590, "<|4.52|>": 50591, "<|4.54|>": 50592, "<|4.56|>": 50593, "<|4.58|>": 50594, "<|4.60|>": 50595, "<|4.62|>": 50596, "<|4.64|>": 50597, "<|4.66|>": 50598, "<|4.68|>": 50599, "<|4.70|>": 50600, "<|4.72|>": 50601, "<|4.74|>": 50602, "<|4.76|>": 50603, "<|4.78|>": 50604, "<|4.80|>": 50605, "<|4.82|>": 50606, "<|4.84|>": 50607, "<|4.86|>": 50608, "<|4.88|>": 50609, "<|4.90|>": 50610, "<|4.92|>": 50611, "<|4.94|>": 50612, "<|4.96|>": 50613, "<|4.98|>": 50614, "<|5.00|>": 50615, "<|5.02|>": 50616, "<|5.04|>": 50617, "<|5.06|>": 50618, "<|5.08|>": 50619, "<|5.10|>": 50620, "<|5.12|>": 50621, "<|5.14|>": 50622, "<|5.16|>": 50623, "<|5.18|>": 50624, "<|5.20|>": 50625, "<|5.22|>": 50626, "<|5.24|>": 50627, "<|5.26|>": 50628, "<|5.28|>": 50629, "<|5.30|>": 50630, "<|5.32|>": 50631, "<|5.34|>": 50632, "<|5.36|>": 50633, "<|5.38|>": 50634, "<|5.40|>": 50635, "<|5.42|>": 50636, "<|5.44|>": 50637, "<|5.46|>": 50638, "<|5.48|>": 50639, "<|5.50|>": 50640, "<|5.52|>": 50641, "<|5.54|>": 50642, "<|5.56|>": 50643, "<|5.58|>": 50644, "<|5.60|>": 50645, "<|5.62|>": 50646, "<|5.64|>": 50647, "<|5.66|>": 50648, "<|5.68|>": 50649, "<|5.70|>": 50650, "<|5.72|>": 50651, "<|5.74|>": 50652, "<|5.76|>": 50653, "<|5.78|>": 50654, "<|5.80|>": 50655, "<|5.82|>": 50656, "<|5.84|>": 50657, "<|5.86|>": 50658, "<|5.88|>": 50659, "<|5.90|>": 50660, "<|5.92|>": 50661, "<|5.94|>": 50662, "<|5.96|>": 50663, "<|5.98|>": 50664, "<|6.00|>": 50665, "<|6.02|>": 50666, "<|6.04|>": 50667, "<|6.06|>": 50668, "<|6.08|>": 50669, "<|6.10|>": 50670, "<|6.12|>": 50671, "<|6.14|>": 50672, "<|6.16|>": 50673, "<|6.18|>": 50674, "<|6.20|>": 50675, "<|6.22|>": 50676, "<|6.24|>": 50677, "<|6.26|>": 50678, "<|6.28|>": 50679, "<|6.30|>": 50680, "<|6.32|>": 50681, "<|6.34|>": 50682, "<|6.36|>": 50683, "<|6.38|>": 50684, "<|6.40|>": 50685, "<|6.42|>": 50686, "<|6.44|>": 50687, "<|6.46|>": 50688, "<|6.48|>": 50689, "<|6.50|>": 50690, "<|6.52|>": 50691, "<|6.54|>": 50692, "<|6.56|>": 50693, "<|6.58|>": 50694, "<|6.60|>": 50695, "<|6.62|>": 50696, "<|6.64|>": 50697, "<|6.66|>": 50698, "<|6.68|>": 50699, "<|6.70|>": 50700, "<|6.72|>": 50701, "<|6.74|>": 50702, "<|6.76|>": 50703, "<|6.78|>": 50704, "<|6.80|>": 50705, "<|6.82|>": 50706, "<|6.84|>": 50707, "<|6.86|>": 50708, "<|6.88|>": 50709, "<|6.90|>": 50710, "<|6.92|>": 50711, "<|6.94|>": 50712, "<|6.96|>": 50713, "<|6.98|>": 50714, "<|7.00|>": 50715, "<|7.02|>": 50716, "<|7.04|>": 50717, "<|7.06|>": 50718, "<|7.08|>": 50719, "<|7.10|>": 50720, "<|7.12|>": 50721, "<|7.14|>": 50722, "<|7.16|>": 50723, "<|7.18|>": 50724, "<|7.20|>": 50725, "<|7.22|>": 50726, "<|7.24|>": 50727, "<|7.26|>": 50728, "<|7.28|>": 50729, "<|7.30|>": 50730, "<|7.32|>": 50731, "<|7.34|>": 50732, "<|7.36|>": 50733, "<|7.38|>": 50734, "<|7.40|>": 50735, "<|7.42|>": 50736, "<|7.44|>": 50737, "<|7.46|>": 50738, "<|7.48|>": 50739, "<|7.50|>": 50740, "<|7.52|>": 50741, "<|7.54|>": 50742, "<|7.56|>": 50743, "<|7.58|>": 50744, "<|7.60|>": 50745, "<|7.62|>": 50746, "<|7.64|>": 50747, "<|7.66|>": 50748, "<|7.68|>": 50749, "<|7.70|>": 50750, "<|7.72|>": 50751, "<|7.74|>": 50752, "<|7.76|>": 50753, "<|7.78|>": 50754, "<|7.80|>": 50755, "<|7.82|>": 50756, "<|7.84|>": 50757, "<|7.86|>": 50758, "<|7.88|>": 50759, "<|7.90|>": 50760, "<|7.92|>": 50761, "<|7.94|>": 50762, "<|7.96|>": 50763, "<|7.98|>": 50764, "<|8.00|>": 50765, "<|8.02|>": 50766, "<|8.04|>": 50767, "<|8.06|>": 50768, "<|8.08|>": 50769, "<|8.10|>": 50770, "<|8.12|>": 50771, "<|8.14|>": 50772, "<|8.16|>": 50773, "<|8.18|>": 50774, "<|8.20|>": 50775, "<|8.22|>": 50776, "<|8.24|>": 50777, "<|8.26|>": 50778, "<|8.28|>": 50779, "<|8.30|>": 50780, "<|8.32|>": 50781, "<|8.34|>": 50782, "<|8.36|>": 50783, "<|8.38|>": 50784, "<|8.40|>": 50785, "<|8.42|>": 50786, "<|8.44|>": 50787, "<|8.46|>": 50788, "<|8.48|>": 50789, "<|8.50|>": 50790, "<|8.52|>": 50791, "<|8.54|>": 50792, "<|8.56|>": 50793, "<|8.58|>": 50794, "<|8.60|>": 50795, "<|8.62|>": 50796, "<|8.64|>": 50797, "<|8.66|>": 50798, "<|8.68|>": 50799, "<|8.70|>": 50800, "<|8.72|>": 50801, "<|8.74|>": 50802, "<|8.76|>": 50803, "<|8.78|>": 50804, "<|8.80|>": 50805, "<|8.82|>": 50806, "<|8.84|>": 50807, "<|8.86|>": 50808, "<|8.88|>": 50809, "<|8.90|>": 50810, "<|8.92|>": 50811, "<|8.94|>": 50812, "<|8.96|>": 50813, "<|8.98|>": 50814, "<|9.00|>": 50815, "<|9.02|>": 50816, "<|9.04|>": 50817, "<|9.06|>": 50818, "<|9.08|>": 50819, "<|9.10|>": 50820, "<|9.12|>": 50821, "<|9.14|>": 50822, "<|9.16|>": 50823, "<|9.18|>": 50824, "<|9.20|>": 50825, "<|9.22|>": 50826, "<|9.24|>": 50827, "<|9.26|>": 50828, "<|9.28|>": 50829, "<|9.30|>": 50830, "<|9.32|>": 50831, "<|9.34|>": 50832, "<|9.36|>": 50833, "<|9.38|>": 50834, "<|9.40|>": 50835, "<|9.42|>": 50836, "<|9.44|>": 50837, "<|9.46|>": 50838, "<|9.48|>": 50839, "<|9.50|>": 50840, "<|9.52|>": 50841, "<|9.54|>": 50842, "<|9.56|>": 50843, "<|9.58|>": 50844, "<|9.60|>": 50845, "<|9.62|>": 50846, "<|9.64|>": 50847, "<|9.66|>": 50848, "<|9.68|>": 50849, "<|9.70|>": 50850, "<|9.72|>": 50851, "<|9.74|>": 50852, "<|9.76|>": 50853, "<|9.78|>": 50854, "<|9.80|>": 50855, "<|9.82|>": 50856, "<|9.84|>": 50857, "<|9.86|>": 50858, "<|9.88|>": 50859, "<|9.90|>": 50860, "<|9.92|>": 50861, "<|9.94|>": 50862, "<|9.96|>": 50863, "<|9.98|>": 50864, "<|af|>": 50327, "<|am|>": 50334, "<|ar|>": 50272, "<|as|>": 50350, "<|az|>": 50304, "<|ba|>": 50355, "<|be|>": 50330, "<|bg|>": 50292, "<|bn|>": 50302, "<|bo|>": 50347, "<|br|>": 50309, "<|bs|>": 50315, "<|ca|>": 50270, "<|cs|>": 50283, "<|cy|>": 50297, "<|da|>": 50285, "<|de|>": 50261, "<|el|>": 50281, "<|endoftext|>": 50257, "<|en|>": 50259, "<|es|>": 50262, "<|et|>": 50307, "<|eu|>": 50310, "<|fa|>": 50300, "<|fi|>": 50277, "<|fo|>": 50338, "<|fr|>": 50265, "<|gl|>": 50319, "<|gu|>": 50333, "<|haw|>": 50352, "<|ha|>": 50354, "<|he|>": 50279, "<|hi|>": 50276, "<|hr|>": 50291, "<|ht|>": 50339, "<|hu|>": 50286, "<|hy|>": 50312, "<|id|>": 50275, "<|is|>": 50311, "<|it|>": 50274, "<|ja|>": 50266, "<|jw|>": 50356, "<|ka|>": 50329, "<|kk|>": 50316, "<|km|>": 50323, "<|kn|>": 50306, "<|ko|>": 50264, "<|la|>": 50294, "<|lb|>": 50345, "<|ln|>": 50353, "<|lo|>": 50336, "<|lt|>": 50293, "<|lv|>": 50301, "<|mg|>": 50349, "<|mi|>": 50295, "<|mk|>": 50308, "<|ml|>": 50296, "<|mn|>": 50314, "<|mr|>": 50320, "<|ms|>": 50282, "<|mt|>": 50343, "<|my|>": 50346, "<|ne|>": 50313, "<|nl|>": 50271, "<|nn|>": 50342, "<|nospeech|>": 50363, "<|notimestamps|>": 50364, "<|no|>": 50288, "<|oc|>": 50328, "<|pa|>": 50321, "<|pl|>": 50269, "<|ps|>": 50340, "<|pt|>": 50267, "<|ro|>": 50284, "<|ru|>": 50263, "<|sa|>": 50344, "<|sd|>": 50332, "<|si|>": 50322, "<|sk|>": 50298, "<|sl|>": 50305, "<|sn|>": 50324, "<|so|>": 50326, "<|sq|>": 50317, "<|sr|>": 50303, "<|startoflm|>": 50361, "<|startofprev|>": 50362, "<|startoftranscript|>": 50258, "<|su|>": 50357, "<|sv|>": 50273, "<|sw|>": 50318, "<|ta|>": 50287, "<|te|>": 50299, "<|tg|>": 50331, "<|th|>": 50289, "<|tk|>": 50341, "<|tl|>": 50348, "<|transcribe|>": 50360, "<|translate|>": 50359, "<|tr|>": 50268, "<|tt|>": 50351, "<|uk|>": 50280, "<|ur|>": 50290, "<|uz|>": 50337, "<|vi|>": 50278, "<|yi|>": 50335, "<|yo|>": 50325, "<|yue|>": 50358, "<|zh|>": 50260}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "_name_or_path": "openai/whisper-large-v3", "activation_dropout": 0.0, "activation_function": "gelu", "apply_spec_augment": false, "architectures": [ "WhisperForConditionalGeneration" ], "attention_dropout": 0.0, "begin_suppress_tokens": [ 220, 50257 ], "bos_token_id": 50257, "classifier_proj_size": 256, "d_model": 1280, "decoder_attention_heads": 20, "decoder_ffn_dim": 5120, "decoder_layerdrop": 0.0, "decoder_layers": 32, "decoder_start_token_id": 50258, "dropout": 0.0, "encoder_attention_heads": 20, "encoder_ffn_dim": 5120, "encoder_layerdrop": 0.0, "encoder_layers": 32, "eos_token_id": 50257, "init_std": 0.02, "is_encoder_decoder": true, "mask_feature_length": 10, "mask_feature_min_masks": 0, "mask_feature_prob": 0.0, "mask_time_length": 10, "mask_time_min_masks": 2, "mask_time_prob": 0.05, "max_length": 448, "max_source_positions": 1500, "max_target_positions": 448, "median_filter_width": 7, "model_type": "whisper", "num_hidden_layers": 32, "num_mel_bins": 128, "pad_token_id": 50256, "scale_embedding": false, "torch_dtype": "bfloat16", "transformers_version": "4.40.2", "use_cache": true, "use_weighted_layer_sum": false, "vocab_size": 51866}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258{ "alignment_heads": [ [ 7, 0 ], [ 10, 17 ], [ 12, 18 ], [ 13, 12 ], [ 16, 1 ], [ 17, 14 ], [ 19, 11 ], [ 21, 4 ], [ 24, 1 ], [ 25, 6 ] ], "attn_implementation": "flash_attention_2", "begin_suppress_tokens": [ 220, 50257 ], "bos_token_id": 50257, "decoder_start_token_id": 50258, "eos_token_id": 50257, "is_multilingual": true, "lang_to_id": { "<|af|>": 50327, "<|am|>": 50334, "<|ar|>": 50272, "<|as|>": 50350, "<|az|>": 50304, "<|ba|>": 50355, "<|be|>": 50330, "<|bg|>": 50292, "<|bn|>": 50302, "<|bo|>": 50347, "<|br|>": 50309, "<|bs|>": 50315, "<|ca|>": 50270, "<|cs|>": 50283, "<|cy|>": 50297, "<|da|>": 50285, "<|de|>": 50261, "<|el|>": 50281, "<|en|>": 50259, "<|es|>": 50262, "<|et|>": 50307, "<|eu|>": 50310, "<|fa|>": 50300, "<|fi|>": 50277, "<|fo|>": 50338, "<|fr|>": 50265, "<|gl|>": 50319, "<|gu|>": 50333, "<|haw|>": 50352, "<|ha|>": 50354, "<|he|>": 50279, "<|hi|>": 50276, "<|hr|>": 50291, "<|ht|>": 50339, "<|hu|>": 50286, "<|hy|>": 50312, "<|id|>": 50275, "<|is|>": 50311, "<|it|>": 50274, "<|ja|>": 50266, "<|jw|>": 50356, "<|ka|>": 50329, "<|kk|>": 50316, "<|km|>": 50323, "<|kn|>": 50306, "<|ko|>": 50264, "<|la|>": 50294, "<|lb|>": 50345, "<|ln|>": 50353, "<|lo|>": 50336, "<|lt|>": 50293, "<|lv|>": 50301, "<|mg|>": 50349, "<|mi|>": 50295, "<|mk|>": 50308, "<|ml|>": 50296, "<|mn|>": 50314, "<|mr|>": 50320, "<|ms|>": 50282, "<|mt|>": 50343, "<|my|>": 50346, "<|ne|>": 50313, "<|nl|>": 50271, "<|nn|>": 50342, "<|no|>": 50288, "<|oc|>": 50328, "<|pa|>": 50321, "<|pl|>": 50269, "<|ps|>": 50340, "<|pt|>": 50267, "<|ro|>": 50284, "<|ru|>": 50263, "<|sa|>": 50344, "<|sd|>": 50332, "<|si|>": 50322, "<|sk|>": 50298, "<|sl|>": 50305, "<|sn|>": 50324, "<|so|>": 50326, "<|sq|>": 50317, "<|sr|>": 50303, "<|su|>": 50357, "<|sv|>": 50273, "<|sw|>": 50318, "<|ta|>": 50287, "<|te|>": 50299, "<|tg|>": 50331, "<|th|>": 50289, "<|tk|>": 50341, "<|tl|>": 50348, "<|tr|>": 50268, "<|tt|>": 50351, "<|uk|>": 50280, "<|ur|>": 50290, "<|uz|>": 50337, "<|vi|>": 50278, "<|yi|>": 50335, "<|yo|>": 50325, "<|yue|>": 50358, "<|zh|>": 50260 }, "language": "russian", "max_initial_timestamp_index": 50, "max_length": 448, "no_timestamps_token_id": 50364, "pad_token_id": 50257, "prev_sot_token_id": 50362, "return_timestamps": false, "suppress_tokens": [ 1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50359, 50360, 50361, 50362, 50363 ], "task": "transcribe", "task_to_id": { "transcribe": 50360, "translate": 50359 }, "transformers_version": "4.40.2"}123version https://git-lfs.github.com/spec/v1oid sha256:2d94cde45e0a1a036c95fdf2fe2d4b35170c0fb06041e9c3569ed7b4a35e4c21size 13512345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742{ "accessorise": "accessorize", "accessorised": "accessorized", "accessorises": "accessorizes", "accessorising": "accessorizing", "acclimatisation": "acclimatization", "acclimatise": "acclimatize", "acclimatised": "acclimatized", "acclimatises": "acclimatizes", "acclimatising": "acclimatizing", "accoutrements": "accouterments", "aeon": "eon", "aeons": "eons", "aerogramme": "aerogram", "aerogrammes": "aerograms", "aeroplane": "airplane", "aeroplanes": "airplanes", "aesthete": "esthete", "aesthetes": "esthetes", "aesthetic": "esthetic", "aesthetically": "esthetically", "aesthetics": "esthetics", "aetiology": "etiology", "ageing": "aging", "aggrandisement": "aggrandizement", "agonise": "agonize", "agonised": "agonized", "agonises": "agonizes", "agonising": "agonizing", "agonisingly": "agonizingly", "almanack": "almanac", "almanacks": "almanacs", "aluminium": "aluminum", "amortisable": "amortizable", "amortisation": "amortization", "amortisations": "amortizations", "amortise": "amortize", "amortised": "amortized", "amortises": "amortizes", "amortising": "amortizing", "amphitheatre": "amphitheater", "amphitheatres": "amphitheaters", "anaemia": "anemia", "anaemic": "anemic", "anaesthesia": "anesthesia", "anaesthetic": "anesthetic", "anaesthetics": "anesthetics", "anaesthetise": "anesthetize", "anaesthetised": "anesthetized", "anaesthetises": "anesthetizes", "anaesthetising": "anesthetizing", "anaesthetist": "anesthetist", "anaesthetists": "anesthetists", "anaesthetize": "anesthetize", "anaesthetized": "anesthetized", "anaesthetizes": "anesthetizes", "anaesthetizing": "anesthetizing", "analogue": "analog", "analogues": "analogs", "analyse": "analyze", "analysed": "analyzed", "analyses": "analyzes", "analysing": "analyzing", "anglicise": "anglicize", "anglicised": "anglicized", "anglicises": "anglicizes", "anglicising": "anglicizing", "annualised": "annualized", "antagonise": "antagonize", "antagonised": "antagonized", "antagonises": "antagonizes", "antagonising": "antagonizing", "apologise": "apologize", "apologised": "apologized", "apologises": "apologizes", "apologising": "apologizing", "appal": "appall", "appals": "appalls", "appetiser": "appetizer", "appetisers": "appetizers", "appetising": "appetizing", "appetisingly": "appetizingly", "arbour": "arbor", "arbours": "arbors", "archaeologically": "archeologically", "archaeologist": "archeologist", "archaeologists": "archeologists", "archaeology": "archeology</span>", "archeological": "archaeological", "ardour": "ardor", "armour": "armor", "armoured": "armored", "armourer": "armorer", "armourers": "armorers", "armouries": "armories", "armoury": "armory", "artefact": "artifact", "artefacts": "artifacts", "authorise": "authorize", "authorised": "authorized", "authorises": "authorizes", "authorising": "authorizing", "axe": "ax", "backpedalled": "backpedaled", "backpedalling": "backpedaling", "bannister": "banister", "bannisters": "banisters", "baptise": "baptize", "baptised": "baptized", "baptises": "baptizes", "baptising": "baptizing", "bastardise": "bastardize", "bastardised": "bastardized", "bastardises": "bastardizes", "bastardising": "bastardizing", "battleax": "battleaxe", "baulk": "balk", "baulked": "balked", "baulking": "balking", "baulks": "balks", "bedevilled": "bedeviled", "bedevilling": "bedeviling", "behaviour": "behavior", "behavioural": "behavioral", "behaviourism": "behaviorism", "behaviourist": "behaviorist", "behaviourists": "behaviorists", "behaviours": "behaviors", "behove": "behoove", "behoved": "behooved", "behoves": "behooves", "bejewelled": "bejeweled", "belabour": "belabor", "belaboured": "belabored", "belabouring": "belaboring", "belabours": "belabors", "bevelled": "beveled", "bevvies": "bevies", "bevvy": "bevy", "biassed": "biased", "biassing": "biasing", "bingeing": "binging", "bougainvillaea": "bougainvillea", "bougainvillaeas": "bougainvilleas", "bowdlerise": "bowdlerize", "bowdlerised": "bowdlerized", "bowdlerises": "bowdlerizes", "bowdlerising": "bowdlerizing", "breathalyse": "breathalyze", "breathalysed": "breathalyzed", "breathalyser": "breathalyzer", "breathalysers": "breathalyzers", "breathalyses": "breathalyzes", "breathalysing": "breathalyzing", "brutalise": "brutalize", "brutalised": "brutalized", "brutalises": "brutalizes", "brutalising": "brutalizing", "busses": "buses", "bussing": "busing", "caesarean": "cesarean", "caesareans": "cesareans", "calibre": "caliber", "calibres": "calibers", "calliper": "caliper", "callipers": "calipers", "callisthenics": "calisthenics", "canalise": "canalize", "canalised": "canalized", "canalises": "canalizes", "canalising": "canalizing", "cancelation": "cancellation", "cancelations": "cancellations", "cancelled": "canceled", "cancelling": "canceling", "candour": "candor", "cannibalise": "cannibalize", "cannibalised": "cannibalized", "cannibalises": "cannibalizes", "cannibalising": "cannibalizing", "canonise": "canonize", "canonised": "canonized", "canonises": "canonizes", "canonising": "canonizing", "capitalise": "capitalize", "capitalised": "capitalized", "capitalises": "capitalizes", "capitalising": "capitalizing", "caramelise": "caramelize", "caramelised": "caramelized", "caramelises": "caramelizes", "caramelising": "caramelizing", "carbonise": "carbonize", "carbonised": "carbonized", "carbonises": "carbonizes", "carbonising": "carbonizing", "carolled": "caroled", "carolling": "caroling", "catalogue": "catalog", "catalogued": "cataloged", "catalogues": "catalogs", "cataloguing": "cataloging", "catalyse": "catalyze", "catalysed": "catalyzed", "catalyses": "catalyzes", "catalysing": "catalyzing", "categorise": "categorize", "categorised": "categorized", "categorises": "categorizes", "categorising": "categorizing", "cauterise": "cauterize", "cauterised": "cauterized", "cauterises": "cauterizes", "cauterising": "cauterizing", "cavilled": "caviled", "cavilling": "caviling", "centigramme": "centigram", "centigrammes": "centigrams", "centilitre": "centiliter", "centilitres": "centiliters", "centimetre": "centimeter", "centimetres": "centimeters", "centralise": "centralize", "centralised": "centralized", "centralises": "centralizes", "centralising": "centralizing", "centre": "center", "centred": "centered", "centrefold": "centerfold", "centrefolds": "centerfolds", "centrepiece": "centerpiece", "centrepieces": "centerpieces", "centres": "centers", "channelled": "channeled", "channelling": "channeling", "characterise": "characterize", "characterised": "characterized", "characterises": "characterizes", "characterising": "characterizing", "cheque": "check", "chequebook": "checkbook", "chequebooks": "checkbooks", "chequered": "checkered", "cheques": "checks", "chilli": "chili", "chimaera": "chimera", "chimaeras": "chimeras", "chiselled": "chiseled", "chiselling": "chiseling", "circularise": "circularize", "circularised": "circularized", "circularises": "circularizes", "circularising": "circularizing", "civilise": "civilize", "civilised": "civilized", "civilises": "civilizes", "civilising": "civilizing", "clamour": "clamor", "clamoured": "clamored", "clamouring": "clamoring", "clamours": "clamors", "clangour": "clangor", "clarinettist": "clarinetist", "clarinettists": "clarinetists", "collectivise": "collectivize", "collectivised": "collectivized", "collectivises": "collectivizes", "collectivising": "collectivizing", "colonisation": "colonization", "colonise": "colonize", "colonised": "colonized", "coloniser": "colonizer", "colonisers": "colonizers", "colonises": "colonizes", "colonising": "colonizing", "colour": "color", "colourant": "colorant", "colourants": "colorants", "coloured": "colored", "coloureds": "coloreds", "colourful": "colorful", "colourfully": "colorfully", "colouring": "coloring", "colourize": "colorize", "colourized": "colorized", "colourizes": "colorizes", "colourizing": "colorizing", "colourless": "colorless", "colours": "colors", "commercialise": "commercialize", "commercialised": "commercialized", "commercialises": "commercializes", "commercialising": "commercializing", "compartmentalise": "compartmentalize", "compartmentalised": "compartmentalized", "compartmentalises": "compartmentalizes", "compartmentalising": "compartmentalizing", "computerise": "computerize", "computerised": "computerized", "computerises": "computerizes", "computerising": "computerizing", "conceptualise": "conceptualize", "conceptualised": "conceptualized", "conceptualises": "conceptualizes", "conceptualising": "conceptualizing", "connexion": "connection", "connexions": "connections", "contextualise": "contextualize", "contextualised": "contextualized", "contextualises": "contextualizes", "contextualising": "contextualizing", "cosier": "cozier", "cosies": "cozies", "cosiest": "coziest", "cosily": "cozily", "cosiness": "coziness", "cosy": "cozy", "councillor": "councilor", "councillors": "councilors", "counselled": "counseled", "counselling": "counseling", "counsellor": "counselor", "counsellors": "counselors", "crenelated": "crenellated", "criminalise": "criminalize", "criminalised": "criminalized", "criminalises": "criminalizes", "criminalising": "criminalizing", "criticise": "criticize", "criticised": "criticized", "criticises": "criticizes", "criticising": "criticizing", "crueller": "crueler", "cruellest": "cruelest", "crystallisation": "crystallization", "crystallise": "crystallize", "crystallised": "crystallized", "crystallises": "crystallizes", "crystallising": "crystallizing", "cudgelled": "cudgeled", "cudgelling": "cudgeling", "customise": "customize", "customised": "customized", "customises": "customizes", "customising": "customizing", "cypher": "cipher", "cyphers": "ciphers", "decentralisation": "decentralization", "decentralise": "decentralize", "decentralised": "decentralized", "decentralises": "decentralizes", "decentralising": "decentralizing", "decriminalisation": "decriminalization", "decriminalise": "decriminalize", "decriminalised": "decriminalized", "decriminalises": "decriminalizes", "decriminalising": "decriminalizing", "defence": "defense", "defenceless": "defenseless", "defences": "defenses", "dehumanisation": "dehumanization", "dehumanise": "dehumanize", "dehumanised": "dehumanized", "dehumanises": "dehumanizes", "dehumanising": "dehumanizing", "demeanour": "demeanor", "demilitarisation": "demilitarization", "demilitarise": "demilitarize", "demilitarised": "demilitarized", "demilitarises": "demilitarizes", "demilitarising": "demilitarizing", "demobilisation": "demobilization", "demobilise": "demobilize", "demobilised": "demobilized", "demobilises": "demobilizes", "demobilising": "demobilizing", "democratisation": "democratization", "democratise": "democratize", "democratised": "democratized", "democratises": "democratizes", "democratising": "democratizing", "demonise": "demonize", "demonised": "demonized", "demonises": "demonizes", "demonising": "demonizing", "demoralisation": "demoralization", "demoralise": "demoralize", "demoralised": "demoralized", "demoralises": "demoralizes", "demoralising": "demoralizing", "denationalisation": "denationalization", "denationalise": "denationalize", "denationalised": "denationalized", "denationalises": "denationalizes", "denationalising": "denationalizing", "deodorise": "deodorize", "deodorised": "deodorized", "deodorises": "deodorizes", "deodorising": "deodorizing", "depersonalise": "depersonalize", "depersonalised": "depersonalized", "depersonalises": "depersonalizes", "depersonalising": "depersonalizing", "deputise": "deputize", "deputised": "deputized", "deputises": "deputizes", "deputising": "deputizing", "desensitisation": "desensitization", "desensitise": "desensitize", "desensitised": "desensitized", "desensitises": "desensitizes", "desensitising": "desensitizing", "destabilisation": "destabilization", "destabilise": "destabilize", "destabilised": "destabilized", "destabilises": "destabilizes", "destabilising": "destabilizing", "dialled": "dialed", "dialling": "dialing", "dialogue": "dialog", "dialogues": "dialogs", "diarrhoea": "diarrhea", "digitise": "digitize", "digitised": "digitized", "digitises": "digitizes", "digitising": "digitizing", "disc": "disk", "discolour": "discolor", "discoloured": "discolored", "discolouring": "discoloring", "discolours": "discolors", "discs": "disks", "disembowelled": "disemboweled", "disembowelling": "disemboweling", "disfavour": "disfavor", "dishevelled": "disheveled", "dishonour": "dishonor", "dishonourable": "dishonorable", "dishonourably": "dishonorably", "dishonoured": "dishonored", "dishonouring": "dishonoring", "dishonours": "dishonors", "disorganisation": "disorganization", "disorganised": "disorganized", "distil": "distill", "distils": "distills", "dramatisation": "dramatization", "dramatisations": "dramatizations", "dramatise": "dramatize", "dramatised": "dramatized", "dramatises": "dramatizes", "dramatising": "dramatizing", "draught": "draft", "draughtboard": "draftboard", "draughtboards": "draftboards", "draughtier": "draftier", "draughtiest": "draftiest", "draughts": "drafts", "draughtsman": "draftsman", "draughtsmanship": "draftsmanship", "draughtsmen": "draftsmen", "draughtswoman": "draftswoman", "draughtswomen": "draftswomen", "draughty": "drafty", "drivelled": "driveled", "drivelling": "driveling", "duelled": "dueled", "duelling": "dueling", "economise": "economize", "economised": "economized", "economises": "economizes", "economising": "economizing", "editorialise": "editorialize", "editorialised": "editorialized", "editorialises": "editorializes", "editorialising": "editorializing", "edoema": "edema", "empathise": "empathize", "empathised": "empathized", "empathises": "empathizes", "empathising": "empathizing", "emphasise": "emphasize", "emphasised": "emphasized", "emphasises": "emphasizes", "emphasising": "emphasizing", "enamelled": "enameled", "enamelling": "enameling", "enamoured": "enamored", "encyclopaedia": "encyclopedia", "encyclopaedias": "encyclopedias", "encyclopaedic": "encyclopedic", "endeavour": "endeavor", "endeavoured": "endeavored", "endeavouring": "endeavoring", "endeavours": "endeavors", "energise": "energize", "energised": "energized", "energises": "energizes", "energising": "energizing", "enrol": "enroll", "enrols": "enrolls", "enthral": "enthrall", "enthrals": "enthralls", "epaulette": "epaulet", "epaulettes": "epaulets", "epicentre": "epicenter", "epicentres": "epicenters", "epilogue": "epilog", "epilogues": "epilogs", "epitomise": "epitomize", "epitomised": "epitomized", "epitomises": "epitomizes", "epitomising": "epitomizing", "equalisation": "equalization", "equalise": "equalize", "equalised": "equalized", "equaliser": "equalizer", "equalisers": "equalizers", "equalises": "equalizes", "equalising": "equalizing", "eulogise": "eulogize", "eulogised": "eulogized", "eulogises": "eulogizes", "eulogising": "eulogizing", "evangelise": "evangelize", "evangelised": "evangelized", "evangelises": "evangelizes", "evangelising": "evangelizing", "exorcise": "exorcize", "exorcised": "exorcized", "exorcises": "exorcizes", "exorcising": "exorcizing", "extemporisation": "extemporization", "extemporise": "extemporize", "extemporised": "extemporized", "extemporises": "extemporizes", "extemporising": "extemporizing", "externalisation": "externalization", "externalisations": "externalizations", "externalise": "externalize", "externalised": "externalized", "externalises": "externalizes", "externalising": "externalizing", "factorise": "factorize", "factorised": "factorized", "factorises": "factorizes", "factorising": "factorizing", "faecal": "fecal", "faeces": "feces", "familiarisation": "familiarization", "familiarise": "familiarize", "familiarised": "familiarized", "familiarises": "familiarizes", "familiarising": "familiarizing", "fantasise": "fantasize", "fantasised": "fantasized", "fantasises": "fantasizes", "fantasising": "fantasizing", "favour": "favor", "favourable": "favorable", "favourably": "favorably", "favoured": "favored", "favouring": "favoring", "favourite": "favorite", "favourites": "favorites", "favouritism": "favoritism", "favours": "favors", "feminise": "feminize", "feminised": "feminized", "feminises": "feminizes", "feminising": "feminizing", "fertilisation": "fertilization", "fertilise": "fertilize", "fertilised": "fertilized", "fertiliser": "fertilizer", "fertilisers": "fertilizers", "fertilises": "fertilizes", "fertilising": "fertilizing", "fervour": "fervor", "fibre": "fiber", "fibreglass": "fiberglass", "fibres": "fibers", "fictionalisation": "fictionalization", "fictionalisations": "fictionalizations", "fictionalise": "fictionalize", "fictionalised": "fictionalized", "fictionalises": "fictionalizes", "fictionalising": "fictionalizing", "fillet": "filet", "filleted": "fileted", "filleting": "fileting", "fillets": "filets", "finalisation": "finalization", "finalise": "finalize", "finalised": "finalized", "finalises": "finalizes", "finalising": "finalizing", "flautist": "flutist", "flautists": "flutists", "flavour": "flavor", "flavoured": "flavored", "flavouring": "flavoring", "flavourings": "flavorings", "flavourless": "flavorless", "flavours": "flavors", "flavoursome": "flavorsome", "flyer / flier": "flier / flyer", "foetal": "fetal", "foetid": "fetid", "foetus": "fetus", "foetuses": "fetuses", "formalisation": "formalization", "formalise": "formalize", "formalised": "formalized", "formalises": "formalizes", "formalising": "formalizing", "fossilisation": "fossilization", "fossilise": "fossilize", "fossilised": "fossilized", "fossilises": "fossilizes", "fossilising": "fossilizing", "fraternisation": "fraternization", "fraternise": "fraternize", "fraternised": "fraternized", "fraternises": "fraternizes", "fraternising": "fraternizing", "fulfil": "fulfill", "fulfilment": "fulfillment", "fulfils": "fulfills", "funnelled": "funneled", "funnelling": "funneling", "gage": "gauge", "gaged": "gauged", "gages": "gauges", "gaging": "gauging", "galvanise": "galvanize", "galvanised": "galvanized", "galvanises": "galvanizes", "galvanising": "galvanizing", "gambolled": "gamboled", "gambolling": "gamboling", "gaol": "jail", "gaolbird": "jailbird", "gaolbirds": "jailbirds", "gaolbreak": "jailbreak", "gaolbreaks": "jailbreaks", "gaoled": "jailed", "gaoler": "jailer", "gaolers": "jailers", "gaoling": "jailing", "gaols": "jails", "gasses": "gases", "generalisation": "generalization", "generalisations": "generalizations", "generalise": "generalize", "generalised": "generalized", "generalises": "generalizes", "generalising": "generalizing", "ghettoise": "ghettoize", "ghettoised": "ghettoized", "ghettoises": "ghettoizes", "ghettoising": "ghettoizing", "gipsies": "gypsies", "glamor": "glamour", "glamorise": "glamorize", "glamorised": "glamorized", "glamorises": "glamorizes", "glamorising": "glamorizing", "globalisation": "globalization", "globalise": "globalize", "globalised": "globalized", "globalises": "globalizes", "globalising": "globalizing", "glueing": "gluing", "goitre": "goiter", "goitres": "goiters", "gonorrhoea": "gonorrhea", "gramme": "gram", "grammes": "grams", "gravelled": "graveled", "grey": "gray", "greyed": "grayed", "greying": "graying", "greyish": "grayish", "greyness": "grayness", "greys": "grays", "grovelled": "groveled", "grovelling": "groveling", "groyne": "groin", "groynes": "groins", "gruelling": "grueling", "gruellingly": "gruelingly", "gryphon": "griffin", "gryphons": "griffins", "gynaecological": "gynecological", "gynaecologist": "gynecologist", "gynaecologists": "gynecologists", "gynaecology": "gynecology", "haematological": "hematological", "haematologist": "hematologist", "haematologists": "hematologists", "haematology": "hematology", "haemoglobin": "hemoglobin", "haemophilia": "hemophilia", "haemophiliac": "hemophiliac", "haemophiliacs": "hemophiliacs", "haemorrhage": "hemorrhage", "haemorrhaged": "hemorrhaged", "haemorrhages": "hemorrhages", "haemorrhaging": "hemorrhaging", "haemorrhoids": "hemorrhoids", "harbour": "harbor", "harboured": "harbored", "harbouring": "harboring", "harbours": "harbors", "harmonisation": "harmonization", "harmonise": "harmonize", "harmonised": "harmonized", "harmonises": "harmonizes", "harmonising": "harmonizing", "homoeopath": "homeopath", "homoeopathic": "homeopathic", "homoeopaths": "homeopaths", "homoeopathy": "homeopathy", "homogenise": "homogenize", "homogenised": "homogenized", "homogenises": "homogenizes", "homogenising": "homogenizing", "honour": "honor", "honourable": "honorable", "honourably": "honorably", "honoured": "honored", "honouring": "honoring", "honours": "honors", "hospitalisation": "hospitalization", "hospitalise": "hospitalize", "hospitalised": "hospitalized", "hospitalises": "hospitalizes", "hospitalising": "hospitalizing", "humanise": "humanize", "humanised": "humanized", "humanises": "humanizes", "humanising": "humanizing", "humour": "humor", "humoured": "humored", "humouring": "humoring", "humourless": "humorless", "humours": "humors", "hybridise": "hybridize", "hybridised": "hybridized", "hybridises": "hybridizes", "hybridising": "hybridizing", "hypnotise": "hypnotize", "hypnotised": "hypnotized", "hypnotises": "hypnotizes", "hypnotising": "hypnotizing", "hypothesise": "hypothesize", "hypothesised": "hypothesized", "hypothesises": "hypothesizes", "hypothesising": "hypothesizing", "idealisation": "idealization", "idealise": "idealize", "idealised": "idealized", "idealises": "idealizes", "idealising": "idealizing", "idolise": "idolize", "idolised": "idolized", "idolises": "idolizes", "idolising": "idolizing", "immobilisation": "immobilization", "immobilise": "immobilize", "immobilised": "immobilized", "immobiliser": "immobilizer", "immobilisers": "immobilizers", "immobilises": "immobilizes", "immobilising": "immobilizing", "immortalise": "immortalize", "immortalised": "immortalized", "immortalises": "immortalizes", "immortalising": "immortalizing", "immunisation": "immunization", "immunise": "immunize", "immunised": "immunized", "immunises": "immunizes", "immunising": "immunizing", "impanelled": "impaneled", "impanelling": "impaneling", "imperilled": "imperiled", "imperilling": "imperiling", "individualise": "individualize", "individualised": "individualized", "individualises": "individualizes", "individualising": "individualizing", "industrialise": "industrialize", "industrialised": "industrialized", "industrialises": "industrializes", "industrialising": "industrializing", "inflexion": "inflection", "inflexions": "inflections", "initialise": "initialize", "initialised": "initialized", "initialises": "initializes", "initialising": "initializing", "initialled": "initialed", "initialling": "initialing", "instal": "install", "instalment": "installment", "instalments": "installments", "instals": "installs", "instil": "instill", "instils": "instills", "institutionalisation": "institutionalization", "institutionalise": "institutionalize", "institutionalised": "institutionalized", "institutionalises": "institutionalizes", "institutionalising": "institutionalizing", "intellectualise": "intellectualize", "intellectualised": "intellectualized", "intellectualises": "intellectualizes", "intellectualising": "intellectualizing", "internalisation": "internalization", "internalise": "internalize", "internalised": "internalized", "internalises": "internalizes", "internalising": "internalizing", "internationalisation": "internationalization", "internationalise": "internationalize", "internationalised": "internationalized", "internationalises": "internationalizes", "internationalising": "internationalizing", "ionisation": "ionization", "ionise": "ionize", "ionised": "ionized", "ioniser": "ionizer", "ionisers": "ionizers", "ionises": "ionizes", "ionising": "ionizing", "italicise": "italicize", "italicised": "italicized", "italicises": "italicizes", "italicising": "italicizing", "itemise": "itemize", "itemised": "itemized", "itemises": "itemizes", "itemising": "itemizing", "jeopardise": "jeopardize", "jeopardised": "jeopardized", "jeopardises": "jeopardizes", "jeopardising": "jeopardizing", "jewelled": "jeweled", "jeweller": "jeweler", "jewellers": "jewelers", "jewellery": "jewelry", "judgement": "judgment", "kilogramme": "kilogram", "kilogrammes": "kilograms", "kilometre": "kilometer", "kilometres": "kilometers", "labelled": "labeled", "labelling": "labeling", "labour": "labor", "laboured": "labored", "labourer": "laborer", "labourers": "laborers", "labouring": "laboring", "labours": "labors", "lacklustre": "lackluster", "legalisation": "legalization", "legalise": "legalize", "legalised": "legalized", "legalises": "legalizes", "legalising": "legalizing", "legitimise": "legitimize", "legitimised": "legitimized", "legitimises": "legitimizes", "legitimising": "legitimizing", "leukaemia": "leukemia", "levelled": "leveled", "leveller": "leveler", "levellers": "levelers", "levelling": "leveling", "libelled": "libeled", "libelling": "libeling", "libellous": "libelous", "liberalisation": "liberalization", "liberalise": "liberalize", "liberalised": "liberalized", "liberalises": "liberalizes", "liberalising": "liberalizing", "licence": "license", "licenced": "licensed", "licences": "licenses", "licencing": "licensing", "likeable": "likable", "lionisation": "lionization", "lionise": "lionize", "lionised": "lionized", "lionises": "lionizes", "lionising": "lionizing", "liquidise": "liquidize", "liquidised": "liquidized", "liquidiser": "liquidizer", "liquidisers": "liquidizers", "liquidises": "liquidizes", "liquidising": "liquidizing", "litre": "liter", "litres": "liters", "localise": "localize", "localised": "localized", "localises": "localizes", "localising": "localizing", "louvre": "louver", "louvred": "louvered", "louvres": "louvers", "lustre": "luster", "magnetise": "magnetize", "magnetised": "magnetized", "magnetises": "magnetizes", "magnetising": "magnetizing", "manoeuvrability": "maneuverability", "manoeuvrable": "maneuverable", "manoeuvre": "maneuver", "manoeuvred": "maneuvered", "manoeuvres": "maneuvers", "manoeuvring": "maneuvering", "manoeuvrings": "maneuverings", "marginalisation": "marginalization", "marginalise": "marginalize", "marginalised": "marginalized", "marginalises": "marginalizes", "marginalising": "marginalizing", "marshalled": "marshaled", "marshalling": "marshaling", "marvelled": "marveled", "marvelling": "marveling", "marvellous": "marvelous", "marvellously": "marvelously", "materialisation": "materialization", "materialise": "materialize", "materialised": "materialized", "materialises": "materializes", "materialising": "materializing", "maximisation": "maximization", "maximise": "maximize", "maximised": "maximized", "maximises": "maximizes", "maximising": "maximizing", "meagre": "meager", "mechanisation": "mechanization", "mechanise": "mechanize", "mechanised": "mechanized", "mechanises": "mechanizes", "mechanising": "mechanizing", "mediaeval": "medieval", "memorialise": "memorialize", "memorialised": "memorialized", "memorialises": "memorializes", "memorialising": "memorializing", "memorise": "memorize", "memorised": "memorized", "memorises": "memorizes", "memorising": "memorizing", "mesmerise": "mesmerize", "mesmerised": "mesmerized", "mesmerises": "mesmerizes", "mesmerising": "mesmerizing", "metabolise": "metabolize", "metabolised": "metabolized", "metabolises": "metabolizes", "metabolising": "metabolizing", "metre": "meter", "metres": "meters", "mhm": "hmm", "micrometre": "micrometer", "micrometres": "micrometers", "militarise": "militarize", "militarised": "militarized", "militarises": "militarizes", "militarising": "militarizing", "milligramme": "milligram", "milligrammes": "milligrams", "millilitre": "milliliter", "millilitres": "milliliters", "millimetre": "millimeter", "millimetres": "millimeters", "miniaturisation": "miniaturization", "miniaturise": "miniaturize", "miniaturised": "miniaturized", "miniaturises": "miniaturizes", "miniaturising": "miniaturizing", "minibusses": "minibuses", "minimise": "minimize", "minimised": "minimized", "minimises": "minimizes", "minimising": "minimizing", "misbehaviour": "misbehavior", "misdemeanour": "misdemeanor", "misdemeanours": "misdemeanors", "misspelt": "misspelled", "mitre": "miter", "mitres": "miters", "mm": "hmm", "mmm": "hmm", "mobilisation": "mobilization", "mobilise": "mobilize", "mobilised": "mobilized", "mobilises": "mobilizes", "mobilising": "mobilizing", "modelled": "modeled", "modeller": "modeler", "modellers": "modelers", "modelling": "modeling", "modernise": "modernize", "modernised": "modernized", "modernises": "modernizes", "modernising": "modernizing", "moisturise": "moisturize", "moisturised": "moisturized", "moisturiser": "moisturizer", "moisturisers": "moisturizers", "moisturises": "moisturizes", "moisturising": "moisturizing", "monologue": "monolog", "monologues": "monologs", "monopolisation": "monopolization", "monopolise": "monopolize", "monopolised": "monopolized", "monopolises": "monopolizes", "monopolising": "monopolizing", "moralise": "moralize", "moralised": "moralized", "moralises": "moralizes", "moralising": "moralizing", "motorised": "motorized", "mould": "mold", "moulded": "molded", "moulder": "molder", "mouldered": "moldered", "mouldering": "moldering", "moulders": "molders", "mouldier": "moldier", "mouldiest": "moldiest", "moulding": "molding", "mouldings": "moldings", "moulds": "molds", "mouldy": "moldy", "moult": "molt", "moulted": "molted", "moulting": "molting", "moults": "molts", "moustache": "mustache", "moustached": "mustached", "moustaches": "mustaches", "moustachioed": "mustachioed", "multicoloured": "multicolored", "nationalisation": "nationalization", "nationalisations": "nationalizations", "nationalise": "nationalize", "nationalised": "nationalized", "nationalises": "nationalizes", "nationalising": "nationalizing", "naturalisation": "naturalization", "naturalise": "naturalize", "naturalised": "naturalized", "naturalises": "naturalizes", "naturalising": "naturalizing", "neighbour": "neighbor", "neighbourhood": "neighborhood", "neighbourhoods": "neighborhoods", "neighbouring": "neighboring", "neighbourliness": "neighborliness", "neighbourly": "neighborly", "neighbours": "neighbors", "neutralisation": "neutralization", "neutralise": "neutralize", "neutralised": "neutralized", "neutralises": "neutralizes", "neutralising": "neutralizing", "normalisation": "normalization", "normalise": "normalize", "normalised": "normalized", "normalises": "normalizes", "normalising": "normalizing", "odour": "odor", "odourless": "odorless", "odours": "odors", "oesophagus": "esophagus", "oesophaguses": "esophaguses", "oestrogen": "estrogen", "offence": "offense", "offences": "offenses", "omelette": "omelet", "omelettes": "omelets", "optimise": "optimize", "optimised": "optimized", "optimises": "optimizes", "optimising": "optimizing", "organisation": "organization", "organisational": "organizational", "organisations": "organizations", "organise": "organize", "organised": "organized", "organiser": "organizer", "organisers": "organizers", "organises": "organizes", "organising": "organizing", "orthopaedic": "orthopedic", "orthopaedics": "orthopedics", "ostracise": "ostracize", "ostracised": "ostracized", "ostracises": "ostracizes", "ostracising": "ostracizing", "outmanoeuvre": "outmaneuver", "outmanoeuvred": "outmaneuvered", "outmanoeuvres": "outmaneuvers", "outmanoeuvring": "outmaneuvering", "overemphasise": "overemphasize", "overemphasised": "overemphasized", "overemphasises": "overemphasizes", "overemphasising": "overemphasizing", "oxidisation": "oxidization", "oxidise": "oxidize", "oxidised": "oxidized", "oxidises": "oxidizes", "oxidising": "oxidizing", "paederast": "pederast", "paederasts": "pederasts", "paediatric": "pediatric", "paediatrician": "pediatrician", "paediatricians": "pediatricians", "paediatrics": "pediatrics", "paedophile": "pedophile", "paedophiles": "pedophiles", "paedophilia": "pedophilia", "palaeolithic": "paleolithic", "palaeontologist": "paleontologist", "palaeontologists": "paleontologists", "palaeontology": "paleontology", "panelled": "paneled", "panelling": "paneling", "panellist": "panelist", "panellists": "panelists", "paralyse": "paralyze", "paralysed": "paralyzed", "paralyses": "paralyzes", "paralysing": "paralyzing", "parcelled": "parceled", "parcelling": "parceling", "parlour": "parlor", "parlours": "parlors", "particularise": "particularize", "particularised": "particularized", "particularises": "particularizes", "particularising": "particularizing", "passivisation": "passivization", "passivise": "passivize", "passivised": "passivized", "passivises": "passivizes", "passivising": "passivizing", "pasteurisation": "pasteurization", "pasteurise": "pasteurize", "pasteurised": "pasteurized", "pasteurises": "pasteurizes", "pasteurising": "pasteurizing", "patronise": "patronize", "patronised": "patronized", "patronises": "patronizes", "patronising": "patronizing", "patronisingly": "patronizingly", "pedalled": "pedaled", "pedalling": "pedaling", "pedestrianisation": "pedestrianization", "pedestrianise": "pedestrianize", "pedestrianised": "pedestrianized", "pedestrianises": "pedestrianizes", "pedestrianising": "pedestrianizing", "penalise": "penalize", "penalised": "penalized", "penalises": "penalizes", "penalising": "penalizing", "pencilled": "penciled", "pencilling": "penciling", "personalise": "personalize", "personalised": "personalized", "personalises": "personalizes", "personalising": "personalizing", "pharmacopoeia": "pharmacopeia", "pharmacopoeias": "pharmacopeias", "philosophise": "philosophize", "philosophised": "philosophized", "philosophises": "philosophizes", "philosophising": "philosophizing", "philtre": "filter", "philtres": "filters", "phoney": "phony", "plagiarise": "plagiarize", "plagiarised": "plagiarized", "plagiarises": "plagiarizes", "plagiarising": "plagiarizing", "plough": "plow", "ploughed": "plowed", "ploughing": "plowing", "ploughman": "plowman", "ploughmen": "plowmen", "ploughs": "plows", "ploughshare": "plowshare", "ploughshares": "plowshares", "polarisation": "polarization", "polarise": "polarize", "polarised": "polarized", "polarises": "polarizes", "polarising": "polarizing", "politicisation": "politicization", "politicise": "politicize", "politicised": "politicized", "politicises": "politicizes", "politicising": "politicizing", "popularisation": "popularization", "popularise": "popularize", "popularised": "popularized", "popularises": "popularizes", "popularising": "popularizing", "pouffe": "pouf", "pouffes": "poufs", "practise": "practice", "practised": "practiced", "practises": "practices", "practising": "practicing", "praesidium": "presidium", "praesidiums": "presidiums", "pressurisation": "pressurization", "pressurise": "pressurize", "pressurised": "pressurized", "pressurises": "pressurizes", "pressurising": "pressurizing", "pretence": "pretense", "pretences": "pretenses", "primaeval": "primeval", "prioritisation": "prioritization", "prioritise": "prioritize", "prioritised": "prioritized", "prioritises": "prioritizes", "prioritising": "prioritizing", "privatisation": "privatization", "privatisations": "privatizations", "privatise": "privatize", "privatised": "privatized", "privatises": "privatizes", "privatising": "privatizing", "professionalisation": "professionalization", "professionalise": "professionalize", "professionalised": "professionalized", "professionalises": "professionalizes", "professionalising": "professionalizing", "programme": "program", "programmes": "programs", "prologue": "prolog", "prologues": "prologs", "propagandise": "propagandize", "propagandised": "propagandized", "propagandises": "propagandizes", "propagandising": "propagandizing", "proselytise": "proselytize", "proselytised": "proselytized", "proselytiser": "proselytizer", "proselytisers": "proselytizers", "proselytises": "proselytizes", "proselytising": "proselytizing", "psychoanalyse": "psychoanalyze", "psychoanalysed": "psychoanalyzed", "psychoanalyses": "psychoanalyzes", "psychoanalysing": "psychoanalyzing", "publicise": "publicize", "publicised": "publicized", "publicises": "publicizes", "publicising": "publicizing", "pulverisation": "pulverization", "pulverise": "pulverize", "pulverised": "pulverized", "pulverises": "pulverizes", "pulverising": "pulverizing", "pummelled": "pummel", "pummelling": "pummeled", "pyjama": "pajama", "pyjamas": "pajamas", "pzazz": "pizzazz", "quarrelled": "quarreled", "quarrelling": "quarreling", "radicalise": "radicalize", "radicalised": "radicalized", "radicalises": "radicalizes", "radicalising": "radicalizing", "rancour": "rancor", "randomise": "randomize", "randomised": "randomized", "randomises": "randomizes", "randomising": "randomizing", "rationalisation": "rationalization", "rationalisations": "rationalizations", "rationalise": "rationalize", "rationalised": "rationalized", "rationalises": "rationalizes", "rationalising": "rationalizing", "ravelled": "raveled", "ravelling": "raveling", "realisable": "realizable", "realisation": "realization", "realisations": "realizations", "realise": "realize", "realised": "realized", "realises": "realizes", "realising": "realizing", "recognisable": "recognizable", "recognisably": "recognizably", "recognisance": "recognizance", "recognise": "recognize", "recognised": "recognized", "recognises": "recognizes", "recognising": "recognizing", "reconnoitre": "reconnoiter", "reconnoitred": "reconnoitered", "reconnoitres": "reconnoiters", "reconnoitring": "reconnoitering", "refuelled": "refueled", "refuelling": "refueling", "regularisation": "regularization", "regularise": "regularize", "regularised": "regularized", "regularises": "regularizes", "regularising": "regularizing", "remodelled": "remodeled", "remodelling": "remodeling", "remould": "remold", "remoulded": "remolded", "remoulding": "remolding", "remoulds": "remolds", "reorganisation": "reorganization", "reorganisations": "reorganizations", "reorganise": "reorganize", "reorganised": "reorganized", "reorganises": "reorganizes", "reorganising": "reorganizing", "revelled": "reveled", "reveller": "reveler", "revellers": "revelers", "revelling": "reveling", "revitalise": "revitalize", "revitalised": "revitalized", "revitalises": "revitalizes", "revitalising": "revitalizing", "revolutionise": "revolutionize", "revolutionised": "revolutionized", "revolutionises": "revolutionizes", "revolutionising": "revolutionizing", "rhapsodise": "rhapsodize", "rhapsodised": "rhapsodized", "rhapsodises": "rhapsodizes", "rhapsodising": "rhapsodizing", "rigour": "rigor", "rigours": "rigors", "ritualised": "ritualized", "rivalled": "rivaled", "rivalling": "rivaling", "romanticise": "romanticize", "romanticised": "romanticized", "romanticises": "romanticizes", "romanticising": "romanticizing", "rumour": "rumor", "rumoured": "rumored", "rumours": "rumors", "sabre": "saber", "sabres": "sabers", "saltpetre": "saltpeter", "sanitise": "sanitize", "sanitised": "sanitized", "sanitises": "sanitizes", "sanitising": "sanitizing", "satirise": "satirize", "satirised": "satirized", "satirises": "satirizes", "satirising": "satirizing", "saviour": "savior", "saviours": "saviors", "savour": "savor", "savoured": "savored", "savouries": "savories", "savouring": "savoring", "savours": "savors", "savoury": "savory", "scandalise": "scandalize", "scandalised": "scandalized", "scandalises": "scandalizes", "scandalising": "scandalizing", "sceptic": "skeptic", "sceptical": "skeptical", "sceptically": "skeptically", "scepticism": "skepticism", "sceptics": "skeptics", "sceptre": "scepter", "sceptres": "scepters", "scrutinise": "scrutinize", "scrutinised": "scrutinized", "scrutinises": "scrutinizes", "scrutinising": "scrutinizing", "secularisation": "secularization", "secularise": "secularize", "secularised": "secularized", "secularises": "secularizes", "secularising": "secularizing", "sensationalise": "sensationalize", "sensationalised": "sensationalized", "sensationalises": "sensationalizes", "sensationalising": "sensationalizing", "sensitise": "sensitize", "sensitised": "sensitized", "sensitises": "sensitizes", "sensitising": "sensitizing", "sentimentalise": "sentimentalize", "sentimentalised": "sentimentalized", "sentimentalises": "sentimentalizes", "sentimentalising": "sentimentalizing", "sepulchre": "sepulcher", "sepulchres": "sepulchers", "serialisation": "serialization", "serialisations": "serializations", "serialise": "serialize", "serialised": "serialized", "serialises": "serializes", "serialising": "serializing", "sermonise": "sermonize", "sermonised": "sermonized", "sermonises": "sermonizes", "sermonising": "sermonizing", "sheikh": "sheik", "shovelled": "shoveled", "shovelling": "shoveling", "shrivelled": "shriveled", "shrivelling": "shriveling", "signalise": "signalize", "signalised": "signalized", "signalises": "signalizes", "signalising": "signalizing", "signalled": "signaled", "signalling": "signaling", "smoulder": "smolder", "smouldered": "smoldered", "smouldering": "smoldering", "smoulders": "smolders", "snivelled": "sniveled", "snivelling": "sniveling", "snorkelled": "snorkeled", "snorkelling": "snorkeling", "snowplough": "snowplow", "snowploughs": "snowplow", "socialisation": "socialization", "socialise": "socialize", "socialised": "socialized", "socialises": "socializes", "socialising": "socializing", "sodomise": "sodomize", "sodomised": "sodomized", "sodomises": "sodomizes", "sodomising": "sodomizing", "solemnise": "solemnize", "solemnised": "solemnized", "solemnises": "solemnizes", "solemnising": "solemnizing", "sombre": "somber", "specialisation": "specialization", "specialisations": "specializations", "specialise": "specialize", "specialised": "specialized", "specialises": "specializes", "specialising": "specializing", "spectre": "specter", "spectres": "specters", "spiralled": "spiraled", "spiralling": "spiraling", "splendour": "splendor", "splendours": "splendors", "squirrelled": "squirreled", "squirrelling": "squirreling", "stabilisation": "stabilization", "stabilise": "stabilize", "stabilised": "stabilized", "stabiliser": "stabilizer", "stabilisers": "stabilizers", "stabilises": "stabilizes", "stabilising": "stabilizing", "standardisation": "standardization", "standardise": "standardize", "standardised": "standardized", "standardises": "standardizes", "standardising": "standardizing", "stencilled": "stenciled", "stencilling": "stenciling", "sterilisation": "sterilization", "sterilisations": "sterilizations", "sterilise": "sterilize", "sterilised": "sterilized", "steriliser": "sterilizer", "sterilisers": "sterilizers", "sterilises": "sterilizes", "sterilising": "sterilizing", "stigmatisation": "stigmatization", "stigmatise": "stigmatize", "stigmatised": "stigmatized", "stigmatises": "stigmatizes", "stigmatising": "stigmatizing", "storey": "story", "storeys": "stories", "subsidisation": "subsidization", "subsidise": "subsidize", "subsidised": "subsidized", "subsidiser": "subsidizer", "subsidisers": "subsidizers", "subsidises": "subsidizes", "subsidising": "subsidizing", "succour": "succor", "succoured": "succored", "succouring": "succoring", "succours": "succors", "sulphate": "sulfate", "sulphates": "sulfates", "sulphide": "sulfide", "sulphides": "sulfides", "sulphur": "sulfur", "sulphurous": "sulfurous", "summarise": "summarize", "summarised": "summarized", "summarises": "summarizes", "summarising": "summarizing", "swivelled": "swiveled", "swivelling": "swiveling", "symbolise": "symbolize", "symbolised": "symbolized", "symbolises": "symbolizes", "symbolising": "symbolizing", "sympathise": "sympathize", "sympathised": "sympathized", "sympathiser": "sympathizer", "sympathisers": "sympathizers", "sympathises": "sympathizes", "sympathising": "sympathizing", "synchronisation": "synchronization", "synchronise": "synchronize", "synchronised": "synchronized", "synchronises": "synchronizes", "synchronising": "synchronizing", "synthesise": "synthesize", "synthesised": "synthesized", "synthesiser": "synthesizer", "synthesisers": "synthesizers", "synthesises": "synthesizes", "synthesising": "synthesizing", "syphon": "siphon", "syphoned": "siphoned", "syphoning": "siphoning", "syphons": "siphons", "systematisation": "systematization", "systematise": "systematize", "systematised": "systematized", "systematises": "systematizes", "systematising": "systematizing", "tantalise": "tantalize", "tantalised": "tantalized", "tantalises": "tantalizes", "tantalising": "tantalizing", "tantalisingly": "tantalizingly", "tasselled": "tasseled", "technicolour": "technicolor", "temporise": "temporize", "temporised": "temporized", "temporises": "temporizes", "temporising": "temporizing", "tenderise": "tenderize", "tenderised": "tenderized", "tenderises": "tenderizes", "tenderising": "tenderizing", "terrorise": "terrorize", "terrorised": "terrorized", "terrorises": "terrorizes", "terrorising": "terrorizing", "theatre": "theater", "theatregoer": "theatergoer", "theatregoers": "theatergoers", "theatres": "theaters", "theorise": "theorize", "theorised": "theorized", "theorises": "theorizes", "theorising": "theorizing", "tonne": "ton", "tonnes": "tons", "towelled": "toweled", "towelling": "toweling", "toxaemia": "toxemia", "tranquillise": "tranquilize", "tranquillised": "tranquilized", "tranquilliser": "tranquilizer", "tranquillisers": "tranquilizers", "tranquillises": "tranquilizes", "tranquillising": "tranquilizing", "tranquillity": "tranquility", "tranquillize": "tranquilize", "tranquillized": "tranquilized", "tranquillizer": "tranquilizer", "tranquillizers": "tranquilizers", "tranquillizes": "tranquilizes", "tranquillizing": "tranquilizing", "tranquilly": "tranquility", "transistorised": "transistorized", "traumatise": "traumatize", "traumatised": "traumatized", "traumatises": "traumatizes", "traumatising": "traumatizing", "travelled": "traveled", "traveller": "traveler", "travellers": "travelers", "travelling": "traveling", "travelog": "travelogue", "travelogs": "travelogues", "trialled": "trialed", "trialling": "trialing", "tricolour": "tricolor", "tricolours": "tricolors", "trivialise": "trivialize", "trivialised": "trivialized", "trivialises": "trivializes", "trivialising": "trivializing", "tumour": "tumor", "tumours": "tumors", "tunnelled": "tunneled", "tunnelling": "tunneling", "tyrannise": "tyrannize", "tyrannised": "tyrannized", "tyrannises": "tyrannizes", "tyrannising": "tyrannizing", "tyre": "tire", "tyres": "tires", "unauthorised": "unauthorized", "uncivilised": "uncivilized", "underutilised": "underutilized", "unequalled": "unequaled", "unfavourable": "unfavorable", "unfavourably": "unfavorably", "unionisation": "unionization", "unionise": "unionize", "unionised": "unionized", "unionises": "unionizes", "unionising": "unionizing", "unorganised": "unorganized", "unravelled": "unraveled", "unravelling": "unraveling", "unrecognisable": "unrecognizable", "unrecognised": "unrecognized", "unrivalled": "unrivaled", "unsavoury": "unsavory", "untrammelled": "untrammeled", "urbanisation": "urbanization", "urbanise": "urbanize", "urbanised": "urbanized", "urbanises": "urbanizes", "urbanising": "urbanizing", "utilisable": "utilizable", "utilisation": "utilization", "utilise": "utilize", "utilised": "utilized", "utilises": "utilizes", "utilising": "utilizing", "valour": "valor", "vandalise": "vandalize", "vandalised": "vandalized", "vandalises": "vandalizes", "vandalising": "vandalizing", "vaporisation": "vaporization", "vaporise": "vaporize", "vaporised": "vaporized", "vaporises": "vaporizes", "vaporising": "vaporizing", "vapour": "vapor", "vapours": "vapors", "verbalise": "verbalize", "verbalised": "verbalized", "verbalises": "verbalizes", "verbalising": "verbalizing", "victimisation": "victimization", "victimise": "victimize", "victimised": "victimized", "victimises": "victimizes", "victimising": "victimizing", "videodisc": "videodisk", "videodiscs": "videodisks", "vigour": "vigor", "visualisation": "visualization", "visualisations": "visualizations", "visualise": "visualize", "visualised": "visualized", "visualises": "visualizes", "visualising": "visualizing", "vocalisation": "vocalization", "vocalisations": "vocalizations", "vocalise": "vocalize", "vocalised": "vocalized", "vocalises": "vocalizes", "vocalising": "vocalizing", "vulcanised": "vulcanized", "vulgarisation": "vulgarization", "vulgarise": "vulgarize", "vulgarised": "vulgarized", "vulgarises": "vulgarizes", "vulgarising": "vulgarizing", "waggon": "wagon", "waggons": "wagons", "watercolour": "watercolor", "watercolours": "watercolors", "weaselled": "weaseled", "weaselling": "weaseling", "westernisation": "westernization", "westernise": "westernize", "westernised": "westernized", "westernises": "westernizes", "westernising": "westernizing", "womanise": "womanize", "womanised": "womanized", "womaniser": "womanizer", "womanisers": "womanizers", "womanises": "womanizes", "womanising": "womanizing", "woollen": "woolen", "woollens": "woolens", "woollies": "woolies", "woolly": "wooly", "worshipped": "worshiped", "worshipper": "worshiper", "worshipping": "worshiping", "yodelled": "yodeled", "yodelling": "yodeling", "yoghourt": "yogurt", "yoghourts": "yogurts", "yoghurt": "yogurt", "yoghurts": "yogurts"}1234567891011121314{ "chunk_length": 30, "feature_extractor_type": "WhisperFeatureExtractor", "feature_size": 128, "hop_length": 160, "n_fft": 400, "n_samples": 480000, "nb_max_frames": 3000, "padding_side": "right", "padding_value": 0.0, "processor_class": "WhisperProcessor", "return_attention_mask": false, "sampling_rate": 16000}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139{ "additional_special_tokens": [ "<|startoftranscript|>", "<|en|>", "<|zh|>", "<|de|>", "<|es|>", "<|ru|>", "<|ko|>", "<|fr|>", "<|ja|>", "<|pt|>", "<|tr|>", "<|pl|>", "<|ca|>", "<|nl|>", "<|ar|>", "<|sv|>", "<|it|>", "<|id|>", "<|hi|>", "<|fi|>", "<|vi|>", "<|he|>", "<|uk|>", "<|el|>", "<|ms|>", "<|cs|>", "<|ro|>", "<|da|>", "<|hu|>", "<|ta|>", "<|no|>", "<|th|>", "<|ur|>", "<|hr|>", "<|bg|>", "<|lt|>", "<|la|>", "<|mi|>", "<|ml|>", "<|cy|>", "<|sk|>", "<|te|>", "<|fa|>", "<|lv|>", "<|bn|>", "<|sr|>", "<|az|>", "<|sl|>", "<|kn|>", "<|et|>", "<|mk|>", "<|br|>", "<|eu|>", "<|is|>", "<|hy|>", "<|ne|>", "<|mn|>", "<|bs|>", "<|kk|>", "<|sq|>", "<|sw|>", "<|gl|>", "<|mr|>", "<|pa|>", "<|si|>", "<|km|>", "<|sn|>", "<|yo|>", "<|so|>", "<|af|>", "<|oc|>", "<|ka|>", "<|be|>", "<|tg|>", "<|sd|>", "<|gu|>", "<|am|>", "<|yi|>", "<|lo|>", "<|uz|>", "<|fo|>", "<|ht|>", "<|ps|>", "<|tk|>", "<|nn|>", "<|mt|>", "<|sa|>", "<|lb|>", "<|my|>", "<|bo|>", "<|tl|>", "<|mg|>", "<|as|>", "<|tt|>", "<|haw|>", "<|ln|>", "<|ha|>", "<|ba|>", "<|jw|>", "<|su|>", "<|yue|>", "<|translate|>", "<|transcribe|>", "<|startoflm|>", "<|startofprev|>", "<|nospeech|>", "<|notimestamps|>" ], "bos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247<#
.Synopsis
Activate a Python virtual environment for the current PowerShell session.
.Description
Pushes the python executable for a virtual environment to the front of the
$Env:PATH environment variable and sets the prompt to signify that you are
in a Python virtual environment. Makes use of the command line switches as
well as the `pyvenv.cfg` file values present in the virtual environment.
.Parameter VenvDir
Path to the directory that contains the virtual environment to activate. The
default value for this is the parent of the directory that the Activate.ps1
script is located within.
.Parameter Prompt
The prompt prefix to display when this virtual environment is activated. By
default, this prompt is the name of the virtual environment folder (VenvDir)
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
.Example
Activate.ps1
Activates the Python virtual environment that contains the Activate.ps1 script.
.Example
Activate.ps1 -Verbose
Activates the Python virtual environment that contains the Activate.ps1 script,
and shows extra information about the activation as it executes.
.Example
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
Activates the Python virtual environment located in the specified location.
.Example
Activate.ps1 -Prompt "MyPython"
Activates the Python virtual environment that contains the Activate.ps1 script,
and prefixes the current prompt with the specified string (surrounded in
parentheses) while the virtual environment is active.
.Notes
On Windows, it may be required to enable this Activate.ps1 script by setting the
execution policy for the user. You can do this by issuing the following PowerShell
command:
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
For more information on Execution Policies:
https://go.microsoft.com/fwlink/?LinkID=135170
#>
Param(
[Parameter(Mandatory = $false)]
[String]
$VenvDir,
[Parameter(Mandatory = $false)]
[String]
$Prompt
)
<# Function declarations --------------------------------------------------- #>
<#
.Synopsis
Remove all shell session elements added by the Activate script, including the
addition of the virtual environment's Python executable from the beginning of
the PATH variable.
.Parameter NonDestructive
If present, do not remove this function from the global namespace for the
session.
#>
function global:deactivate ([switch]$NonDestructive) {
# Revert to original values
# The prior prompt:
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
}
# The prior PYTHONHOME:
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
}
# The prior PATH:
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
}
# Just remove the VIRTUAL_ENV altogether:
if (Test-Path -Path Env:VIRTUAL_ENV) {
Remove-Item -Path env:VIRTUAL_ENV
}
# Just remove VIRTUAL_ENV_PROMPT altogether.
if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) {
Remove-Item -Path env:VIRTUAL_ENV_PROMPT
}
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
}
# Leave deactivate function in the global namespace if requested:
if (-not $NonDestructive) {
Remove-Item -Path function:deactivate
}
}
<#
.Description
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
given folder, and returns them in a map.
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
two strings separated by `=` (with any amount of whitespace surrounding the =)
then it is considered a `key = value` line. The left hand string is the key,
the right hand is the value.
If the value starts with a `'` or a `"` then the first and last character is
stripped from the value before being captured.
.Parameter ConfigDir
Path to the directory that contains the `pyvenv.cfg` file.
#>
function Get-PyVenvConfig(
[String]
$ConfigDir
) {
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
# An empty map will be returned if no config file is found.
$pyvenvConfig = @{ }
if ($pyvenvConfigPath) {
Write-Verbose "File exists, parse `key = value` lines"
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
$pyvenvConfigContent | ForEach-Object {
$keyval = $PSItem -split "\s*=\s*", 2
if ($keyval[0] -and $keyval[1]) {
$val = $keyval[1]
# Remove extraneous quotations around a string value.
if ("'""".Contains($val.Substring(0, 1))) {
$val = $val.Substring(1, $val.Length - 2)
}
$pyvenvConfig[$keyval[0]] = $val
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
}
}
}
return $pyvenvConfig
}
<# Begin Activate script --------------------------------------------------- #>
# Determine the containing directory of this script
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
$VenvExecDir = Get-Item -Path $VenvExecPath
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
# Set values required in priority: CmdLine, ConfigFile, Default
# First, get the location of the virtual environment, it might not be
# VenvExecDir if specified on the command line.
if ($VenvDir) {
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
}
else {
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
Write-Verbose "VenvDir=$VenvDir"
}
# Next, read the `pyvenv.cfg` file to determine any required value such
# as `prompt`.
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
# Next, set the prompt from the command line, or the config file, or
# just use the name of the virtual environment folder.
if ($Prompt) {
Write-Verbose "Prompt specified as argument, using '$Prompt'"
}
else {
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
$Prompt = $pyvenvCfg['prompt'];
}
else {
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
$Prompt = Split-Path -Path $venvDir -Leaf
}
}
Write-Verbose "Prompt = '$Prompt'"
Write-Verbose "VenvDir='$VenvDir'"
# Deactivate any currently active virtual environment, but leave the
# deactivate function in place.
deactivate -nondestructive
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
# that there is an activated venv.
$env:VIRTUAL_ENV = $VenvDir
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
Write-Verbose "Setting prompt to '$Prompt'"
# Set the prompt to include the env name
# Make sure _OLD_VIRTUAL_PROMPT is global
function global:_OLD_VIRTUAL_PROMPT { "" }
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
function global:prompt {
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
_OLD_VIRTUAL_PROMPT
}
$env:VIRTUAL_ENV_PROMPT = $Prompt
}
# Clear PYTHONHOME
if (Test-Path -Path Env:PYTHONHOME) {
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
Remove-Item -Path Env:PYTHONHOME
}
# Add the venv to the PATH
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869# This file must be used with "source bin/activate" *from bash*# you cannot run it directly
deactivate () { # reset old environment variables if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then PATH="${_OLD_VIRTUAL_PATH:-}" export PATH unset _OLD_VIRTUAL_PATH fi if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" export PYTHONHOME unset _OLD_VIRTUAL_PYTHONHOME fi
# This should detect bash and zsh, which have a hash command that must # be called to get it to forget past commands. Without forgetting # past commands the $PATH changes we made may not be respected if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then hash -r 2> /dev/null fi
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then PS1="${_OLD_VIRTUAL_PS1:-}" export PS1 unset _OLD_VIRTUAL_PS1 fi
unset VIRTUAL_ENV unset VIRTUAL_ENV_PROMPT if [ ! "${1:-}" = "nondestructive" ] ; then # Self destruct! unset -f deactivate fi}
# unset irrelevant variablesdeactivate nondestructive
VIRTUAL_ENV="/home/jek/ai-bot-test/venv"export VIRTUAL_ENV
_OLD_VIRTUAL_PATH="$PATH"PATH="$VIRTUAL_ENV/bin:$PATH"export PATH
# unset PYTHONHOME if set# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)# could use `if (set -u; : $PYTHONHOME) ;` in bashif [ -n "${PYTHONHOME:-}" ] ; then _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" unset PYTHONHOMEfi
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then _OLD_VIRTUAL_PS1="${PS1:-}" PS1="(venv) ${PS1:-}" export PS1 VIRTUAL_ENV_PROMPT="(venv) " export VIRTUAL_ENV_PROMPTfi
# This should detect bash and zsh, which have a hash command that must# be called to get it to forget past commands. Without forgetting# past commands the $PATH changes we made may not be respectedif [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then hash -r 2> /dev/nullfi1234567891011121314151617181920212223242526# This file must be used with "source bin/activate.csh" *from csh*.# You cannot run it directly.# Created by Davide Di Blasi <davidedb@gmail.com>.# Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate'
# Unset irrelevant variables.deactivate nondestructive
setenv VIRTUAL_ENV "/home/jek/ai-bot-test/venv"
set _OLD_VIRTUAL_PATH="$PATH"setenv PATH "$VIRTUAL_ENV/bin:$PATH"
set _OLD_VIRTUAL_PROMPT="$prompt"
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then set prompt = "(venv) $prompt" setenv VIRTUAL_ENV_PROMPT "(venv) "endif
alias pydoc python -m pydoc
rehash123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869# This file must be used with "source <venv>/bin/activate.fish" *from fish*# (https://fishshell.com/); you cannot run it directly.
function deactivate -d "Exit virtual environment and return to normal shell environment" # reset old environment variables if test -n "$_OLD_VIRTUAL_PATH" set -gx PATH $_OLD_VIRTUAL_PATH set -e _OLD_VIRTUAL_PATH end if test -n "$_OLD_VIRTUAL_PYTHONHOME" set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME set -e _OLD_VIRTUAL_PYTHONHOME end
if test -n "$_OLD_FISH_PROMPT_OVERRIDE" set -e _OLD_FISH_PROMPT_OVERRIDE # prevents error when using nested fish instances (Issue #93858) if functions -q _old_fish_prompt functions -e fish_prompt functions -c _old_fish_prompt fish_prompt functions -e _old_fish_prompt end end
set -e VIRTUAL_ENV set -e VIRTUAL_ENV_PROMPT if test "$argv[1]" != "nondestructive" # Self-destruct! functions -e deactivate endend
# Unset irrelevant variables.deactivate nondestructive
set -gx VIRTUAL_ENV "/home/jek/ai-bot-test/venv"
set -gx _OLD_VIRTUAL_PATH $PATHset -gx PATH "$VIRTUAL_ENV/bin" $PATH
# Unset PYTHONHOME if set.if set -q PYTHONHOME set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME set -e PYTHONHOMEend
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" # fish uses a function instead of an env var to generate the prompt.
# Save the current fish_prompt function as the function _old_fish_prompt. functions -c fish_prompt _old_fish_prompt
# With the original prompt function renamed, we can override with our own. function fish_prompt # Save the return status of the last command. set -l old_status $status
# Output the venv prompt; color taken from the blue of the Python logo. printf "%s%s%s" (set_color 4B8BBE) "(venv) " (set_color normal)
# Restore the return status of the previous command. echo "exit $old_status" | . # Output the original/"old" prompt. _old_fish_prompt end
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV" set -gx VIRTUAL_ENV_PROMPT "(venv) "end12345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom huggingface_hub.commands.huggingface_cli import mainif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())12345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom charset_normalizer import cliif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(cli.cli_detect())12345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom pip._internal.cli.main import mainif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())12345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom pip._internal.cli.main import mainif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())12345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom pip._internal.cli.main import mainif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())123version https://git-lfs.github.com/spec/v1oid sha256:be3c31e93ceba16c561f69a9a86075b37d861721d06b4159d2d36a665231cc05size 6827680123version https://git-lfs.github.com/spec/v1oid sha256:be3c31e93ceba16c561f69a9a86075b37d861721d06b4159d2d36a665231cc05size 6827680123version https://git-lfs.github.com/spec/v1oid sha256:be3c31e93ceba16c561f69a9a86075b37d861721d06b4159d2d36a665231cc05size 682768012345678#!/home/jek/ai-bot-test/venv/bin/python3# -*- coding: utf-8 -*-import reimport sysfrom tqdm.cli import mainif __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())12from InquirerPy.resolver import prompt, prompt_asyncfrom InquirerPy.utils import get_style123456789101112131415"""Module contains base class for prompts.
BaseSimplePrompt ← InputPrompt ← SecretPrompt ... ↑BaseComplexPrompt ↑BaseListPrompt ← FuzzyPrompt ↑ListPrompt ← ExpandPrompt ..."""
from .complex import BaseComplexPrompt, FakeDocumentfrom .control import Choice, InquirerPyUIListControlfrom .list import BaseListPromptfrom .simple import BaseSimplePrompt123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294"""Contains the interface class :class:`.BaseComplexPrompt` for more complex prompts and the mocked document class :class:`.FakeDocument`."""import shutilfrom dataclasses import dataclassfrom typing import Any, Callable, List, Optional, Tuple, Union
from prompt_toolkit.application import Applicationfrom prompt_toolkit.enums import EditingModefrom prompt_toolkit.filters.base import Condition, FilterOrBoolfrom prompt_toolkit.key_binding.key_bindings import KeyHandlerCallablefrom prompt_toolkit.keys import Keys
from InquirerPy.base.simple import BaseSimplePromptfrom InquirerPy.enum import INQUIRERPY_KEYBOARD_INTERRUPTfrom InquirerPy.utils import ( InquirerPySessionResult, InquirerPyStyle, InquirerPyValidate,)
@dataclassclass FakeDocument: """A fake `prompt_toolkit` document class.
Work around to allow non-buffer type :class:`~prompt_toolkit.layout.UIControl` to use :class:`~prompt_toolkit.validation.Validator`.
Args: text: Content to be validated. cursor_position: Fake cursor position. """
text: str cursor_position: int = 0
class BaseComplexPrompt(BaseSimplePrompt): """A base class to create a more complex prompt that will involve :class:`~prompt_toolkit.application.Application`.
Note: This class does not create :class:`~prompt_toolkit.layout.Layout` nor :class:`~prompt_toolkit.application.Application`, it only contains the necessary attributes and helper functions to be consumed.
Note: Use :class:`~InquirerPy.base.BaseListPrompt` to create a complex list prompt which involves multiple choices. It has more methods and helper function implemented.
See Also: :class:`~InquirerPy.base.BaseListPrompt` :class:`~InquirerPy.prompts.fuzzy.FuzzyPrompt` """
def __init__( self, message: Union[str, Callable[[InquirerPySessionResult], str]], style: Optional[InquirerPyStyle] = None, border: bool = False, vi_mode: bool = False, qmark: str = "?", amark: str = "?", instruction: str = "", long_instruction: str = "", transformer: Optional[Callable[[Any], Any]] = None, filter: Optional[Callable[[Any], Any]] = None, validate: Optional[InquirerPyValidate] = None, invalid_message: str = "Invalid input", wrap_lines: bool = True, raise_keyboard_interrupt: bool = True, mandatory: bool = True, mandatory_message: str = "Mandatory prompt", session_result: Optional[InquirerPySessionResult] = None, ) -> None: super().__init__( message=message, style=style, vi_mode=vi_mode, qmark=qmark, amark=amark, instruction=instruction, transformer=transformer, filter=filter, invalid_message=invalid_message, validate=validate, wrap_lines=wrap_lines, raise_keyboard_interrupt=raise_keyboard_interrupt, mandatory=mandatory, mandatory_message=mandatory_message, session_result=session_result, ) self._invalid_message = invalid_message self._rendered = False self._invalid = False self._loading = False self._application: Application self._long_instruction = long_instruction self._border = border self._height_offset = 2 # prev prompt result + current prompt question if self._border: self._height_offset += 2 if self._long_instruction: self._height_offset += 1 self._validation_window_bottom_offset = 0 if not self._long_instruction else 1 if self._wrap_lines: self._validation_window_bottom_offset += ( self.extra_long_instruction_line_count )
self._is_vim_edit = Condition(lambda: self._editing_mode == EditingMode.VI) self._is_invalid = Condition(lambda: self._invalid) self._is_displaying_long_instruction = Condition( lambda: self._long_instruction != "" )
def _redraw(self) -> None: """Redraw the application UI.""" self._application.invalidate()
def register_kb( self, *keys: Union[Keys, str], filter: FilterOrBool = True ) -> Callable[[KeyHandlerCallable], KeyHandlerCallable]: """Decorate keybinding registration function.
Ensure that the `invalid` state is cleared on next keybinding entered. """ kb_dec = super().register_kb(*keys, filter=filter)
def decorator(func: KeyHandlerCallable) -> KeyHandlerCallable: @kb_dec def executable(event): if self._invalid: self._invalid = False func(event)
return executable
return decorator
def _exception_handler(self, _, context) -> None: """Set exception handler for the event loop.
Skip the question and raise exception.
Args: loop: Current event loop. context: Exception context. """ self._status["answered"] = True self._status["result"] = INQUIRERPY_KEYBOARD_INTERRUPT self._status["skipped"] = True self._application.exit(exception=context["exception"])
def _after_render(self, app: Optional[Application]) -> None: """Run after the :class:`~prompt_toolkit.application.Application` is rendered/updated.
Since this function is fired up on each render, adding a check on `self._rendered` to process logics that should only run once.
Set event loop exception handler here, since its guaranteed that the event loop is running in `_after_render`. """ if not self._rendered: self._rendered = True
self._keybinding_factory() self._on_rendered(app)
def _set_error(self, message: str) -> None: """Set error message and set invalid state.
Args: message: Error message to display. """ self._invalid_message = message self._invalid = True
def _get_error_message(self) -> List[Tuple[str, str]]: """Obtain the error message dynamically.
Returns: FormattedText in list of tuple format. """ return [ ( "class:validation-toolbar", self._invalid_message, ) ]
def _on_rendered(self, _: Optional[Application]) -> None: """Run once after the UI is rendered. Acts like `ComponentDidMount`.""" pass
def _get_prompt_message(self) -> List[Tuple[str, str]]: """Get the prompt message to display.
Returns: Formatted text in list of tuple format. """ pre_answer = ( "class:instruction", " %s " % self.instruction if self.instruction else " ", ) post_answer = ("class:answer", " %s" % self.status["result"]) return super()._get_prompt_message(pre_answer, post_answer)
def _run(self) -> Any: """Run the application.""" return self.application.run()
async def _run_async(self) -> None: """Run the application asynchronously.""" return await self.application.run_async()
@property def application(self) -> Application: """Get the application.
:class:`.BaseComplexPrompt` requires :attr:`.BaseComplexPrompt._application` to be defined since this class doesn't implement :class:`~prompt_toolkit.layout.Layout` and :class:`~prompt_toolkit.application.Application`.
Raises: NotImplementedError: When `self._application` is not defined. """ if not self._application: raise NotImplementedError return self._application
@application.setter def application(self, value: Application) -> None: self._application = value
@property def height_offset(self) -> int: """int: Height offset to apply.""" if not self._wrap_lines: return self._height_offset return self.extra_line_count + self._height_offset
@property def total_message_length(self) -> int: """int: Total length of the message.""" total_message_length = 0 if self._qmark: total_message_length += len(self._qmark) total_message_length += 1 # Extra space if qmark is present total_message_length += len(str(self._message)) total_message_length += 1 # Extra space between message and instruction total_message_length += len(str(self._instruction)) if self._instruction: total_message_length += 1 # Extra space behind the instruction return total_message_length
@property def extra_message_line_count(self) -> int: """int: Get the extra lines created caused by line wrapping.
Minus 1 on the totoal message length as we only want the extra line. 24 // 24 will equal to 1 however we only want the value to be 1 when we have 25 char which will create an extra line. """ term_width, _ = shutil.get_terminal_size() return (self.total_message_length - 1) // term_width
@property def extra_long_instruction_line_count(self) -> int: """int: Get the extra lines created caused by line wrapping.
See Also: :attr:`.BaseComplexPrompt.extra_message_line_count` """ if self._long_instruction: term_width, _ = shutil.get_terminal_size() return (len(self._long_instruction) - 1) // term_width else: return 0
@property def extra_line_count(self) -> int: """Get the extra lines created caused by line wrapping.
Used mainly to calculate how much additional offset should be applied when getting the height.
Returns: Total extra lines created due to line wrapping. """ result = 0
# message wrap result += self.extra_message_line_count # long instruction wrap result += self.extra_long_instruction_line_count
return result123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227"""Contains the content control class :class:`.InquirerPyUIListControl`."""from abc import abstractmethodfrom dataclasses import asdict, dataclassfrom typing import Any, Callable, Dict, List, Optional, Tuple, cast
from prompt_toolkit.layout.controls import FormattedTextControl
from InquirerPy.exceptions import InvalidArgument, RequiredKeyNotFoundfrom InquirerPy.separator import Separatorfrom InquirerPy.utils import InquirerPyListChoices, InquirerPySessionResult
__all__ = ["Choice", "InquirerPyUIListControl"]
@dataclassclass Choice: """Class to create choices for list type prompts.
A simple dataclass that can be used as an alternate to using :class:`dict` when working with choices.
Args: value: The value of the choice when user selects this choice. name: The value that should be presented to the user prior/after selection of the choice. This value is optional, if not provided, it will fallback to the string representation of `value`. enabled: Indicates if the choice should be pre-selected. This only has effects when the prompt has `multiselect` enabled. """
value: Any name: Optional[str] = None enabled: bool = False
def __post_init__(self): """Assign strinify value to name if not present.""" if self.name is None: self.name = str(self.value)
class InquirerPyUIListControl(FormattedTextControl): """A base class to create :class:`~prompt_toolkit.layout.UIControl` to display list type contents.
Args: choices(InquirerPyListChoices): List of choices to display as the content. Can also be a callable or async callable that returns a list of choices. default: Default value, this will affect the cursor position. multiselect: Indicate if the current prompt has `multiselect` enabled. session_result: Current session result. """
def __init__( self, choices: InquirerPyListChoices, default: Any = None, multiselect: bool = False, session_result: Optional[InquirerPySessionResult] = None, ) -> None: self._session_result = session_result or {} self._selected_choice_index: int = 0 self._choice_func = None self._multiselect = multiselect self._default = ( default if not isinstance(default, Callable) else cast(Callable, default)(self._session_result) ) self._raw_choices = ( choices if not isinstance(choices, Callable) else cast(Callable, choices)(self._session_result) ) self._choices = self._get_choices(self._raw_choices, self._default) self._safety_check() self._format_choices() super().__init__(self._get_formatted_choices)
def _get_choices(self, choices: List[Any], default: Any) -> List[Dict[str, Any]]: """Process the raw user input choices and format it into dictionary.
Args: choices: List of chices to display. default: Default value, this will affect the :attr:`.InquirerPyUIListControl.selected_choice_index`
Returns: List of choices.
Raises: RequiredKeyNotFound: When the provided choice is missing the `name` or `value` key. """ processed_choices: List[Dict[str, Any]] = [] try: for index, choice in enumerate(choices, start=0): if isinstance(choice, dict): if choice["value"] == default: self.selected_choice_index = index processed_choices.append( { "name": str(choice["name"]), "value": choice["value"], "enabled": choice.get("enabled", False) if self._multiselect else False, } ) elif isinstance(choice, Separator): if self.selected_choice_index == index: self.selected_choice_index = ( self.selected_choice_index + 1 ) % len(choices) processed_choices.append( {"name": str(choice), "value": choice, "enabled": False} ) elif isinstance(choice, Choice): dict_choice = asdict(choice) if dict_choice["value"] == default: self.selected_choice_index = index if not self._multiselect: dict_choice["enabled"] = False processed_choices.append(dict_choice) else: if choice == default: self.selected_choice_index = index processed_choices.append( {"name": str(choice), "value": choice, "enabled": False} ) except KeyError: raise RequiredKeyNotFound( "dictionary type of choice require a 'name' key and a 'value' key" ) return processed_choices
@property def selected_choice_index(self) -> int: """int: Current highlighted index.""" return self._selected_choice_index
@selected_choice_index.setter def selected_choice_index(self, value: int) -> None: self._selected_choice_index = value
@property def choices(self) -> List[Dict[str, Any]]: """List[Dict[str, Any]]: Get all processed choices.""" return self._choices
@choices.setter def choices(self, value: List[Dict[str, Any]]) -> None: self._choices = value
def _safety_check(self) -> None: """Validate processed choices.
Check if the choices are empty or if it only contains :class:`~InquirerPy.separator.Separator`. """ if not self.choices: raise InvalidArgument("argument choices cannot be empty") should_proceed: bool = False for choice in self.choices: if not isinstance(choice["value"], Separator): should_proceed = True break if not should_proceed: raise InvalidArgument( "argument choices should contain choices other than separator" )
def _get_formatted_choices(self) -> List[Tuple[str, str]]: """Get all choices in formatted text format.
Returns: List of choices in formatted text form. """ display_choices = []
for index, choice in enumerate(self.choices): if index == self.selected_choice_index: display_choices += self._get_hover_text(choice) else: display_choices += self._get_normal_text(choice) display_choices.append(("", "\n")) if display_choices: display_choices.pop() return display_choices
def _format_choices(self) -> None: """Perform post processing on the choices.
Additional customisation to the choices after :meth:`.InquirerPyUIListControl._get_choices` call. """ pass
@abstractmethod def _get_hover_text(self, choice) -> List[Tuple[str, str]]: """Generate the formatted text for hovered choice.
Returns: Formatted text in list of tuple format. """ pass
@abstractmethod def _get_normal_text(self, choice) -> List[Tuple[str, str]]: """Generate the formatted text for non-hovered choices.
Returns: Formatted text in list of tuple format. """ pass
@property def choice_count(self) -> int: """int: Total count of choices.""" return len(self.choices)
@property def selection(self) -> Dict[str, Any]: """Dict[str, Any]: Current selected choice.""" return self.choices[self.selected_choice_index]
@property def loading(self) -> bool: """bool: Indicate if the content control is loading.""" return self._loading
@loading.setter def loading(self, value: bool) -> None: self._loading = value123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238"""Contains the base class :class:`.BaseListPrompt` which can be used to create a prompt involving choices."""from abc import abstractmethodfrom typing import Any, Callable, List, Optional
from prompt_toolkit.filters.base import Conditionfrom prompt_toolkit.keys import Keys
from InquirerPy.base.complex import BaseComplexPromptfrom InquirerPy.base.control import InquirerPyUIListControlfrom InquirerPy.separator import Separatorfrom InquirerPy.utils import ( InquirerPyKeybindings, InquirerPyMessage, InquirerPySessionResult, InquirerPyStyle, InquirerPyValidate,)
class BaseListPrompt(BaseComplexPrompt): """A base class to create a complex prompt involving choice selections (i.e. list) using `prompt_toolkit` Application.
Note: This class does not create :class:`~prompt_toolkit.layout.Layout` nor :class:`~prompt_toolkit.application.Application`, it only contains the necessary attributes and helper functions to be consumed.
See Also: :class:`~InquirerPy.prompts.list.ListPrompt` :class:`~InquirerPy.prompts.fuzzy.FuzzyPrompt` """
def __init__( self, message: InquirerPyMessage, style: Optional[InquirerPyStyle] = None, vi_mode: bool = False, qmark: str = "?", amark: str = "?", instruction: str = "", long_instruction: str = "", border: bool = False, transformer: Optional[Callable[[Any], Any]] = None, filter: Optional[Callable[[Any], Any]] = None, validate: Optional[InquirerPyValidate] = None, invalid_message: str = "Invalid input", multiselect: bool = False, keybindings: Optional[InquirerPyKeybindings] = None, cycle: bool = True, wrap_lines: bool = True, raise_keyboard_interrupt: bool = True, mandatory: bool = True, mandatory_message: str = "Mandatory prompt", session_result: Optional[InquirerPySessionResult] = None, ) -> None: super().__init__( message=message, style=style, border=border, vi_mode=vi_mode, qmark=qmark, amark=amark, transformer=transformer, filter=filter, invalid_message=invalid_message, validate=validate, instruction=instruction, long_instruction=long_instruction, wrap_lines=wrap_lines, raise_keyboard_interrupt=raise_keyboard_interrupt, mandatory=mandatory, mandatory_message=mandatory_message, session_result=session_result, )
self._content_control: InquirerPyUIListControl self._multiselect = multiselect self._is_multiselect = Condition(lambda: self._multiselect) self._cycle = cycle
if not keybindings: keybindings = {}
self.kb_maps = { "down": [ {"key": "down"}, {"key": "c-n", "filter": ~self._is_vim_edit}, {"key": "j", "filter": self._is_vim_edit}, ], "up": [ {"key": "up"}, {"key": "c-p", "filter": ~self._is_vim_edit}, {"key": "k", "filter": self._is_vim_edit}, ], "toggle": [ {"key": "space"}, ], "toggle-down": [ {"key": Keys.Tab}, ], "toggle-up": [ {"key": Keys.BackTab}, ], "toggle-all": [ {"key": "alt-r"}, {"key": "c-r"}, ], "toggle-all-true": [ {"key": "alt-a"}, {"key": "c-a"}, ], "toggle-all-false": [], **keybindings, }
self.kb_func_lookup = { "down": [{"func": self._handle_down}], "up": [{"func": self._handle_up}], "toggle": [{"func": self._handle_toggle_choice}], "toggle-down": [ {"func": self._handle_toggle_choice}, {"func": self._handle_down}, ], "toggle-up": [ {"func": self._handle_toggle_choice}, {"func": self._handle_up}, ], "toggle-all": [{"func": self._handle_toggle_all}], "toggle-all-true": [{"func": self._handle_toggle_all, "args": [True]}], "toggle-all-false": [{"func": self._handle_toggle_all, "args": [False]}], }
@property def content_control(self) -> InquirerPyUIListControl: """Get the content controller object.
Needs to be an instance of :class:`~InquirerPy.base.control.InquirerPyUIListControl`.
Each :class:`.BaseComplexPrompt` requires a `content_control` to display custom contents for the prompt.
Raises: NotImplementedError: When `self._content_control` is not found. """ if not self._content_control: raise NotImplementedError return self._content_control
@content_control.setter def content_control(self, value: InquirerPyUIListControl) -> None: self._content_control = value
@property def result_name(self) -> Any: """Get the result value that should be printed to the terminal.
In multiselect scenario, return result as a list. """ if self._multiselect: return [choice["name"] for choice in self.selected_choices] else: try: return self.content_control.selection["name"] except IndexError: return ""
@property def result_value(self) -> Any: """Get the result value that should return to the user.
In multiselect scenario, return result as a list. """ if self._multiselect: return [choice["value"] for choice in self.selected_choices] else: try: return self.content_control.selection["value"] except IndexError: return ""
@property def selected_choices(self) -> List[Any]: """List[Any]: Get all user selected choices."""
def filter_choice(choice): return not isinstance(choice, Separator) and choice["enabled"]
return list(filter(filter_choice, self.content_control.choices))
def _handle_down(self, _) -> bool: """Handle event when user attempts to move down.
Returns: Boolean indicating if the action hits the cap. """ if self._cycle: self.content_control.selected_choice_index = ( self.content_control.selected_choice_index + 1 ) % self.content_control.choice_count return False else: self.content_control.selected_choice_index += 1 if ( self.content_control.selected_choice_index >= self.content_control.choice_count ): self.content_control.selected_choice_index = ( self.content_control.choice_count - 1 ) return True return False
def _handle_up(self, _) -> bool: """Handle event when user attempts to move up.
Returns: Boolean indicating if the action hits the cap. """ if self._cycle: self.content_control.selected_choice_index = ( self.content_control.selected_choice_index - 1 ) % self.content_control.choice_count return False else: self.content_control.selected_choice_index -= 1 if self.content_control.selected_choice_index < 0: self.content_control.selected_choice_index = 0 return True return False
@abstractmethod def _handle_toggle_choice(self, event) -> None: """Handle event when user attempting to toggle the state of the chocie.""" pass
@abstractmethod def _handle_toggle_all(self, event, value: bool) -> None: """Handle event when user attempting to alter the state of all choices.""" pass123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378"""Contains the base class :class:`.BaseSimplePrompt`."""import osimport refrom abc import ABC, abstractmethodfrom typing import ( TYPE_CHECKING, Any, Callable, Dict, List, Optional, Tuple, Union, cast,)
from prompt_toolkit.enums import EditingModefrom prompt_toolkit.filters.base import Condition, FilterOrBoolfrom prompt_toolkit.key_binding.key_bindings import KeyBindings, KeyHandlerCallablefrom prompt_toolkit.keys import Keysfrom prompt_toolkit.styles.style import Stylefrom prompt_toolkit.validation import Validator
from InquirerPy.enum import INQUIRERPY_KEYBOARD_INTERRUPTfrom InquirerPy.exceptions import RequiredKeyNotFoundfrom InquirerPy.utils import ( InquirerPyMessage, InquirerPySessionResult, InquirerPyStyle, InquirerPyValidate, get_style,)
if TYPE_CHECKING: from prompt_toolkit.key_binding.key_processor import KeyPressEvent
class BaseSimplePrompt(ABC): """The base class to create a simple terminal input prompt.
Note: No actual :class:`~prompt_toolkit.application.Application` is created by this class. This class only creates some common interface and attributes that can be easily used by `prompt_toolkit`.
To have a functional prompt, you'll at least have to implement the :meth:`.BaseSimplePrompt._run` and :meth:`.BaseSimplePrompt._get_prompt_message`.
See Also: :class:`~InquirerPy.prompts.input.InputPrompt` """
def __init__( self, message: InquirerPyMessage, style: Optional[InquirerPyStyle] = None, vi_mode: bool = False, qmark: str = "?", amark: str = "?", instruction: str = "", validate: Optional[InquirerPyValidate] = None, invalid_message: str = "Invalid input", transformer: Optional[Callable[[Any], Any]] = None, filter: Optional[Callable[[Any], Any]] = None, default: Any = "", wrap_lines: bool = True, raise_keyboard_interrupt: bool = True, mandatory: bool = True, mandatory_message: str = "Mandatory prompt", session_result: Optional[InquirerPySessionResult] = None, ) -> None: self._mandatory = mandatory self._mandatory_message = mandatory_message self._result = session_result or {} self._message = ( message if not isinstance(message, Callable) else cast(Callable, message)(self._result) ) self._instruction = instruction self._default = ( default if not isinstance(default, Callable) else default(self._result) ) self._style = Style.from_dict(style.dict if style else get_style().dict) self._qmark = qmark self._amark = amark self._status = {"answered": False, "result": None, "skipped": False} self._kb = KeyBindings() self._lexer = "class:input" self._transformer = transformer self._filter = filter self._wrap_lines = wrap_lines self._editing_mode = ( EditingMode.VI if vi_mode or bool(os.getenv("INQUIRERPY_VI_MODE", False)) else EditingMode.EMACS ) if isinstance(validate, Validator): self._validator = validate else: self._validator = Validator.from_callable( validate if validate else lambda _: True, invalid_message, move_cursor_to_end=True, ) self._raise_kbi = not os.getenv( "INQUIRERPY_NO_RAISE_KBI", not raise_keyboard_interrupt ) self._is_rasing_kbi = Condition(lambda: self._raise_kbi)
self._kb_maps = { "answer": [{"key": Keys.Enter}], "interrupt": [ {"key": "c-c", "filter": self._is_rasing_kbi}, {"key": "c-d", "filter": ~self._is_rasing_kbi}, ], "skip": [{"key": "c-z"}, {"key": "c-c", "filter": ~self._is_rasing_kbi}], } self._kb_func_lookup = { "answer": [{"func": self._handle_enter}], "interrupt": [{"func": self._handle_interrupt}], "skip": [{"func": self._handle_skip}], }
def _keybinding_factory(self): """Register all keybindings in `self._kb_maps`.
It's required to call this function at the end of prompt constructor if it inherits from :class:`~InquirerPy.base.simple.BaseSimplePrompt` or :class:`~InquirerPy.base.complex.BaseComplexPrompt`. """
def _factory(keys, filter, action): if action not in self.kb_func_lookup: raise RequiredKeyNotFound(f"keybinding action {action} not found") if not isinstance(keys, list): keys = [keys]
@self.register_kb(*keys, filter=filter) def _(event): for method in self.kb_func_lookup[action]: method["func"](event, *method.get("args", []))
for key, item in self.kb_maps.items(): if not isinstance(item, list): item = [item] for kb in item: _factory(kb["key"], kb.get("filter", Condition(lambda: True)), key)
@abstractmethod def _set_error(self, message: str) -> None: """Set the error message for the prompt.
Args: message: Error message to set. """ pass
def _handle_skip(self, event: Optional["KeyPressEvent"]) -> None: """Handle the event when attempting to skip a prompt.
Skip the prompt if the `_mandatory` field is False, otherwise show an error message that the prompt cannot be skipped. """ if not self._mandatory: self.status["answered"] = True self.status["skipped"] = True self.status["result"] = None if event: event.app.exit(result=None) else: self._set_error(message=self._mandatory_message)
def _handle_interrupt(self, event: Optional["KeyPressEvent"]) -> None: """Handle the event when a KeyboardInterrupt signal is sent.""" self.status["answered"] = True self.status["result"] = INQUIRERPY_KEYBOARD_INTERRUPT self.status["skipped"] = True if event: event.app.exit(result=INQUIRERPY_KEYBOARD_INTERRUPT)
@abstractmethod def _handle_enter(self, event: Optional["KeyPressEvent"]) -> None: """Handle the event when user attempt to answer the question.""" pass
@property def status(self) -> Dict[str, Any]: """Dict[str, Any]: Get current prompt status.
The status contains 3 keys: "answered" and "result". answered: If the current prompt is answered. result: The result of the user answer. skipped: If the prompt is skipped. """ return self._status
@status.setter def status(self, value) -> None: self._status = value
def register_kb( self, *keys: Union[Keys, str], filter: FilterOrBool = True, **kwargs ) -> Callable[[KeyHandlerCallable], KeyHandlerCallable]: """Keybinding registration decorator.
This decorator wraps around the :meth:`prompt_toolkit.key_binding.KeyBindings.add` with added feature to process `alt` realted keybindings.
By default, `prompt_toolkit` doesn't process `alt` related keybindings, it requires `alt-ANY` to `escape` + `ANY`.
Args: keys: The keys to bind that can trigger the function. filter: :class:`~prompt_toolkit.filter.Condition` to indicate if this keybinding should be active.
Returns: A decorator that should be applied to the function thats intended to be active when the keys are pressed.
Examples: >>> @self.register_kb("alt-j") ... def test(event): ... pass """ alt_pattern = re.compile(r"^alt-(.*)")
def decorator(func: KeyHandlerCallable) -> KeyHandlerCallable: formatted_keys = [] for key in keys: match = alt_pattern.match(key) if match: formatted_keys.append("escape") formatted_keys.append(match.group(1)) else: formatted_keys.append(key)
@self._kb.add(*formatted_keys, filter=filter, **kwargs) def executable(event) -> None: func(event)
return executable
return decorator
@abstractmethod def _get_prompt_message( self, pre_answer: Tuple[str, str], post_answer: Tuple[str, str] ) -> List[Tuple[str, str]]: """Get the question message in formatted text form to display in the prompt.
This function is mainly used to render the question message dynamically based on the current status (answered or not answered) of the prompt.
Note: The function requires implementation when inheriting :class:`.BaseSimplePrompt`. You should call `super()._get_prompt_message(pre_answer, post_answer)` in the implemented `_get_prompt_message`.
Args: pre_answer: The message to display before the question is answered. post_answer: The information to display after the question is answered.
Returns: Formatted text in list of tuple format. """ display_message = [] if self.status["skipped"]: display_message.append(("class:skipped", self._qmark)) display_message.append( ("class:skipped", "%s%s " % (" " if self._qmark else "", self._message)) ) elif self.status["answered"]: display_message.append(("class:answermark", self._amark)) display_message.append( ( "class:answered_question", "%s%s" % (" " if self._amark else "", self._message), ) ) display_message.append( post_answer if not self._transformer else ( "class:answer", " %s" % self._transformer(self.status["result"]), ) ) else: display_message.append(("class:questionmark", self._qmark)) display_message.append( ( "class:question", "%s%s" % (" " if self._qmark else "", self._message), ) ) display_message.append(pre_answer) return display_message
@abstractmethod def _run(self) -> Any: """Abstractmethod to enforce a run function is implemented.
All prompt instance requires a `_run` call to initialise and run an instance of `PromptSession` or `Application`. """ pass
@abstractmethod async def _run_async(self) -> Any: """Abstractmethod to enforce a run function is implemented.
All prompt instance requires a `_run_async` call to initialise and run an instance of `PromptSession` or `Application`. """ pass
def execute(self, raise_keyboard_interrupt: Optional[bool] = None) -> Any: """Run the prompt and get the result.
Args: raise_keyboard_interrupt: **Deprecated**. Set this parameter on the prompt initialisation instead.
Returns: Value of the user answer. Types varies depending on the prompt.
Raises: KeyboardInterrupt: When `ctrl-c` is pressed and `raise_keyboard_interrupt` is True. """ result = self._run() if raise_keyboard_interrupt is not None: self._raise_kbi = not os.getenv( "INQUIRERPY_NO_RAISE_KBI", not raise_keyboard_interrupt ) if result == INQUIRERPY_KEYBOARD_INTERRUPT: raise KeyboardInterrupt if not self._filter: return result return self._filter(result)
async def execute_async(self) -> None: """Run the prompt asynchronously and get the result.
Returns: Value of the user answer. Types varies depending on the prompt.
Raises: KeyboardInterrupt: When `ctrl-c` is pressed and `raise_keyboard_interrupt` is True. """ result = await self._run_async() if result == INQUIRERPY_KEYBOARD_INTERRUPT: raise KeyboardInterrupt if not self._filter: return result return self._filter(result)
@property def instruction(self) -> str: """str: Instruction to display next to question.""" return self._instruction
@property def kb_maps(self) -> Dict[str, Any]: """Dict[str, Any]: Keybinding mappings.""" return self._kb_maps
@kb_maps.setter def kb_maps(self, value: Dict[str, Any]) -> None: self._kb_maps = {**self._kb_maps, **value}
@property def kb_func_lookup(self) -> Dict[str, Any]: """Dict[str, Any]: Keybinding function lookup mappings..""" return self._kb_func_lookup
@kb_func_lookup.setter def kb_func_lookup(self, value: Dict[str, Any]) -> None: self._kb_func_lookup = {**self._kb_func_lookup, **value}1from .spinner import SpinnerWindow1234567891011121314151617181920212223242526272829303132333435363738"""Module contains :class:`.InstructionWindow` which can be used to display long instructions."""
from typing import TYPE_CHECKING
from prompt_toolkit.layout.containers import ConditionalContainer, Windowfrom prompt_toolkit.layout.controls import FormattedTextControl
if TYPE_CHECKING: from prompt_toolkit.filters.base import FilterOrBool from prompt_toolkit.formatted_text.base import AnyFormattedText
class InstructionWindow(ConditionalContainer): """Conditional `prompt_toolkit` :class:`~prompt_toolkit.layout.Window` that displays long instructions.
Args: message: Long instructions to display. filter: Condition to display the instruction window. """
def __init__(self, message: str, filter: "FilterOrBool", **kwargs) -> None: self._message = message super().__init__( Window( FormattedTextControl(text=self._get_message), dont_extend_height=True, **kwargs ), filter=filter, )
def _get_message(self) -> "AnyFormattedText": """Get long instruction to display.
Returns: FormattedText in list of tuple format. """ return [("class:long_instruction", self._message)].gitattributes+31
README.mdAdded+86
added_tokens.jsonAdded+1611
config.jsonAdded+50
generation_config.jsonAdded+258
merges.txtAdded
model.safetensorsAdded+3
normalizer.jsonAdded+1742
preprocessor_config.jsonAdded+14
special_tokens_map.jsonAdded+139
tokenizer_config.jsonAdded
venv/bin/Activate.ps1Added+247
venv/bin/activateAdded+69
venv/bin/activate.cshAdded+26
venv/bin/activate.fishAdded+69
venv/bin/huggingface-cliAdded+8
venv/bin/normalizerAdded+8
venv/bin/pipAdded+8
venv/bin/pip3Added+8
venv/bin/pip3.11Added+8
venv/bin/pythonAdded+3
venv/bin/python3Added+3
venv/bin/python3.11Added+3
venv/bin/tqdmAdded+8
venv/lib/python3.11/site-packages/InquirerPy/__init__.pyAdded+2
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/__init__.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/enum.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/exceptions.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/inquirer.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/resolver.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/separator.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/utils.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/__pycache__/validator.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/__init__.pyAdded+15
venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/__init__.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/complex.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/control.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/list.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/__pycache__/simple.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/base/complex.pyAdded+294
venv/lib/python3.11/site-packages/InquirerPy/base/control.pyAdded+227
venv/lib/python3.11/site-packages/InquirerPy/base/list.pyAdded+238
venv/lib/python3.11/site-packages/InquirerPy/base/simple.pyAdded+378
venv/lib/python3.11/site-packages/InquirerPy/containers/__init__.pyAdded+1
venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/__init__.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/instruction.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/message.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/spinner.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/containers/__pycache__/validation.cpython-311.pycAdded
venv/lib/python3.11/site-packages/InquirerPy/containers/instruction.pyAdded+38