Git Product home page Git Product logo

curricula_db's Introduction

NEMVSM - Novo Ensino Médio Vector Space Model

Aqui você encontra um modelo vetorial pré-treinado nos dados de 19 currículos de Ensino Médio no Brasil, um Corpus de 15.000 páginas. Também disponibilizei a base de dados com currículos de Ensino Médio de 19 estados brasileiros em PDF e .txt. O seu principal uso é para sumarização e acesso ao conteúdo dos currículos, mas pode ser usado em outras tarefas.

Este modelo utiliza a TOP2VEC por Angelov. Artigo original: https://github.com/ddangelov/Top2Vec

$ pip install top2vec

Implementação 

Load the model.

model = Top2Vec.load("curricula_pretrained")

Pass a anchor word dictionary: What are you interested in finding in the corpus?

anchor_dic = {} 

anchor_dic['Literatura'] = {'poesia', 'jornal', 'camoes'}

anchor_dic['Matemática'] = {'multiplicacao', 'soma', 'algebra'}

Run these two functions: You can change the values: This will get the 20 most similar topics to those words, and then take 20 most similar paragraphs in the document. The output is a CSV file with the topics, paragraphs and cosine similarity and where it came from

t_words, w_scores, t_scores, t_nums = utils.get_topic_data(model, anchor_dic, 20, negative_keywords=None)

utils.extract_topic_documents(model, anchor_dic, t_nums, 20, OUTPUT_DIR)

Ao utilizar o modelo, favor realizar a citação:

APA (7th edition) Style:

Mello Castro, F. (2023). Brazilian High School Curricula Database. Zenodo. https://doi.org/10.5281/zenodo.7932965

ABNT Style:

MELLO CASTRO, F. Brazilian High School Curricula Database. 2023. Disponível em: https://doi.org/10.5281/zenodo.7932965. Acesso em: [Insert date of access here in format: day month. year]

curricula_db's People

Contributors

franciscomelloc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.