Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Term Frequency - Inverse Document Frequency (TF-IDF) #55

@cesarsouza

Description

@cesarsouza

It would be a nice addition for those using Accord.NET in text applications, specially now that more linear optimization algorithms are available.

Kory Becker has created a nice implementation (under a compatible license) which can be used as a basis for the implementation. The current code can be found here:

https://github.com/primaryobjects/TFIDF/blob/master/TFIDFExample/TFIDF.cs

However, it seems the implementation needs a stemmer. In this case, the stemmer could be incorporated in the project by specifying a new ITextStemmer interface. Different stemmers could than be created using the Snowball project:

https://github.com/cesarsouza/snowball

It would be cool to add a new text generator in Snowball for C#. It shouldn't be that difficult given that there are working Java generators available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions