• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Words of Bug in Leopard (Japanese environment)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Words of Bug in Leopard (Japanese environment)


  • Subject: Re: Words of Bug in Leopard (Japanese environment)
  • From: Timothy Bates <email@hidden>
  • Date: Sat, 9 Aug 2008 09:08:54 +0100

seems about as good as you'd expect without "natural intelligence"
AppleScript Runner

PNG image


{"It", "is", "a", "nice", "Joke", "I", "am", "laughing", "out", "loud", "AppleScript's", "word", "breaking", "ability", "for", "natural", "language", "It", "is", "useless", "for", "parsing", "with", "natural", "language"}
Program terminated.




On 9 Aug 2008, at 2:56 AM, Takaaki Naganoya wrote:

It is a nice Joke!   I am laughing out loud.
AppleScript's word breaking ability for *natural* language ?
It is useless for parsing with "natural language".

I don't expect natural language parsing ability to AppleScript.

Japanese word breaking?

<AppleScript>
set a to "富士山は日本で一番高い山です。"
set b to words of a
</AppleScript>

--> {"富士山", "は", "日本", "で", "一番高", "い", "山", "です"}

It is crazy and useless *word* breaking. We thought word breaking ablitity in AppleScript is a kind of joke.

On 2008/08/06, at 15:20, Christopher Nebel wrote:

Basically, don't use "word" elements to process anything other than natural language text. In your case, you probably want text items breaking on ":". Alternatively, you could set your word break preference (System Preferences > International > Language > Word break) to "English (United States, Computer)", which always treats ":" as a word break, but that would probably do horrible things to your Japanese word breaking.

-- Takaaki Naganoya Piyomaru Software http://piyo.piyocast.com email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Words of Bug in Leopard (Japanese environment) (From: Takaaki Naganoya <email@hidden>)
 >Re: Words of Bug in Leopard (Japanese environment) (From: Christopher Nebel <email@hidden>)
 >Re: Words of Bug in Leopard (Japanese environment) (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Next by Date: Dock icon when running AppleScript in auxiliary executable
  • Previous by thread: Re: Words of Bug in Leopard (Japanese environment)
  • Next by thread: Re: Words of Bug in Leopard (Japanese environment)
  • Index(es):
    • Date
    • Thread