Now I use CountVectorizerto extract functions. However, I need to count words that were not visible during installation.
CountVectorizer
During conversion, the default behavior CountVectorizeris to ignore words that were not followed during installation. But I need to remember how many times this happens!
How can i do this?
Thank!
There is no built-in training method in scikit-in-build, you need to write additional code to do this. However, you can use the attribute to achieve this vocabulary_ CountVectorizer.
vocabulary_
Source: https://habr.com/ru/post/1658757/More articles:How is it that I can initialize such a pointer? - goReading the contents of a third-party Qt application for Windows - pythonHow to make type 5 UUID in Java? - javaHow to click on telegram contacts menu with Pywinauto - pythonthis Java UUID5 implementation fails unit test - javaSwift Replacing a variable value with an extension function - swiftGenerate N positive integers in a range, adding up to a total in python - pythonNativescript ListView shows only one element - androidHow to call a function only once when several signed variables are called together - javascript2016-10-05 security level at the level of patches Nexus-9 Xamarin - androidAll Articles