{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ"},{"name":"READ_DATA"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"}]},{"resourceType":"PIN","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":401828635,"authorName":"Jean-Christophe Helary","from":"Jean-Christophe Helary &lt;jean.christophe.helary@gmail.com&gt;","profile":"jc_helary","replyTo":"LIST","senderId":"2gI12dDQ_wkEGFOKa0q9uoykMrum3JrLGaDEi5WF42Z7M7Qy5O5JxR4T-D8PzpFZ8E7G5zK_PMu3AZz-rsyUbyJx3RiO9WNXCOYViHDSBPC0L14U3kvyoYacgukjnjxH","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: [OmT] Unwanted carriage returns in original text","postDate":"1244076471","msgId":14209,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PEU3RTZEM0UyLTA2M0QtNDAxNy05MTBGLUMxQTE3OTA1QkRDQUBnbWFpbC5jb20+","inReplyToHeader":"PGgwNWpkOStjNGllQGVHcm91cHMuY29tPg==","referencesHeader":"PGgwNWpkOStjNGllQGVHcm91cHMuY29tPg=="},"prevInTopic":14208,"nextInTopic":14210,"prevInTime":14208,"nextInTime":14210,"topicId":14208,"numMessagesInTopic":21,"msgSnippet":"(reply in reverse order) Greg, ... Yes, often. Here are a few suggestions. ... You can find-replace carriage returns in OOo. Use the regular expressions","rawEmail":"Return-Path: &lt;jean.christophe.helary@gmail.com&gt;\r\nX-Sender: jean.christophe.helary@gmail.com\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 55553 invoked from network); 4 Jun 2009 00:47:56 -0000\r\nX-Received: from unknown (98.137.34.44)\n  by m4.grp.sp2.yahoo.com with QMQP; 4 Jun 2009 00:47:56 -0000\r\nX-Received: from unknown (HELO rv-out-0506.google.com) (209.85.198.235)\n  by mta1.grp.sp2.yahoo.com with SMTP; 4 Jun 2009 00:47:56 -0000\r\nX-Received: by rv-out-0506.google.com with SMTP id f9so164218rvb.21\n        for &lt;OmegaT@yahoogroups.com&gt;; Wed, 03 Jun 2009 17:47:54 -0700 (PDT)\r\nX-Received: by 10.140.142.11 with SMTP id p11mr1488522rvd.234.1244076474560;\n        Wed, 03 Jun 2009 17:47:54 -0700 (PDT)\r\nReturn-Path: &lt;jean.christophe.helary@gmail.com&gt;\r\nX-Received: from ?192.168.24.51? (pl710.nas982.takamatsu.nttpc.ne.jp [124.154.42.198])\n        by mx.google.com with ESMTPS id k2sm24048620rvb.6.2009.06.03.17.47.53\n        (version=TLSv1/SSLv3 cipher=RC4-MD5);\n        Wed, 03 Jun 2009 17:47:54 -0700 (PDT)\r\nMessage-Id: &lt;E7E6D3E2-063D-4017-910F-C1A17905BDCA@gmail.com&gt;\r\nTo: OmegaT@yahoogroups.com\r\nIn-Reply-To: &lt;h05jd9+c4ie@eGroups.com&gt;\r\nContent-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes\r\nContent-Transfer-Encoding: 7bit\r\nMime-Version: 1.0 (Apple Message framework v935.3)\r\nDate: Thu, 4 Jun 2009 09:47:51 +0900\r\nReferences: &lt;h05jd9+c4ie@eGroups.com&gt;\r\nX-Mailer: Apple Mail (2.935.3)\r\nX-Originating-IP: 209.85.198.235\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: Jean-Christophe Helary &lt;jean.christophe.helary@gmail.com&gt;\r\nSubject: Re: [OmT] Unwanted carriage returns in original text\r\nX-Yahoo-Group-Post: member; u=401828635; y=BnLyDc7e6OVNM-UpYUZGOfEqAyOcNiwzgxayolA_OiRdFf2LLQ\r\nX-Yahoo-Profile: jc_helary\r\n\r\n(reply in reverse order)\n\nGreg,\n\n&gt; Has anybody had any experience with this kind of problem and how it  \n&gt; might be fixed?\n\nYes, often. Here are a few suggestions.\n\n&gt; Indeed, I can&#39;t even figure out how to do a find-and-replace in  \n&gt; OpenOffice to get rid of the unwanted carriage returns. Carriage  \n&gt; returns aren&#39;t replaceable content.\n\nYou can find-replace carriage returns in OOo. Use the regular  \nexpressions settings. You need to check the OOo help.\n\nThe problem is that depending on the PDF, there are plenty of legit  \ncarriage returns.\n\nSomething I do to get a rough OOo document from PDF is to keep all the  \ndoublet carriage returns (or line breaks), and replace all the singles  \nby a space.\n\nIn case you have a lot of tables it can become ugly quickly but other  \nwise it works relatively fine.\n\n&gt; A major problem I have is that I am copying and pasting text from a  \n&gt; PDF document to an OpenOffice document in order to use OmegaT. In  \n&gt; the process, carriage returns are being automatically inserted at  \n&gt; the end of every line of the OpenOffice document. This wreaks havoc  \n&gt; with segmentation.\n&gt;\n&gt; I can&#39;t figure out how to get OmegaT to ignore these carriage  \n&gt; returns in the segmentation rules. (And once segmentation has taken  \n&gt; place, OmegaT does not appear amenable to change).\n\n\nOnce you&#39;re done with the transformation (I suggest you do that in a  \ntext editor though, OOo it not the best choice for regexp  \nmanipulation), OmegaT should have no trouble with segmenting your text  \nproperly.\n\nThe issue here is that the carriage return creates a paragraph mark,  \nand that paragraph mark is the minimal segment marker for OmegaT.\n\n\n\n\n\nJean-Christophe Helary\n\n------------------------------------\nhttp://mac4translators.blogspot.com/\n\n\n"}}