Upgrade to Pro — share decks privately, control downloads, hide ads and more …

図で理解する自然言語処理/nlp_tutorial

nishina
January 20, 2018

 図で理解する自然言語処理/nlp_tutorial

nishina

January 20, 2018
Tweet

More Decks by nishina

Other Decks in Programming

Transcript

  1. εϖʔεଠ࿠ 2017/12/16 ʙ αϒλΠτϧ ʙ εϖʔεϚʔέοτ ϓϨθϯςʔγϣϯςϯϓϨʔτ ਔՊ ढ़੖(@nishina555) ΩϟϦΞ:

    
 ָఱ (2014 - 2017)
 εϖʔεϚʔέοτ (2017.6 - )
 ٕज़ελοΫ:
 Rails, React ࣗݾ঺հ 
  2. εϖʔεଠ࿠ 2017/12/16 ʙ αϒλΠτϧ ʙ εϖʔεϚʔέοτ ϓϨθϯςʔγϣϯςϯϓϨʔτ ਔՊ ढ़੖(@nishina555) ΩϟϦΞ:

    
 ָఱ (2014 - 2017)
 εϖʔεϚʔέοτ (2017.6 - )
 ٕज़ελοΫ:
 Rails, React ࣗݾ঺հ  εϖʔεΛି͍ͨ͠ਓͱआΓ͍ͨਓΛܨ͛ΔϓϥοτϑΥʔϜΛఏڙ εϖʔεϚʔέοτͷαʔϏε঺հ  ฐٕࣾज़ελοΫʹ͍ͭͯ͸ΤϯδχΞϒϩάΛࢀর͍ͩ͘͞
 http://blog.spacemarket.com/code/tech_stack_2017/
  3. ܗଶૉղੳثΛར༻͠ɺจΛจઅ͝ͱʹ෼͚Δ ܗଶૉղੳ ୯ޠղੳͷྫ य़ͳͷͰࡩΛݟʹߦͬͨ य़ ໊ࢺ,Ұൠ,*,*,*,*,य़,ϋϧ,ϋϧ ͳ ॿಈࢺ,*,*,*,ಛघɾμ,ମݴ઀ଓ,ͩ,φ,φ ͷͰ ॿࢺ,઀ଓॿࢺ,*,*,*,*,ͷͰ,ϊσ,ϊσ

    ࡩ ໊ࢺ,Ұൠ,*,*,*,*,ࡩ,αΫϥ,αΫϥ Λ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,Λ,Ϯ,Ϯ ݟ ಈࢺ,ཱࣗ,*,*,Ұஈ,࿈༻ܗ,ݟΔ,ϛ,ϛ ʹ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,ʹ,χ,χ ߦͬ ಈࢺ,ཱࣗ,*,*,ޒஈɾΧߦଅԻศ,࿈༻λ઀ଓ,ߦ͘,Πο,Πο ͨ ॿಈࢺ,*,*,*,ಛघɾλ,جຊܗ,ͨ,λ,λ ղੳث: MeCab, ChaSen, JUMAN++, KyteaͳͲ 
  4. य़ʹࡩΛݟͨ ࡩͷ༿͕៉ྷͩ ࡩ͕࡙͘ͷΛݟͨ จ຺ϕΫτϧʹΑΔྨࣅ౓ଌఆ य़ കӍ ༿ ݟΔ ࡙͘ ɾɾɾ

    ࡩ      ɾɾɾ ࢵཅՖ͕࡙͍͍ͯͨ ࢵཅՖ͕࡙͖΋͏കӍͩ ࢵཅՖͷ༿͕ݟ͑Δ य़ കӍ ༿ ݟΔ ࡙͘ ɾɾɾ ࢵཅՖ      ɾɾɾ 
  5. ୯ޠͷम০ɺඃम০Λղੳ͢Δ͜ͱɻ(ߏจղੳ) ղੳث: CaboCha, KNP, J.DepPͳͲ ܎Γड͚ղੳ จղੳͷྫ(1/3) य़ͳͷͰࡩΛݟʹߦͬͨ * 0

    3D 0/2 -1.916488 य़ ໊ࢺ,Ұൠ,*,*,*,*,य़,ϋϧ,ϋϧ ͳ ॿಈࢺ,*,*,*,ಛघɾμ,ମݴ઀ଓ,ͩ,φ,φ ͷͰ ॿࢺ,઀ଓॿࢺ,*,*,*,*,ͷͰ,ϊσ,ϊσ * 1 2D 0/1 0.936256 ࡩ ໊ࢺ,Ұൠ,*,*,*,*,ࡩ,αΫϥ,αΫϥ Λ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,Λ,Ϯ,Ϯ * 2 3D 0/1 -1.916488 ݟ ಈࢺ,ཱࣗ,*,*,Ұஈ,࿈༻ܗ,ݟΔ,ϛ,ϛ ʹ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,ʹ,χ,χ * 3 -1D 0/1 0.000000 ߦͬ ಈࢺ,ཱࣗ,*,*,ޒஈɾΧߦଅԻศ,࿈༻λ઀ଓ,ߦ͘,Πο,Πο ͨ ॿಈࢺ,*,*,*,ಛघɾλ,جຊܗ,ͨ,λ,λ
  6. จղੳͷྫ(2/3) य़ͳͷͰࡩΛݟʹߦͬͨ * 0 3D 0/2 -1.916488 य़ ໊ࢺ,Ұൠ,*,*,*,*,य़,ϋϧ,ϋϧ ͳ

    ॿಈࢺ,*,*,*,ಛघɾμ,ମݴ઀ଓ,ͩ,φ,φ ͷͰ ॿࢺ,઀ଓॿࢺ,*,*,*,*,ͷͰ,ϊσ,ϊσ * 1 2D 0/1 0.936256 ࡩ ໊ࢺ,Ұൠ,*,*,*,*,ࡩ,αΫϥ,αΫϥ Λ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,Λ,Ϯ,Ϯ * 2 3D 0/1 -1.916488 ݟ ಈࢺ,ཱࣗ,*,*,Ұஈ,࿈༻ܗ,ݟΔ,ϛ,ϛ ʹ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,ʹ,χ,χ * 3 -1D 0/1 0.000000 ߦͬ ಈࢺ,ཱࣗ,*,*,ޒஈɾΧߦଅԻศ,࿈༻λ઀ଓ,ߦ͘,Πο,Πο ͨ ॿಈࢺ,*,*,*,ಛघɾλ,جຊܗ,ͨ,λ,λ य़ͳͷͰɹࡩΛɹݟʹɹߦͬͨ 
  7. จղੳͷྫ(3/3) ΤϯδϯΛ͔͚ͨΒΤΞίϯ͕ނোͨ͠ * 0 1D 0/1 1.744298 Τϯδϯ ໊ࢺ,Ұൠ,*,*,*,*,Τϯδϯ,Τϯδϯ,Τϯδϯ Λ

    ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,Λ,Ϯ,Ϯ * 1 3D 0/1 -1.279287 ͔͚ ಈࢺ,ཱࣗ,*,*,Ұஈ,࿈༻ܗ,͔͚Δ,Χέ,Χέ ͨΒ ॿಈࢺ,*,*,*,ಛघɾλ,Ծఆܗ,ͨ,λϥ,λϥ * 2 3D 0/1 -1.279287 ΤΞίϯ ໊ࢺ,Ұൠ,*,*,*,*,ΤΞίϯ,ΤΞίϯ,ΤΞίϯ ͕ ॿࢺ,֨ॿࢺ,Ұൠ,*,*,*,͕,Ψ,Ψ * 3 -1D 1/2 0.000000 ނো ໊ࢺ,αม઀ଓ,*,*,*,*,ނো,ίγϣ΢,ίγϣʔ ͠ ಈࢺ,ཱࣗ,*,*,αมɾεϧ,࿈༻ܗ,͢Δ,γ,γ ͨ ॿಈࢺ,*,*,*,ಛघɾλ,جຊܗ,ͨ,λ,λ ΤϯδϯΛɹ͔͚ͨΒɹΤΞίϯ͕ɹނোͨ͠ ҼՌؔ܎ͳͲͷ஌ࣝ֫ಘΛߦ͏͜ͱ͕Ͱ͖Δ