{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "eba2ee81", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "No config specified, defaulting to: inspec/raw\n", "Reusing dataset inspec (/Users/boudin-f/.cache/huggingface/datasets/taln-ls2n___inspec/raw/1.0.0/0980ea60c840383eb282b6272baba681a578ed092f61438b008254c70d20f32b)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "2ad1b39fd3294bcfabe57a9acf24986e", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/1 [00:00=/](?=[{a}])\".format(a=ALPHA),\n", " ]\n", ")\n", "\n", "infix_re = compile_infix_regex(infixes)\n", "nlp.tokenizer.infix_finditer = infix_re.finditer" ] }, { "cell_type": "code", "execution_count": 4, "id": "047ab1cc", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "135b8cd19d054319a445df200d82cc65", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/100 [00:00