Description Usage Arguments Value Author(s) See Also Examples
View source: R/levenshtein.damerau.neighbors.R
List the neighbors of a character string by Levenshtein-Damerau distance.
1 | levenshtein.damerau.neighbors(xsource, targets)
|
xsource |
A character string. |
targets |
Potential neighbors. Must be of type |
A list of neighbors at each distance.
Emmanuel Keuleers
1 2 | data(serbian_latin.words)
levenshtein.neighbors('pola',serbian_latin.words)[1:2]
|
Loading required package: stringdist
sh: 1: cannot create /dev/null: Permission denied
sh: 1: wc: Permission denied
Could not detect number of cores, defaulting to 1.
Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer
[[1]]
[1] "bola" "cola" "dola" "gola" "hola"
[6] "kola" "lola" "mola" "opola" "pala"
[11] "pela" "pila" "poda" "podla" "poja"
[16] "pokla" "pol" "polak" "polda" "pole"
[21] "poli" "polja" "polka" "polu" "popa"
[26] "pora" "posla" "pota" "poza" "po<U+0161>la"
[31] "prla" "pula" "rola" "sola" "spola"
[36] "upola" "vola" "zola"
[[2]]
[1] "ala" "apela" "bala" "bela" "bila"
[6] "biola" "boa" "boba" "boca" "boda"
[11] "boga" "boja" "boka" "bol" "bolan"
[16] "bole" "boli" "bolja" "bolna" "bolo"
[21] "bolu" "bona" "bora" "bosa" "bova"
[26] "boza" "bo<U+010D>a" "bo<U+017E>a" "bula" "cela"
[31] "cipola" "cokla" "col" "coli" "dala"
[36] "dela" "dila" "doba" "doca" "doda"
[41] "doga" "doka" "dol" "dolac" "dolar"
[46] "dole" "doli" "dolja" "dolu" "doma"
[51] "dona" "dopola" "doza" "do<U+0161>a" "do<U+0161>la"
[56] "eoka" "epoha" "eposa" "fala" "fela"
[61] "foka" "fora" "fo<U+010D>a" "goda" "goha"
[66] "goja" "gol" "gola<U+0107>" "gole" "goli"
[71] "golja" "golo" "golu" "gora" "gota"
[76] "go<U+010D>a" "go<U+0161>a" "grla" "hala" "hoda"
[81] "holo" "holu" "hora" "hula" "idola"
[86] "igla" "ila" "iole" "iora" "i<U+0161>la"
[91] "jela" "joda" "joga" "joha" "joka"
[96] "jole" "jona" "jota" "jova" "jula"
[101] "kala" "kila" "koca" "koda" "kofa"
[106] "koga" "koja" "koka" "kol" "kolac"
[111] "kolak" "kolan" "kolar" "kola<U+010D>" "kolba"
[116] "kolca" "kole" "kolja" "kolo" "kols"
[121] "kolu" "koma" "kona" "kopa" "kora"
[126] "kosa" "kota" "kotla" "kova" "koza"
[131] "ko<U+010D>a" "ko<U+0161>a" "ko<U+017E>a" "kula" "kupola"
[136] "lala" "lela" "lila" "loga" "loja"
[141] "lole" "loli" "loma" "lova" "loza"
[146] "lo<U+0111>a" "lo<U+0161>a" "lo<U+017E>a" "lula" "mala"
[151] "mela" "mila" "moba" "moda" "moga"
[156] "mogla" "moja" "moka" "mol" "molba"
[161] "mole" "molea" "moli" "molo" "molu"
[166] "moma" "mora" "mota" "mo<U+0161>a" "napola"
[171] "nila" "noa" "noga" "noja" "nona"
[176] "nora" "nosa" "nota" "nova" "no<U+0107>a"
[181] "no<U+017E>a" "nula" "oba" "obla" "obola"
[186] "oca" "oda" "oha" "ohola" "oka"
[191] "okola" "olga" "oli" "ona" "opala"
[196] "opela" "opila" "opora" "opova" "ora"
[201] "orla" "osa" "otpola" "ova" "pa"
[206] "paca" "pada" "paja" "pakla" "palac"
[211] "palas" "palca" "pale" "pali" "palma"
[216] "palo" "palu" "pana" "paoli" "paolo"
[221] "paora" "papa" "para" "parola" "pasa"
[226] "paula" "pavla" "pa<U+0161>a" "peca" "pega"
[231] "pegla" "peka" "pekla" "pele" "peli"
[236] "pelo" "pena" "pera" "perla" "peta"
[241] "petla" "peva" "pe<U+0107>a" "pika" "pil"
[246] "pilad" "pilar" "pile" "pili" "pilo"
[251] "pilu" "pipa" "pira" "pisla" "pita"
[256] "piva" "pi<U+0107>a" "plac" "plah" "plam"
[261] "plan" "plav" "plaz" "pla<U+010D>" "plela"
[266] "ploda" "ploha" "plota" "plo<U+010D>a" "po"
[271] "pobi" "pobila" "pobo" "pobra" "pod"
[276] "podaj" "podal" "podala" "podela" "podlac"
[281] "podle" "podli" "podlo" "podlu" "podna"
[286] "podu" "poema" "poen" "poena" "poet"
[291] "poeta" "pogan" "poj" "pojac" "pojala"
[296] "pojam" "pojao" "pojas" "poje" "pojela"
[301] "poji" "pojila" "pojma" "poju" "pokala"
[306] "poklao" "polako" "polaku" "polara" "polaze"
[311] "polazi" "pola<U+017E>e" "pola<U+017E>u" "poldan" "polen"
[316] "polet" "poleta" "polica" "polila" "polima"
[321] "polio" "polip" "polipa" "polisa" "poliva"
[326] "poli<U+0107>" "poli<U+0107>a" "poljak" "poljar" "polje"
[331] "polju" "polku" "pologa" "poloma" "polova"
[336] "poluga" "polzu" "pomela" "ponad" "ponela"
[341] "pop" "popac" "popaj" "popala" "popca"
[346] "pope" "popela" "popi" "popila" "poplat"
[351] "poplav" "popu" "poraz" "pore" "pori"
[356] "poru" "posal" "posan" "posao" "poslah"
[361] "poslan" "poslao" "poslat" "posle" "poslo"
[366] "poslu" "posna" "poso" "post" "posta"
[371] "posu" "posula" "pot" "potan" "pote"
[376] "poti" "potka" "potna" "potola" "potu"
[381] "pouka" "povela" "povi" "povila" "poze"
[386] "pozi" "pozna" "pozu" "pozva" "po<U+0107>"
[391] "po<U+0107>i" "po<U+010D>e" "po<U+010D>ela" "po<U+010D>i" "po<U+010D>o"
[396] "po<U+0111>e" "po<U+0111>i" "po<U+0111>u" "po<U+0161>" "po<U+0161>ao"
[401] "po<U+0161>le" "po<U+0161>li" "po<U+0161>lo" "po<U+0161>lu" "po<U+0161>o"
[406] "po<U+0161>ta" "po<U+017E>ar" "po<U+017E>ela" "prala" "prela"
[411] "prlja" "proba" "proda" "proja" "prolaz"
[416] "proli" "propa" "prosa" "prota" "proza"
[421] "pro<U+0161>la" "prsa" "prsla" "prva" "psa"
[426] "puca" "puda" "pudla" "puka" "pukla"
[431] "pule" "puli" "pulja" "puls" "pulsa"
[436] "pult" "puna" "pupa" "pura" "puta"
[441] "pu<U+010D>a" "pu<U+017E>a" "p<U+010D>ela" "rala" "rila"
[446] "roba" "roda" "roga" "roka" "role"
[451] "roli" "rolu" "roma" "rosa" "rova"
[456] "roza" "sala" "sela" "sila" "smola"
[461] "soba" "soda" "sofa" "soja" "soka"
[466] "sokla" "sol" "sole" "soli" "solo"
[471] "soma" "sopa" "sosa" "sova" "so<U+010D>a"
[476] "spala" "spoja" "spol" "spolja" "spona"
[481] "spora" "stola" "sula" "tala" "tela"
[486] "tila" "tla" "toga" "toka" "tole"
[491] "toli" "tolka" "toma" "tona" "topa"
[496] "topla" "topola" "tora" "tota" "trla"
[501] "trola" "ugla" "upala" "upila" "urla"
[506] "u<U+0161>la" "vala" "vela" "vila" "viola"
[511] "voda" "voja" "vol" "volan" "vole"
[516] "volf" "volga" "voli" "volja" "volo"
[521] "volta" "volu" "vosa" "voza" "vo<U+0107>a"
[526] "vo<U+0111>a" "vula" "zala" "zla" "zoba"
[531] "zole" "zoli" "zolu" "zona" "zora"
[536] "zova" "<U+010D>ela" "<U+010D>ila" "<U+010D>ula" "<U+0110>ole"
[541] "<U+0111>ula" "<U+0160>ota" "<U+0161>ala" "<U+0161>ila" "<U+0161>kola"
[546] "<U+0161>oka" "<U+0161>olda" "<U+0161>olja" "<U+0161>ora" "<U+017E>ala"
[551] "<U+017E>ela" "<U+017E>ila"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.