CodePudding user response:
You want is this?
Val_test='sprouting new SOS have bosses know how in Python implementation with browser almost CTRL + f locating function, (or given a Chinese word, and then in a TXT text to find the number of occurrences of a word, no word segmentation is there a way to realize)'
Print (val_test. Count (' implementation '))
Print (val_test. Count (' in '))