JuliaAI / JuliaAI/MLJTestInterface.jl

Add data set for text analysis

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
0
Forks
2
Avg merge
12m
Merged PRs (30d)
4

Description

Taken from the MLJText.jl requirements for transformers:

Generate a vector whose elements are either tokenized documents or bags of words/ngrams. Specifically, each element would be one of the following:

  • A vector of abstract strings (tokens), e.g., ["I", "like", "Sam",
    ".", "Sam", "is", "nice", "."] (scitype AbstractVector{Textual})

  • A dictionary of counts, indexed on abstract strings, e.g.,
    Dict("I"=>1, "Sam"=>2, "Sam is"=>1) (scitype Multiset{Textual}})

  • A dictionary of counts, indexed on plain ngrams, e.g.,
    Dict(("I",)=>1, ("Sam",)=>2, ("I", "Sam")=>1) (scitype
    Multiset{<:NTuple{N,Textual} where N}); here a plain ngram is a
    tuple of abstract strings.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named; start by reading the repository structure and the referenced MLJText.jl transformer requirements. Done means adding a data set representing tokenized documents, word or ngram count dictionaries, and plain ngram count dictionaries as described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data, machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.