[請益] 請問如何適當根據中文長度抓出對應的英 …
related to 9462
感謝大家的幫忙, 現在已經可以判斷網頁的文字是否為中文字,
以下列為例:
Kaohsiung City Mayor Chen Chu (陳菊) looks set to represent the Democratic
Progressive Party (DPP) in November's Greater Kaohsiung elections after her
big win in the party's polls yesterday.
Internal party polls released by the DPP showed Chen currently enjoys 59
percent support among Kaohsiung area voters, compared with 41 percent for
Kaohsiung County Commissioner Yang Chiu-hsing (楊秋興).
Both had been vying for the DPP's nomination in the soon-to-be merged
municipality for the year-end special municipality elections, a key race seen
as a precursor to the 2012 presidential elections.
通常中文字都是在括號裡, 但是要抓括號前面的英文字, 有時人名是二個字,
有時是三個字,請問這樣要怎樣確切抓出正且的中文翻譯呢
ps. 有時新聞文章會有機構的名稱, 就沒辦法人名最多三個字的方法來辨別了
output exapmle: Yang Chiu-hsing 楊秋興
謝謝大家
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.109.21.196
※ 編輯: danielkimo 來自: 140.109.21.196 (05/06 10:03)
推
05/06 10:18, , 1F
05/06 10:18, 1F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章