import ujson as json
from sift.build import DatasetBuilder
from sift.models import links, text, embeddings

class BuildDocModel(DatasetBuilder):
    """ Build a model over a corpus of text documents """
    @classmethod
    def providers(cls):
        return [
            links.EntityCounts,
            links.EntityNameCounts,
            links.EntityInlinks,
            text.TermIndicies,
            text.TermIdfs,
            text.TermFrequencies,
            text.TermDocumentFrequencies,
            text.EntityMentions,
            text.EntityMentionTermFrequency,
            text.TermEntityIndex,
            embeddings.EntitySkipGramEmbeddings,
        ]

import ujson as json
from sift.build import DatasetBuilder
from sift.models import links, text, embeddings

class BuildDocModel(DatasetBuilder):
    """ Build a model over a corpus of text documents """
    @classmethod
    def providers(cls):
        return [
            links.EntityCounts,
            links.EntityNameCounts,
            links.EntityInlinks,
            links.EntityVocab,
            links.NamePartCounts,
            text.TermVocab,
            text.TermIdfs,
            text.TermFrequencies,
            text.TermDocumentFrequencies,
            text.EntityMentions,
            text.MappedEntityMentions,
            text.EntityMentionTermFrequency,
            text.TermEntityIndex,
            embeddings.EntitySkipGramEmbeddings,
        ]

Update cli for recently added models
Update cli for recently added models

  import ujson as json
  from sift.build import DatasetBuilder
  from sift.models import links, text, embeddings
  
  class BuildDocModel(DatasetBuilder):
      """ Build a model over a corpus of text documents """
      @classmethod
      def providers(cls):
          return [
              links.EntityCounts,
              links.EntityNameCounts,
              links.EntityInlinks,
+             links.EntityVocab,
+             links.NamePartCounts,
-             text.TermIndicies,
+             text.TermVocab,
              text.TermIdfs,
              text.TermFrequencies,
              text.TermDocumentFrequencies,
              text.EntityMentions,
+             text.MappedEntityMentions,
              text.EntityMentionTermFrequency,
              text.TermEntityIndex,
              embeddings.EntitySkipGramEmbeddings,
          ]
  
Update cli for recently added models
## Code Before:
import ujson as json
from sift.build import DatasetBuilder
from sift.models import links, text, embeddings

class BuildDocModel(DatasetBuilder):
    """ Build a model over a corpus of text documents """
    @classmethod
    def providers(cls):
        return [
            links.EntityCounts,
            links.EntityNameCounts,
            links.EntityInlinks,
            text.TermIndicies,
            text.TermIdfs,
            text.TermFrequencies,
            text.TermDocumentFrequencies,
            text.EntityMentions,
            text.EntityMentionTermFrequency,
            text.TermEntityIndex,
            embeddings.EntitySkipGramEmbeddings,
        ]

## Instruction:
Update cli for recently added models
## Code After:
import ujson as json
from sift.build import DatasetBuilder
from sift.models import links, text, embeddings

class BuildDocModel(DatasetBuilder):
    """ Build a model over a corpus of text documents """
    @classmethod
    def providers(cls):
        return [
            links.EntityCounts,
            links.EntityNameCounts,
            links.EntityInlinks,
            links.EntityVocab,
            links.NamePartCounts,
            text.TermVocab,
            text.TermIdfs,
            text.TermFrequencies,
            text.TermDocumentFrequencies,
            text.EntityMentions,
            text.MappedEntityMentions,
            text.EntityMentionTermFrequency,
            text.TermEntityIndex,
            embeddings.EntitySkipGramEmbeddings,
        ]
