X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=slides%2Fword-segmentation.html;fp=slides%2Fword-segmentation.html;h=9c3b3092babc6ba5770692c391c193d2d9e39446;hb=f188487662ef9e05affeb653134ca1a6b3e05dd6;hp=6215255ca3c4825937d0d1177e4a54b64bce6b23;hpb=2def5210d568279bb38890c2de282e171f4ff7dd;p=cipher-training.git diff --git a/slides/word-segmentation.html b/slides/word-segmentation.html index 6215255..9c3b309 100644 --- a/slides/word-segmentation.html +++ b/slides/word-segmentation.html @@ -149,9 +149,9 @@ def Pwords(words): ```python >>> 'hello' in Pw.keys() >>> Pwords(['hello']) True -4.25147684171819 ->>> 'inigo' in Pw.keys() >>> Pwords(['hello', 'my']) +>>> 'inigo' in Pw >>> Pwords(['hello', 'my']) True -6.995724679281423 ->>> 'blj' in Pw.keys() >>> Pwords(['hello', 'my', 'name']) +>>> 'blj' in Pw >>> Pwords(['hello', 'my', 'name']) False -10.098177451501074 >>> Pw['hello'] >>> Pwords(['hello', 'my', 'name', 'is']) -4.25147684171819 -12.195018236240843