I could not comprehend why LuceneNGram.class as feature is necessary in your demo examples (MekaReutersDemoSimpleDkproReader, MekaSaveAndApplyModelMultilabelDemo).
And what do I have to do if I don't want to use LuceneNGram.class as feature?
best regards
Hi,
what do you mean with “necessary”? The LuceneNGram feature is not strictly necessary, but it makes sense to include it (it extract ngrams – uni-, bi, and trigrams).
If you don’t want to use a feature, just delete the respective TcFeatureFactory.create(FEATURE_NAME.class, …) – e.g. lines 111ff in the latest version of MekaReutersDemoSimpleDkproReader.
Best,
Johannes
Am 17.01.17, 20:57 schrieb "cherepanov.ic via dkpro-tc-users" <dkpro-tc-users@googlegroups.com>:
Hello,
I could not comprehend why LuceneNGram.class as feature is necessary in your demo examples (MekaReutersDemoSimpleDkproReader, MekaSaveAndApplyModelMultilabelDemo).
And what do I have to do if I don't want to use LuceneNGram.class as feature?
best regards
--
You received this message because you are subscribed to the Google Groups "dkpro-tc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dkpro-tc-users+unsubscribe@googlegroups.com.
Hi,
thanks for spotting this. The NPE was indeed thrown erroneous here. Reason: feature selection was activated (dimFeatureSelection), but after deleting ngrams fewer features than the filter should keep were available.
This of course shouldn’t result in an exception. Already provided committed a fix.
Best,
Johannes
Am 17.01.17, 20:57 schrieb "cherepanov.ic via dkpro-tc-users" <dkpro-t...@googlegroups.com>:
Hello,
I could not comprehend why LuceneNGram.class as feature is necessary in your demo examples (MekaReutersDemoSimpleDkproReader, MekaSaveAndApplyModelMultilabelDemo).
And what do I have to do if I don't want to use LuceneNGram.class as feature?
best regards
--
You received this message because you are subscribed to the Google Groups "dkpro-tc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dkpro-tc-user...@googlegroups.com.
Hi,
thanks for spotting this. The NPE was indeed thrown erroneous here. Reason: feature selection was activated (dimFeatureSelection), but after deleting ngrams fewer features than the filter should keep were available.
Am 17.01.17, 20:57 schrieb "cherepanov.ic via dkpro-tc-users" <dkpro-tc-users@googlegroups.com>:
Hello,
I could not comprehend why LuceneNGram.class as feature is necessary in your demo examples (MekaReutersDemoSimpleDkproReader, MekaSaveAndApplyModelMultilabelDemo).
And what do I have to do if I don't want to use LuceneNGram.class as feature?
best regards
--
You received this message because you are subscribed to the Google Groups "dkpro-tc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dkpro-tc-users+unsubscribe@googlegroups.com.