<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic POI - Extracting text from MSWord document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123864#M87176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know what would be the way to extract a piece of text from uploaded MS Word document. This information is to be used as metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's easy to extract some text from Word using POI using HWPFDocument present in POI version 3.0+ (poi-scratchpad-3.0.1-FINAL-20070705.jar). Unfortunately, POI hasn't been updated in Alfresco-2.1, and is still POI-2.5.1 without extra lib. I cannot upgrade with scratchpad which depends on POI-3.0+ (if I'm right).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot read content from any MS Word file with the present configuration.&amp;nbsp; Do you have a workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 15:26:26 GMT</pubDate>
    <dc:creator>stebans</dc:creator>
    <dc:date>2007-08-27T15:26:26Z</dc:date>
    <item>
      <title>POI - Extracting text from MSWord document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123864#M87176</link>
      <description>Hi, I would like to know what would be the way to extract a piece of text from uploaded MS Word document. This information is to be used as metadata.It's easy to extract some text from Word using POI using HWPFDocument present in POI version 3.0+ (poi-scratchpad-3.0.1-FINAL-20070705.jar). Unfortunat</description>
      <pubDate>Mon, 27 Aug 2007 15:26:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123864#M87176</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-08-27T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: POI - Extracting text from MSWord document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123865#M87177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We will upgrade POI in a future version - it's on the list but not at the top &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use the text-mining jar library &lt;/SPAN&gt;&lt;A href="http://www.textmining.org/TextMining" rel="nofollow noopener noreferrer"&gt;http://www.textmining.org/TextMining&lt;/A&gt;&lt;SPAN&gt; to successfully extract text from MS Word files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the source for the class org.alfresco.repo.content.transform.TextMiningContentTransformer for a very simple example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 15:54:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123865#M87177</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-09-03T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: POI - Extracting text from MSWord document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123866#M87178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Kevin. I may use textmining instead of poi for content extraction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 08:50:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123866#M87178</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-09-11T08:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: POI - Extracting text from MSWord document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123867#M87179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found some words somewhere in the forums that Alfresco can be configured to use OpenOffice in order to make MSWord -&amp;gt; Text transformation in order to do Full Text Indexing of Microsoft Word Files. I have done an exhaustive search all over the web but didn't find an example how to do this configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that for the moment TextMining library is used to do .DOC to .TXT conversion, for specific actions and also for preparing text files for FTS indexing with Lucene.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have a MS Word file that cannot be fully indexed. More words from the end of the document cannot be found with Lucene search query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have transformed the .DOC to a TXT file (using Run Action "Transform and copy to destination") and found that the .TXT file is truncated, 25% of the file (from the end) is missing, so it's obviously why those words cannot be found in Lucene query TEXT search. I'm guessing that TextMining library is the problem. Make some test with POI 3.5 beta4-20081128 library and the text was extracted just perfect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have filed a bug in JIRA ( ALFCOM-2527 ) waiting for a sollution but until then, my question is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Is there any chance to configure Alfresco to use OpenOffice in order to convert .DOC files to .TXT instead of TextMiningContentTransformer ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco 3.0 Stable , OpenSUSE 11.1 i586 , 32 bit , Pentium IV 2 Gb machine , SUN Java(TM) SE Runtime Environment (build 1.6.0_11-b03).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Teo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 20:35:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poi-extracting-text-from-msword-document/m-p/123867#M87179</guid>
      <dc:creator>brailateo</dc:creator>
      <dc:date>2009-01-23T20:35:53Z</dc:date>
    </item>
  </channel>
</rss>

