You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2010/11/08 09:39:10 UTC
[jira] Created: (TIKA-546) Add ability to create language profiles
to tika-app
Add ability to create language profiles to tika-app
---------------------------------------------------
Key: TIKA-546
URL: https://issues.apache.org/jira/browse/TIKA-546
Project: Tika
Issue Type: New Feature
Components: cli, languageidentifier
Affects Versions: 0.7
Reporter: Jan Høydahl
Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
# See http://wiki.apache.org/nutch/LanguageIdentifier
# java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by Oleg Tikhonov <ol...@gmail.com>.
Yes, it's resolved, need to change the status.
2011/9/18 Jan Høydahl (JIRA) <ji...@apache.org>
>
> [
> https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107290#comment-13107290]
>
> Jan Høydahl commented on TIKA-546:
> ----------------------------------
>
> What's the state of this issue? It says "unresolved" but something is
> committed?
>
> > Add ability to create language profiles to tika-app
> > ---------------------------------------------------
> >
> > Key: TIKA-546
> > URL: https://issues.apache.org/jira/browse/TIKA-546
> > Project: Tika
> > Issue Type: New Feature
> > Components: cli, languageidentifier
> > Affects Versions: 0.7
> > Reporter: Jan Høydahl
> > Assignee: Chris A. Mattmann
> > Attachments: TIKA-546.tikhonov.18042011.PATCH
> >
> >
> > Since TIKA-490 it is supposed to be easy adding new language profiles to
> TIKA. However, currently the process involves using Nutch's NGramProfile
> tool and editing the output.
> > We should port Nutch's profile builder to Tika and make it part of
> tika-app.jar:
> > # See http://wiki.apache.org/nutch/LanguageIdentifier
> > # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...]
> [--maxlines=<max>] <profile-name> <filename> <encoding>
> > Using --gramsizes and --maxlines, we could support both Tika-style
> profiles and Nutch-style profiles and thus deprecate the Nutch tool.
> Defaults should be --gramsizes=3 --maxlines=1000
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
Re: [jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
+1 to looking at how we can leverage Nutch code. If there is an active community in Tika maintaining language profiles, then let's manage it in Tika (which was one of its original goals). Then Nutch can continue to be a consumer of such functionality and move to the Nutch2 delegator architecture we've been working in Nutch towards.
Cheers,
Chris
On Apr 14, 2011, at 7:16 AM, Oleg Tikhonov wrote:
> Sami,
> Chris and me, some time ago did that for developerWorks tutorial, the
> "clean" code exist, although may be out of day.
> I thought, is it good idea to use Nutch code inside Tika? Might be Nutch
> guys could extend it as independent module?
>
>
>
> On Thu, Apr 14, 2011 at 3:01 PM, Sami Siren (JIRA) <ji...@apache.org> wrote:
>
>>
>> [
>> https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019793#comment-13019793]
>>
>> Sami Siren commented on TIKA-546:
>> ---------------------------------
>>
>> bq. Do we build the "LanguageProfilerBuilder" from Nutch code here locally
>> and ship it as binary package/library or as part of mvn install task/ ant
>> task?
>>
>> I would just do what Jan suggested = get the relevant source files from
>> Nutch, modify them as needed (like remove dependencies etc) and commit this
>> into Tika svn repository.
>>
>>
>>
>>> Add ability to create language profiles to tika-app
>>> ---------------------------------------------------
>>>
>>> Key: TIKA-546
>>> URL: https://issues.apache.org/jira/browse/TIKA-546
>>> Project: Tika
>>> Issue Type: New Feature
>>> Components: cli, languageidentifier
>>> Affects Versions: 0.7
>>> Reporter: Jan Høydahl
>>>
>>> Since TIKA-490 it is supposed to be easy adding new language profiles to
>> TIKA. However, currently the process involves using Nutch's NGramProfile
>> tool and editing the output.
>>> We should port Nutch's profile builder to Tika and make it part of
>> tika-app.jar:
>>> # See http://wiki.apache.org/nutch/LanguageIdentifier
>>> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...]
>> [--maxlines=<max>] <profile-name> <filename> <encoding>
>>> Using --gramsizes and --maxlines, we could support both Tika-style
>> profiles and Nutch-style profiles and thus deprecate the Nutch tool.
>> Defaults should be --gramsizes=3 --maxlines=1000
>>
>> --
>> This message is automatically generated by JIRA.
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: [jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by Oleg Tikhonov <ol...@apache.org>.
Sami,
Chris and me, some time ago did that for developerWorks tutorial, the
"clean" code exist, although may be out of day.
I thought, is it good idea to use Nutch code inside Tika? Might be Nutch
guys could extend it as independent module?
On Thu, Apr 14, 2011 at 3:01 PM, Sami Siren (JIRA) <ji...@apache.org> wrote:
>
> [
> https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019793#comment-13019793]
>
> Sami Siren commented on TIKA-546:
> ---------------------------------
>
> bq. Do we build the "LanguageProfilerBuilder" from Nutch code here locally
> and ship it as binary package/library or as part of mvn install task/ ant
> task?
>
> I would just do what Jan suggested = get the relevant source files from
> Nutch, modify them as needed (like remove dependencies etc) and commit this
> into Tika svn repository.
>
>
>
> > Add ability to create language profiles to tika-app
> > ---------------------------------------------------
> >
> > Key: TIKA-546
> > URL: https://issues.apache.org/jira/browse/TIKA-546
> > Project: Tika
> > Issue Type: New Feature
> > Components: cli, languageidentifier
> > Affects Versions: 0.7
> > Reporter: Jan Høydahl
> >
> > Since TIKA-490 it is supposed to be easy adding new language profiles to
> TIKA. However, currently the process involves using Nutch's NGramProfile
> tool and editing the output.
> > We should port Nutch's profile builder to Tika and make it part of
> tika-app.jar:
> > # See http://wiki.apache.org/nutch/LanguageIdentifier
> > # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...]
> [--maxlines=<max>] <profile-name> <filename> <encoding>
> > Using --gramsizes and --maxlines, we could support both Tika-style
> profiles and Nutch-style profiles and thus deprecate the Nutch tool.
> Defaults should be --gramsizes=3 --maxlines=1000
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
[jira] [Updated] (TIKA-546) Add ability to create language profiles
to tika-app
Posted by "Oleg Tikhonov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Tikhonov updated TIKA-546:
-------------------------------
Attachment: TIKA-546.tikhonov.18042011.PATCH
1. Added NGramProfile
2. Added an option into TikaCLI - --createProfile, default values: gramsize = 3. maxlines = 1000. Currently there is no option to change them, 'cause LanguageProfile implementation.
4. Added NGramProfileTest
5. Added TikaCLI test
Could anybody have a look at the patch?
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044545#comment-13044545 ]
Chris A. Mattmann commented on TIKA-546:
----------------------------------------
I'll take a crack at this.
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Oleg Tikhonov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019784#comment-13019784 ]
Oleg Tikhonov commented on TIKA-546:
------------------------------------
I would like to discuss here a little bit. What is an appropriate way to do it? Do we build the "LanguageProfilerBuilder" from Nutch code here locally and ship it as binary package/library or as part of mvn install task/ ant task? Nutch Language package by itself depends on other libraries.
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107290#comment-13107290 ]
Jan Høydahl commented on TIKA-546:
----------------------------------
What's the state of this issue? It says "unresolved" but something is committed?
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019793#comment-13019793 ]
Sami Siren commented on TIKA-546:
---------------------------------
bq. Do we build the "LanguageProfilerBuilder" from Nutch code here locally and ship it as binary package/library or as part of mvn install task/ ant task?
I would just do what Jan suggested = get the relevant source files from Nutch, modify them as needed (like remove dependencies etc) and commit this into Tika svn repository.
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved TIKA-546.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.10
I think Oleg took care of this, so I'm marking it as resolved. If not, please open another issue and link back. Thanks!
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Fix For: 0.10
>
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Joseph Vychtrle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045234#comment-13045234 ]
Joseph Vychtrle commented on TIKA-546:
--------------------------------------
Hey Chris,
have you managed to think this through ?
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Joseph Vychtrle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044464#comment-13044464 ]
Joseph Vychtrle commented on TIKA-546:
--------------------------------------
Guys is anybody going to commit the patch ? Or what is the resolution for generating language profiles via NGramProfile and adding the ngram file on the classpath + overriding properties ? Is this all that needs to be done to add a language profile? I'd commit that patch to my local copy then.
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann reassigned TIKA-546:
--------------------------------------
Assignee: Chris A. Mattmann
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Joseph Vychtrle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044476#comment-13044476 ]
Joseph Vychtrle commented on TIKA-546:
--------------------------------------
How come that NGramProfile.java is not in Tika's trunk ? Nor it is in Nutch ...
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Oleg Tikhonov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066135#comment-13066135 ]
Oleg Tikhonov commented on TIKA-546:
------------------------------------
Commited Language Profiler Builder and its test, revision 1147277. TikaCLI also changed, added the option '--create-profile. The tests also provided.
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-546) Add ability to create language
profiles to tika-app
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045247#comment-13045247 ]
Chris A. Mattmann commented on TIKA-546:
----------------------------------------
Will likely work on this later in the week, got a little bogged down...
> Add ability to create language profiles to tika-app
> ---------------------------------------------------
>
> Key: TIKA-546
> URL: https://issues.apache.org/jira/browse/TIKA-546
> Project: Tika
> Issue Type: New Feature
> Components: cli, languageidentifier
> Affects Versions: 0.7
> Reporter: Jan Høydahl
> Assignee: Chris A. Mattmann
> Attachments: TIKA-546.tikhonov.18042011.PATCH
>
>
> Since TIKA-490 it is supposed to be easy adding new language profiles to TIKA. However, currently the process involves using Nutch's NGramProfile tool and editing the output.
> We should port Nutch's profile builder to Tika and make it part of tika-app.jar:
> # See http://wiki.apache.org/nutch/LanguageIdentifier
> # java -jar tika-app.jar --create-profile [--gramsizes=<n>,<n>,...] [--maxlines=<max>] <profile-name> <filename> <encoding>
> Using --gramsizes and --maxlines, we could support both Tika-style profiles and Nutch-style profiles and thus deprecate the Nutch tool. Defaults should be --gramsizes=3 --maxlines=1000
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira