code: public void add(int line, List<AtomNode> atomSegment)
      {
          // 将原子部分存入m_segGraph
          int offset = 0;
          for (AtomNode atomNode : atomSegment)//Init the cost array
          {
              String sWord = atomNode.sWord;//init the word
              Nature nature = Nature.n;
              int id = -1;
              switch (atomNode.nPOS)
              {
                  case CharType.CT_CHINESE:
                      break;
                  case CharType.CT_NUM:
                  case CharType.CT_INDEX:
                  case CharType.CT_CNUM:
                      nature = Nature.m;
                      sWord = Predefine.TAG_NUMBER;
                      id = CoreDictionary.M_WORD_ID;
                      break;
                  case CharType.CT_DELIMITER:
                  case CharType.CT_OTHER:
                      nature = Nature.w;
                      break;
                  case CharType.CT_SINGLE://12021-2129-3121
                      nature = Nature.nx;
                      sWord = Predefine.TAG_CLUSTER;
                      id = CoreDictionary.X_WORD_ID;
                      break;
                  default:
                      break;
              }
              // 这些通用符的量级都在10万左右
              add(line + offset, new Vertex(sWord, atomNode.sWord, new CoreDictionary.Attribute(nature, 10000), id));
              offset += atomNode.sWord.length();
          }
      }
docs: 添加顶点，由原子分词顶点添加
  
  @param line
  @param atomSegment