Loading ...
Sorry, an error occurred while loading the content.

12880Re: [Clip] Extracting words from a file

Expand Messages
  • Jody
    Nov 30, 2004
    • 0 Attachment
      Hi Franz

      >So far, I didn't manage to substitute the Text Statistics with a clip
      >that provides a complete list of all capitalized words
      >in a normal text file (no list). First, I tried it this way...
      >
      >:Loop
      >^!Find "[A-Z][A-Za-z\-]+" CRS
      >^!IfError Output
      >^!Set %Word%=^$GetSelection$
      >^!Append %Copy%=^%Word%^%NL%
      >^!Keyboard Right
      >^!GoTo Loop
      >
      >:Output
      >^!Toolbar New Document
      >^!InsertCode ^%Copy%
      >
      >In principle, this is doing the job. But processing a file of 500 KB
      >is lasting "hours" and ends up in an "Out of memory" message.
      >
      >Do you know any better solution?

      That is a problem with the current regular expression engine. We
      hope to have a new regular expression engine in the next
      maintenance release. I know that doesn't help now, but I thought
      I would let you know where the problem lies.

      Happy Clip'n!
      Jody

      www.clean-funnies.com, http://www.fookes.us/maillist.htm

      Subscribe: mailto:ntb-Clips-Subscribe@yahoogroups.com
      UnSubscribe: mailto:ntb-Clips-UnSubscribe@yahoogroups.com
      Options: http://groups.yahoo.com/group/ntb-clips
    • Show all 23 messages in this topic