mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
421 B
22 lines
421 B
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace ZeroLevel.Services.Semantic
|
|
{
|
|
[Serializable]
|
|
[DataContract]
|
|
public class WordToken
|
|
{
|
|
[DataMember]
|
|
public readonly string Word;
|
|
[DataMember]
|
|
public readonly int Position;
|
|
|
|
public WordToken(string word, int position)
|
|
{
|
|
Word = word;
|
|
Position = position;
|
|
}
|
|
}
|
|
}
|