1 // MeCab -- Yet Another Part-of-Speech and Morphological Analyzer
\r
3 // Copyright(C) 2001-2006 Taku Kudo <taku@chasen.org>
\r
4 // Copyright(C) 2004-2006 Nippon Telegraph and Telephone Corporation
\r
6 using System.Collections.Generic;
\r
10 namespace NMeCab.Core
\r
14 #region Const/Field/Property
\r
19 public ushort LcAttr;
\r
24 public ushort RcAttr;
\r
29 public ushort PosId;
\r
39 public uint Feature;
\r
42 /// reserved for noun compound
\r
44 public uint Compound;
\r
50 public static Token Create(BinaryReader reader)
\r
54 LcAttr = reader.ReadUInt16(),
\r
55 RcAttr = reader.ReadUInt16(),
\r
56 PosId = reader.ReadUInt16(),
\r
57 WCost = reader.ReadInt16(),
\r
58 Feature = reader.ReadUInt32(),
\r
59 Compound = reader.ReadUInt32()
\r
63 public override string ToString()
\r
65 return string.Format("[LcAttr:{0}][RcAttr:{1}][PosId:{2}][WCost:{3}][Feature:{4}][Compound:{5}]",
\r