我可以用滚雪球做这个代码 python 吗?

Can i do this code python with snowball?

单词长度为5,我要删除位置0的字母和位置3的字母

和 python 看起来像这样:

word = word[1:3] + word[4] #this is with python

问题是,我怎样才能用雪球做到这一点?

也许解决方案是这样的:

do(
    [substring] among (
            $p1 ($word_len == 5 delete)
      )
      markto $p2
      [substring] among (

            'cha' (atmark==$p2 delete)
      )
  )