Giter Club home page Giter Club logo

perpos's Introduction

Cross-platform Persian Parts-of-Speech tagger

This is another persian POS tagger can be used in any operating system.

Sample

from POS.POSTagger import POSTagger

pos_tagger = POSTagger("model/perpos.model")
tokens = "حلقه محاصره تروریست‌ها در جنوب سوریه تنگتر شد".split()
pos_tagger.parse(tokens)

Evaluation

                precision   recall      f1-score   support

      N         0.985       0.970       0.977       186585
      P         0.998       0.998       0.998       89450
      V         0.999       0.999       0.999       87762
    ADV         0.976       0.972       0.974       15983
   ADVe         0.988       0.978       0.983       1053
    RES         0.989       0.992       0.991       2784
   RESe         1.000       0.989       0.994       174
    DET         0.973       0.977       0.975       19786
   DETe         0.960       0.970       0.965       2156
     AJ         0.978       0.975       0.977       61526
    AJe         0.949       0.964       0.957       19919
     CL         0.932       0.918       0.925       1892
    INT         1.000       1.000       1.000       73
   CONJ         0.996       0.997       0.997       74796
  CONJe         1.000       1.000       1.000       82
  POSTP         1.000       1.000       1.000       13174
    PRO         0.973       0.974       0.973       23094
   PROe         0.878       0.579       0.698       273
    NUM         0.988       0.992       0.990       24864
   NUMe         0.932       0.918       0.925       2519
   PUNC         1.000       1.000       1.000       84088
     Ne         0.970       0.985       0.977       163760
     Pe         0.986       0.992       0.989       10004
  --------------------------------------------------------
avg/total       0.985      0.985        0.985       885797

perpos's People

Contributors

mhbashari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

qa1 saber13812002

perpos's Issues

help on codes

باسلام و خسته نباشید و تشکر بابت این ابزار، که بسادگی قابل استفاده است.
خواهشا معنی کدها را هم در فایل راهنما قرار دهید.
مثلا من نمیدانم فرق این دو چیست:
ADV, ADVe
N, Ne

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.