Arc Forumnew | comments | leaders | submitlogin
1 point by fallintothis 5915 days ago | link | parent

Not really. It's a simple regexp that Norvig uses.

Python:

  def words(text): return re.findall('[a-z]+', text.lower())
Arc:

  (def words (text) (tokens (downcase text) [~<= #\a _ #\z]))