当前位置:主页 > 资料 >

I trained a neural network to learn Arabic morphology
栏目分类:资料   发布日期:2018-08-03   浏览次数:

导读:本文为去找网小编(www.7zhao.net)为您推荐的I trained a neural network to learn Arabic morphology,希望对您有所帮助,谢谢! Arabic Rootfinder A fun little project to play with Jupyter Notebooks, Scikit-learn, and neur

本文为去找网小编(www.7zhao.net)为您推荐的I trained a neural network to learn Arabic morphology,希望对您有所帮助,谢谢! 去找(www.7zhao.net欢迎您



Arabic Rootfinder

A fun little project to play with Jupyter Notebooks, Scikit-learn, and neural nets with Keras. 本文来自去找www.7zhao.net

Goal

To train a neural network to learn Arabic morphology.

copyright www.7zhao.net

Includes:

  • Scripts for data mining
  • Starter data
  • 2 iterations of the model: roots.ipynb and roots-with-noroots.ipynb.

roots-with-noroots.ipynb is named weird, but it just means we are more intelligent about tracking words that are "mabniyy", or undeclined.

内容来自www.7zhao.net

It's not very accurate (about 50%) so it's pretty addictive to work on. Surely, someone, somewhere, has done this better, but we aren't solving world hunger here, just having some nerdy fun.

copyright www.7zhao.net

Pull requests welcome :) www.7zhao.net

Sample output

The output is formatted as "accuracy: [correctAnswer, input]" with output on the end if incorrect.

欢迎访问www.7zhao.net

Correct: ['تبديلي', 'بدل']
Missed:  ['الألياف', 'ليف'] Predicted: للف
Correct: ['تنْويت', 'نوت']
...
Correct: ['متوسّط', 'وسط']
Correct: ['تنفيذي', 'نفذ']
Missed:  ['المتبقية', 'بقا'] Predicted: ربب
Missed:  ['متقدم', 'قدم'] Predicted: ودم
Missed:  ['الأساسي', ''] Predicted: سسس
Correct: ['تغيير', 'غير']
Correct: ['سطر', 'سطر']
Correct: ['سليم', 'سلم']
Correct: ['جملة', 'جمل']
Missed:  ['الذهب', 'ذهب'] Predicted: هبب
Correct: ['طرفية', 'طرف']
Correct: ['متوسطة', 'وسط']
Missed:  ['سوق', 'سوق'] Predicted: وقق
Score: 58.8% 内容来自www.7zhao.net 

How to use

Just install Jupyter Notebook and run jupyter notebook in this folder, and select one of the ipynb files.

欢迎访问www.7zhao.net

本文来自去找www.7zhao.net


本文原文地址:https://github.com/tb0yd/rootfinder

以上为I trained a neural network to learn Arabic morphology文章的全部内容,若您也有好的文章,欢迎与我们分享! 本文来自去找www.7zhao.net

Copyright ©2008-2017去找网版权所有   皖ICP备12002049号-2 皖公网安备 34088102000435号   关于我们|联系我们| 免责声明|友情链接|网站地图|手机版