Code Monkey home page Code Monkey logo

cebuano-pos-tagger's Introduction

Cebuano POS Tagger

A Rule-Based Cebuano POS Tagger Using Constraint-Based Grammar
POS Tagset
ADJ
ADV
CONJ
DET
NOUN
NUM
OTH
PART
SYM
VERB

Installation

  • pip install cebpostagger
  • Inside the project folder python setup.py install

Requirements

  • cebstemmer
  • cebdict

Functions

  • tag_sentence(text='')
    • Accepts a Cebuano sentence and returns a list of tuples in (WORD, TAG) format Output: [(WORD1, TAG), (WORD2, TAG)]

How To Use

from cebpostagger.tagger import tag_sentence

tagged = tag_sentence('Ang bata naligo sa sapa.')
print(tagged)

[('Ang', 'DET'), ('bata', 'NOUN'), ('naligo', 'VERB'), ('sa', 'PART'), ('sapa', 'NOUN'), ('.', 'SYM')]

Evaluation

image

image

image

References

  • Alfred, R., Mujat, A., & Obit, J. H. (2013). A Ruled-Based Part of Speech (RPOS) Tagger for Malay Text Articles. In A. Selamat, N. T. Nguyen, & H. Haron (Eds.), Intelligent Information and Database Systems (Vol. 7803, pp. 50–59). Berlin, Heidelberg: Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-642-36543-0_6

  • Eckhard, B. (2006). A Constraint Grammar-Based Parser for Spanish. In TIL 2006 - 4th Workshop on Information and Human Language Technology. Ribeirão Preto. Retrieved from https://visl.sdu.dk/pdf/TIL2006.pdf

  • Karlsson, F. (1990). Constraint grammar as a framework for parsing running text (Vol.
    3, pp. 168–173). Association for Computational Linguistics.
    https://doi.org/10.3115/991146.991176

  • Lindberg, N., & Einoborg, M. (1998). Induction of Constraint Grammar-rules using
    Progol. In International Conference on Inductive Logic Programming (Vol. 1446, pp. 116–124). Springer, Berlin, Heidelberg. Retrieved from https://link.springer.com/chapter/10.1007/BFb0027315

  • Petrov, S., Dipanjan, D., & McDonald, R. (2012). A Universal Part-of-Speech Tagset. In LREC. Retrieved from http://www.petrovi.de/data/lrec.pdf

  • Tanangkinsing, M. (2009). A Functional Reference Grammar of Cebuano (Dissertation). National Taiwan University, Taiwan.

cebuano-pos-tagger's People

Contributors

rjrequina avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.