Results 1 to 6 of 6

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Aug:2006
    Location: Bulgaria/Sofia
    Posts: 5

    ,

    3 ( ):
    . perl ( ), - ( 2 30 ), / . ( "" "v" "w", "" "ia","ja","q","ya" .. )
    :
    : ""
    : "darvenica", "darvenitsa","darvenitza","darwenica","d arwenitsa","darwenitza","dyrvenica","dyr venitsa","dyrvenitza","dyrwenica","dyrwe nitsa","dyrvenitza"...

    :
    , ( - lc), , ASCII switch "1072" "a" .
    .
    :
    "" -w,v"
    "" - "zh,j,g"
    "" - "j,i"
    "" - "ch,4"
    "" - "sh,6"
    "" - "sht,6t"
    "" - "y,a,u"
    "" - "ju,iu.yu"
    "" - "q,ja,ia,ya"
    - ? ?
    ,

  2. #2
    Registered User
    Join Date: May:2008
    Location: bguddd
    Posts: 108
    , , .

  3. #3
    Registered User
    Join Date: Aug:2006
    Location: Bulgaria/Sofia
    Posts: 5
    "" 3
    for y=1..3 ( y=1 ="y", y=2 ="a", y=3 ="u")
    for v=1..2 (v=1 ""=v, v=2 ""=w)
    for zh=1..3 (zh=1 ""=zh, zh=2 ""=j "zh=3 =g)

  4. #4
    System.gc()'s Avatar
    Join Date: Apr:2007
    Location: back in time
    Posts: 1,075
    , mapping- ...map char (, '' -> ['sht', '6t'])? , map- char value- .
    :

    Code:
    ...
    for (i = 0; i < string.length(); i++):
        ch = string.charAt(i);
        array = map.get(ch);
        for value in array:
            ...
    UD3R|Q9550+1283|4x2 G.Skill@1066|MX500+1002FAEX+640AAKS+ST31 60|RX580-8GB|1841BLT|SS-760XP|Define7|z24i|Edifier S350DB
    geniusloci: ) ; ) ; ) ? nope|r.i.p.

  5. #5
    Registered User
    Join Date: Aug:2006
    Location: Bulgaria/Sofia
    Posts: 5
    "" , ""
    :
    10 ( )
    Code:
     =  {'v','w'}
     = {'zh', 'j', 'g'}
     =  {'i', 'j'}
     =  {'c', 'ts', 'tz'}
     =  {'ch','4'}
     = {'sh', '6'}
     = {'sht', '6t'} 
     = {'y', 'u', 'a'}
     = {'iu', ''ju', 'yu'}
     = {'q', 'ia', 'ja', 'ya'}
    (- - ) N :
    "" - N=2 - '' ''
    '' 2 , '' = 3
    '' ''
    for - ''
    for - ''
    - shty, shtu, shta, 6ty, 6tu, 6ta ( - , )
    N 2 2
    N<=10 ( - N=1,2,3,4,5,6,7,8,9,10, )?
    .

  6. #6
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    - .
    :

    Code:
    def generator(bg_str, english_str, index):
    	if index >= bg_str.length():
    		print english_str
    		return
    	cur_char = bg_str[index]
    	for replacement in mappings[cur_char]:
    		generator(bg_str, english_str + replacement, index+1)

    Code:
    generator("", "", 0);
    , map- mappings - .. 'a' => {""}, '' => {"t"}, '' => {"ia", "ja", "ya", "q" } ..
    Btw, ( , , , ) - .
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |