示例#1
0
 public Tweet()
 {
     hashtag = Hashtag.Instance;
     mention = Mention.Instance;
     txtAbbreviation = TxtAbbreviation.Instance;
     type = "tweet";
 }
示例#2
0
        public Tweet(string id, string messageTxt, string sender)
        {
            hashtag = Hashtag.Instance;
            mention = Mention.Instance;
            type = "tweet";
            this.messageTxt = messageTxt;
            this.sender = sender;
            this.id = id;
            txtAbbreviation = TxtAbbreviation.Instance;

            this.processAbbreviations();
            this.processHashtags();
            this.processMentions();
        }