// Check that the Address search element hasn't been found yet, because we need only the first instance
~Parties.Address,
// Get the Organization search element and the next party keyword search element. They were found before Address
t1 : Parties.Organization,
t2 : kw_PreNextParty
// 尋找包含一個 NERAddress 命名實體的標記序列
// (「same」關鍵字指定如果有多個 NERAddress 時,只應匹配一個)
// 地址應位於組織名稱之後和下一個當事方關鍵字之前
// + 符號表示標記序列可能由多個詞彙組成
// 結尾的 ~@Parties.Address 條件確保
// 地址不會在相同的標記上再次匹配
[ t: @NERAddress( same, right_to( t1 ), left_to( t2 ) ) ~@Parties.Address ]+
=>
Parties.Address( t );