Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The word length is 5. I want to delete the letter in position 0 and the letter in position 3
with python seems like this :
word = word[1:3] + word[4] #this is with python
The question is, How i can do it with snowball ?
也许解决方案看起来像这样:
do( [substring] among ( $p1 ($word_len == 5 delete) ) markto $p2 [substring] among ( 'cha' (atmark==$p2 delete) ) )