Sunday, June 07th, 2009 | Author: admin

เมื่อวันก่อนมีเหตุที่ต้องกู้ข้อมูลที่ลบไปแล้วจาก iphone คืนมา หาไปหลายเว็บได้วิธีมาดังนี้ (เท่าที่จำได้นะ) จริงๆแล้ววิธีนี้เข้าใจว่าน่าจะใช้ได้กับ harddisk ทั่วไปด้วยเพราะเป็นวิธีที่ชาวบ้านเขาใช้กันมานานแล้ว

  1. เปิด terminal ใน iphone
  2. เข้าเป็น root โดย คำสั่ง su
  3. ทำการคัดลอกข้อมูลทั้งหมดใน disk ของ iphone ออกมา การคัดลอกนี้ไม่ใช่ copy ทุกไฟล์ แต่เราจะต้องคัดลอกทุกส่วนทุกมุมของ disk เลยเพื่อจะได้เอามาวิเคราะห์ทีหลังว่าส่วนไหนมุมไหนของ disk มีร่องรอยไฟล์เหลืออยู่บ้าง การทำแบบนี้มีข้อดีคือเรามีโอกาสกู้ไฟล์คืนมาได้แม้ format ไปแล้ว (น่าจะเฉพาะ format แบบ quick) แน่นอนว่าเราไม่สามารถคัดลอกไปใส่ disk เดิมได้ เพราะการคัดลอกนี้เราจะได้ไฟล์ 1 ไฟล์ซึ่งมีขนาดเท่า disk เดิมเลย เป็น raw image ของ disk นั่นเอง ฉะนั้นเราต้องคัดลอกไปที่อื่น โดยใช้คำสั่งนี้ (สมมติว่าอีกเครื่องชื่อ otherhost มี user ชื่อ hoho)
    dd if=/dev/disk0 | ssh hoho@otherhost ‘dd of=/some/path/disk.img’
    กด enter มันจะถาม password login ใส่ไปเสร็จแล้วมันจะเริ่มคัดลอกเนื้อหาทั้ง disk ผ่าน network ไปอีกเครื่องหนึ่งซึ่งใช้เวลานานมาก หากทำกับ iphone ให้เสียบปลั๊กให้พร้อม เตรียมเนื้อที่ของอีกเครื่องหนึ่งให้พร้อมด้วย เมื่อทำเสร็จจะได้ไฟล์ image ประมาณ 8 GB ของ iphone ที่ผมใช้ อยู่ที่ /some/path/disk.img
  4. ใช้โปรแกรมชื่อ photorec เพื่ออ่านไฟล์ image ที่ได้ โดยใช้คำสั่งนี้ (เป็น root ด้วยนะ)
    photorec /some/path/disk.img
    กด enter ปุ๊บจะเห็น UI เป็น menu ให้เลือกๆได้ ค่อนข้าง friendly เราสามรถเลือกประเภทของไฟล์ที่ต้องการจะให้มันหาได้ด้วย แต่ปกติมันจะค้นทุกไฟล์ที่มันรู้ให้อยู่แล้ว พอรันเสร็จจะได้ไฟล์เยอะแยะเต็มไปหมดในโหลเดอร์ที่เราเลือกไว้ ขั้นตอนนี้ทำงานค่อนข้างเร็วนั่งรอได้เลย ไม่กี่นาทีบน image 8 GB

มีเว็บ photorec แสดงวิธีเป็นขั้นตอนให้ด้วย http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step

Category: Uncategorized  | Tags: ,  | Leave a Comment
Monday, May 25th, 2009 | Author: admin

ปกติเป็นคนใช้ Firefox แล้วชอบเปิด tab เยอะมากๆ พอดีไปเจอ plugin ของ Firefox ตัวหนึ่งที่เป็นประโยชน์กับคนที่ชอบเปิด tab เยอะๆ (ไม่รู้เราหลังเขารึป่าว) ชื่อ FoxTab plugin ตัวนี้สามารถนำ tab มาเรียงๆกันบนหน้าจอเราได้ ไม่ใช่แค่เห็นชื่อ title แต่เห็นทั้งหน้าเลย ดูเพิ่มได้ที่ https://addons.mozilla.org/en-US/firefox/addon/8879

Category: Uncategorized  | Tags: ,  | Leave a Comment
Thursday, May 21st, 2009 | Author: admin

อยากได้เนื้อเพลง Umibe ของ L’Arc~en~Ciel ทีไรหามันนานทุกที เอามาไว้นี่เลยละกัน อยู่ที่นี่พร้อมคำแปล http://www.jpopasia.com/lyrics/8630/l-arc-en-ciel/umibe.html ฟังแล้วหายง่วงดี (รึป่าว?) ขอเอาเนื้อไว้นี่ด้วยเผื่อซักวันเว็บมันเข้าไม่ได้

柔らかなその頬へとふれて
優しい時間に浸されていたい
もう一度あの海辺に戻り
ただ何事も無かったかのように

君の声に気づきもせず季節は過ぎ去り
硬く重い幕は降りたよ さよならも無くて

予期せぬほどに影を落とした
色づく前に摘み取られた果実
不意に心を染め上げて行く
まるで時間が戻ったかのように

君は嬉しそうに はしゃぎ海辺に溶け合い
眩しすぎた陽射しの中を泳いで行った
幾ら歳月が過ぎても記憶は刻まれ
決して消えずに 僕を悩ます

許されるのなら 微笑みかけてよ 許されるのなら
あの夏まで歩いて波打つ砂浜へと 帰ろう

君は嬉しそうに はしゃぎ海辺に溶け合い
眩しすぎた陽射しの中を泳いで行った
この道を通るたびに君が突き刺さるよ
まるで胸から流れるように あふれだす

Category: Uncategorized  | Tags: ,  | Leave a Comment
Thursday, May 21st, 2009 | Author: admin

ไปลองทำ creativity test ที่ http://www.wherecreativitygoestoschool.com/vancouver/left_right/rb_test.htm และได้ผลลัพธ์ดังข้างล่างนี้

Thank you for taking the Creativity Test. The results show your brain dominance as being:

Left Brain Right Brain
73% 27%

You are more left-brained than right-brained. Your left brain controls the right side of your body. In addition to being known as left-brained, you are also known as a critical thinker who uses logic and sense to collect information. You are able to retain this information through the use of numbers, words, and symbols. You usually only see parts of the “whole” picture, but this is what guides you step-by-step in a logical manner to your conclusion. Concise words, numerical and written formulas and technological systems are often forms of expression for you. Some occupations usually held by a left-brained person include a lab scientist, banker, judge, lawyer, mathematician, librarian, and skating judge.


Your complete evaluation follows below:

Your left brain/right brain percentage was calculated by combining the individual scores of each half’s sub-categories. They are as follows:

Your Left Brain Percentages

67% Symbolic (Your most dominant characteristic)
54% Reality-based
43% Linear
42% Logical
31% Sequential
7% Verbal (Your least dominant characteristic)

Your Right Brain Percentages

25% Nonverbal (Your most dominant characteristic)
20% Intuitive
19% Concrete
16% Fantasy-oriented
12% Random
0% Holistic (Your least dominant characteristic)

What Do These Percentages Mean?

Low percentages are common in the Brain Type Test and are not indicative of intelligence. Instead, medium to high scores (30 - 50%) are desireable, as they show an ability to utilize a processing method without an abnormal reliance on it. Special focus should be paid to highly dominant (50% or above) or highly recessive (0 - 30%) methods, as they tend to limit your approach when learning, memorizing, or solving problems.

If you have Highly Dominant characteristics, your normal thinking patterns will naturally utilize these methods. Conscious effort is required to recognize the benefits of other techniques. Using multiple forms of information processing is the best way to fully understand complex issues and become a balanced thinker.

If you have Highly Recessive characteristics, your normal thinking patterns naturally ignore these methods. You may only consider these under-utilized techniques when “all else fails,” or possibly not at all. It is important to recognize the benefits of all of your brain’s capabilities in order to become a balanced thinker.


Left Brain Categories
Symbolic Processing

Symbolic processing is a method associated with the left hemisphere that is used for processing the information of pictures and symbols. The majority of functions associated with academics involve symbols such as letters, words, and mathematical notations. This process is what aids you to excel in tasks such as linguistics, mathematics, and memorizing vocabulary words and mathematical formulas.

Your Symbolic Analysis

Using this method, you can easily process the information of pictures and symbols. This is an advantage to you because the majority of functions associated with academics and society involve symbols such as letters, words, and mathematical notation.
Reality-based Processing

Reality-based processing is used by the left hemisphere as a method for processing information with a basis on reality. This processing tool focuses on rules and regulations. An example of this would be how a left-brained person would completely understand the repercussions of turning in a late assignment or failing a test. A left-brained person also usually easily adjusts to changes in their environment.

Your Reality-based Analysis

You process information with a firm basis on reality, but because of this, may lack creativity. You are able to easily create or adapt to rules and regulations. For example, you understand the repercussion of your actions. You easily adjust to change in the environment and probably do not become emotionally involved in many tasks.
Linear Processing

Linear processing is a method by the left hemisphere to process information. In this process, the left brain takes pieces of information, lines them up, and proceeds to arrange them into an order from which it may draw a conclusion. The information is processed from parts to a whole in a straight, forward, and logical progression.

Your Linear Analysis

When processing information using this method, you will occasionally feel the need to see the “whole picture” before you are able to achieve results. At other times, you are able to piece all of the parts together in a straight and logical progression to form a whole, which then enables you to understand what you have processing. The information, your mood, and your level of comfortable are all factors that determine your response to a linear processing problem.
Logical Processing

Logical processing is a method that is used by the left hemisphere to take information piece by piece and put it all together to form a logical answer. When information is received through reading or listening, the left hemisphere will look for different bits of information that will allow it to produce a logical conclusion. This aspect of the left hemisphere is what aids you in solving math problems and science experiments.

Your Logical Analysis

When processing information using this method, you may consider the information before you and produce a logical answer, or you may tend to go with your gut. You may discover that you can “guess” your way through S.A.T. questions about as accurately as you can deduce them. It is important that you nurture your ability to use logic whenever it is needed, but do not neglect other methods of processing information if you hit a logical roadblock.
Sequential Processing

Sequential processing is a method used by the left hemisphere for processing information. The information that is received is processed in order from first to last. Information is processed in a systematic, logical manner. Through sequential processing, you can interpret and produce symbolic information such as language, mathematics, abstraction, and reasoning. This process is used to store memory in a language format. Activities that require sequential processing include spelling, making a “to-do” list, and many aspects of organization.

Your Sequential Analysis

You show moderate ability to organize information sequentially. You are capable of processing information you receive in a systematic, logical order from first to last. However, at times you will process information you receive quite randomly, or may give it only a semblance of order. You are probably an average mathematician and speller, and may or may not enjoy tasks such as making “to-do” lists.
Verbal Processing

Verbal processing is a method used by the left hemisphere to process our thoughts and ideas with words. For example, through verbal processing, a left-brained person giving directions may say, “From this point continue east for two miles and turn north onto Bellevue Road. Continue north on Bellevue Road for seven miles and turn west on Main Street”. With verbal processing, exact, logical directions are given in a very sequential manner compared to a right-brained person who, in giving the same directions, would use more visual landmarks.

Your Verbal Analysis

You are not a verbal person. When you process your thoughts, you tend to use very few words, preferring instead to illustrate a problem or solution. You often find yourself in situations where it is hard for you to “find the right words.” Upon reading or hearing new information, you must first create a “mental video” before you can process and understand the information of your thoughts. For example, when giving directions, you probably use many gestures with your hands such as pointing and leaning, and also refer to visual structures such as “a McDonalds” or “the big tree” instead of street names or exact mileage.


Right Brain Categories
Nonverbal Processing

Nonverbal processing is a method used by the right hemisphere to process our thoughts with illustrations. Reliance on this method is why it is occasionally difficult for right-brained people to “find the right words” in certain situations. A right-brained person cannot just read or hear information and process it, but first must make a mental video to better understand the information they have received. For example, through nonverbal processing, a person giving directions may say, “Continue going straight until you see a big, red-brick courthouse. At the courthouse turn right, and go down that street for a couple of miles until you se a gray stone church which will be on your right. Straight across from the church is the road to the left you need to take.” With nonverbal processing, the directions that are given are extremely visual compared to the exact, sequential directions that would be given by a left-brained person.

Your Nonverbal Analysis

When processing your thoughts and ideas, you use tend to use both illustrations and words. When giving directions, you probably use both visual illustrations such as, “keep going until you see a McDonalds on your right; then turn left at the Home Depot”, and technical terms such as, “travel for two miles and turn east onto First Street.”
Intuitive Processing

Intuitive processing is a method that is used by the right hemisphere to process information based on if it “feels” right or not. For example, a right-brained person may choose an answer on a test because they had a “gut” feeling and often they will be correct. Another example of this is how a right-brained person will know the correct answer to a math problem but will not understand the procedure of how they arrived at the correct answer. A right-brained person will usually have to start with the answer and work their way backwards in order to be able to see and understand the parts and process that create the whole.

Your Intuitive Analysis

When you process information using this method, you do not rely on “gut” feelings but take the information and put it together piece by piece to form your conclusions. You often look at all of the different bits of information before piecing together your solution. You probably excel in such tasks as solving math problems and performing science experiments, because the intuitive method is not needed.
Concrete Processing

Concrete processing is a method associated with the right hemisphere that is used for processing things that can be seen or touched. It processes much of the information you receive from real objects. For example, a right-brained person is not just satisfied that a mathematical formula may work, but will want to know why it works. A strongly concrete person often finds it easier to solve a mathematical problem by “drawing it out” because it allows them to visualize it. The more a concrete person can visualize something the easier it is for them to understand it.

Your Concrete Analysis

When you process information you have received, the real object is not important to you. You do not have to use the real object to make sense of what you have processed. For example, if solving a math problem you do not have to “draw out” the problem in order to find or understand the answer, and you do not have to visualize something to understand it. However, this also means you often neglect the physical information provided by a concrete example. In other words, you may miss the forest for the trees, trying to deduce something complex when the answer is plain to see.
Fantasy-oriented Processing

Fantasy-oriented processing is used by the right hemisphere as a method for processing information with creativity. It focuses much less on rules and regulations than the processing method of a left-brained person. Due to the fantasy-oriented processing mechanism of a right-brained person, they do not adjust well to change. Instead of adapting to the change in the environment, a right-brained person attempts to change it back to the way they liked it. But fantasy-oriented processing also provides the advantage of creativity to right-brained individuals, and since emotion is integral of the right side of the brain, anything a fantasy-oriented person becomes involved in emotionally will aid their ability to learn.

Your Fantasy-oriented Analysis

You have a low ability to process information in a fantasy-oriented way. You have the tendency to focus on rules and regulations rather than on creative approaches. You generally do not have a problem adjusting to change in the environment. You may lack creativity, but you do not need to become emotionally involved in tasks in order to complete them.
Random Processing

Random processing is a method used by the right hemisphere for processing information. The information that is received is processed without priority. A right-brained person will usually jump from one task to another due to the random processing by their dominant right hemisphere. Random processing is, of course, the opposite of sequential processing therefore making it difficult for right-brained individuals to choose to learn in sequence. In order to overcome this, a right-brained person may want to attempt to learn sequence by using colors since the right hemisphere is sensitive to color. For example, you may want to associate the first step with green, the second step with blue, and the last step with red. Consistently using the same sequence will allow you to see that this strategy can be applied to many tasks involving sequence.

Your Random Analysis

You tend to not process data randomly, preferring instead to follow a systematic, logical order from first to last. You have difficulty making “leaps of logic” which prevents you from making unique discoveries, or adapt to change during your thinking process.
Holistic Processing

Holistic processing is a method used by the right hemisphere to process information. The information is processed from whole to parts. A right-brained person, through holistic processing, is able to see the big picture first, but not the details that accompany it. A strongly holistic person may often find that prior to listening to a lecture given by an instructor, they must first read the chapter so that they better understand what the lecture is about. This function is also what provides to you your visual spatial skills. It also aids in tasks such as dancing and gymnastics. Through holistic processing, memory is stored in auditory, visual, and spatial modalities.

Your Holistic Analysis

You have difficulty seeing the whole picture, especially at the beginning of a project. You tend to process information you receive from its parts to its whole in a straight, progressive manner. When given a task, you tend to not bother asking “why,” but instinctively are able to do it.


Disclaimer: The information in the Test (the Test) is published for the sole purpose of intellectual stimulation, education and general knowledge. In no way is the Test to be considered a complete or fully accurate psychological portrait. The Art Institutes and EDMC do not hold any responsibility or liability for your use of the Test or its results.

Category: Uncategorized  | Tags: ,  | Leave a Comment
Wednesday, May 20th, 2009 | Author: admin

เห็นพี่ Sea ทำเลยลองทำบ้าง เป็นการตอบคำถามของเว็บที่ http://www.quizbox.com/personality/test82.aspx แล้วมันจะบอกว่าเราเป็นคนแบบไหน ลองเล่นดูนะ ข้างล่างนี้เป็นคำตอบที่มันบอกมา

Your view on yourself:

You are down-to-earth and people like you because you are so straightforward. You are an efficient problem solver because you will listen to both sides of an argument before making a decision that usually appeals to both parties.

The type of girlfriend/boyfriend you are looking for:

You like serious, smart and determined people. You don’t judge a book by its cover, so good-looking people aren’t necessarily your style. This makes you an attractive person in many people’s eyes.

Your readiness to commit to a relationship:

You are ready to commit as soon as you meet the right person. And you believe you will pretty much know as soon as you might that person.

The seriousness of your love:

You are very serious about relationships and aren’t interested in wasting time with people you don’t really like. If you meet the right person, you will fall deeply and beautifully in love.

Your views on education

Education is very important in life. You want to study hard and learn as much as you can.

The right job for you:

You have plenty of dream jobs but have little chance of doing any of them if you don’t focus on something in particular. You need to choose something and go for it to be happy and achieve success.

How do you view success:

You are afraid of failure and scared to have a go at the career you would like to have in case you don’t succeed. Don’t give up when you haven’t yet even started! Be courageous.

What are you most afraid of:

You are afraid of having no one to rely on in times of trouble. You don’t ever want to be unable to take care of yourself. Independence is important to you.

Who is your true self:

You are mature, reasonable, honest and give good advice. People ask for your comments on all sorts of different issues. Sometimes you might find yourself in a dilemma when trapped with a problem, which your heart rather than your head needs to solve.

ที่มา: http://kobkrit.com/2009/03/27/get-to-know-yourself-better/

Category: Uncategorized  | Tags: ,  | Leave a Comment
Tuesday, May 19th, 2009 | Author: admin

พอดีต้องใช้ font Browallia New ที่มีใน Windows กับ Oopen Office Writer บน Ubuntu 8.04 หาไปหามาได้วิธีเพิ่ม fonts แบบง่ายที่สุดคือ สร้าง directory ชื่อ .fonts (มีจุดด้วย ทำให้ folder เป็น hidden) ใน home ของตัวเอง นั่นคือ /home/MYUSERNAME/.fonts จากนั้น เอา font ที่อยากได้ใส่ไปใน folder นี้ได้เลย โปรแกรมส่วนใหญ่บน Ubuntu จะ detect font ใหม่เองหลังจาก restart โปรแกรมนั้นแล้ว

ข้อมูลจาก https://wiki.ubuntu.com/Fonts

Category: Uncategorized  | Tags: ,  | One Comment
Sunday, April 19th, 2009 | Author: admin

ไปเจอเว็บที่รวบรวมการเขียน query SELECT ใน MySQL คิดว่าเป็นประโยชน์มาก เลยเอาลงไว้ก่อน

http://www.artfulsoftware.com/infotree/queries.php?&bw=1024

Category: Uncategorized  | Tags: ,  | Leave a Comment
Sunday, March 29th, 2009 | Author: admin

มีหลายคนมากที่ชอบบอกว่า Java มันช้า ช้ามาก ทั้งๆที่คนที่พูดแบบนี้มักจะใช้ Python และ PHP  ในความเป็นจริง Java มันอาจจะช้าอยู่บ้างแต่มันไม่ได้มากขนาดว่ารับไม่ได้หรือไม่ควรใช้มันเลย Java ก็มีดีด้านอื่นเหมือนกัน เช่น library เยอะดี, เขียนแล้วรันที่ไหนก็ได้ (ส่วนใหญ่อะนะ) ตัวผมเองชักจะสงสัยเรื่อง performance เหมือนกันเลยไปหาเว็บดู
เว็บที่หาคือ Wiki ที่นี่ ตรงหัวข้อ “Comparison to other languages”

เขาบอกว่าเวลา Java ใช้ JIT (Just-in-time compilation) performance มันมักจะเป็นดังนี้

  • ช้ากว่า C, C++ แต่ไม่เป็นนัยสำคัญอะไรในงานทั่วๆไป
  • performance ใกล้กับ C# ซึ่งใช้ JIT เหมือนกัน
  • performance ดีกว่ามาก เมื่อเทียบกับ Perl, Ruby, PHP, Python

หวังว่าคงช่วยให้คนมอง performance ของ Java ในทางบวกมากขึ้น :)

Category: Uncategorized  | Tags:  | One Comment
Thursday, March 26th, 2009 | Author: admin

ช่วงนี้ต้องเขียนโปรแกรมบางอย่างที่ต้องสน performance แบบสุดๆ ต้องใช้พวก hashtable เยอะ การ hash ใน Java ก็จะต้องยุ่งกับ method 2 อัน คือ equals() และ hashCode()

equals(Object obj) เป็น method หนึ่งใน class Object ในภาษา Java ใช้เพื่อเปรียบเทียบว่า obj นี่ส่งเข้าเป็นเป็น argument นี้เท่ากับ object ที่ equals() ถูกเรียกรึป่าว ปกติจะจำเป็นต้องใช้เวลาจะเปรียบเทียบ String 2 อันว่าเหมือนกันมั้ย ใช้ str1 == str2 ไม่ได้ เพราะทำแบบนี้แค่เปรียบเทียบ reference ต้องใช้ str1.equals(str2) ถึงจะ work

ส่วน hashCode() เป็น method สำหรับหาค่า hash ของ object ใดๆ เพื่อเอาไปใช้กับ hashing algorithm ต่างๆ โดย Java Doc API กำหนดไว้ว่า ถ้า obj1.equals(obj2) แล้ว obj1.hashCode() == obj2.hashCode(). แปลว่าถ้า obj1 เท่ากับ obj2 แล้ว ค่า hash ของทั้งสอง object ต้องเท่ากัน แต่ถ้าค่า hash ของ 2 object เท่ากัน ไม่จำเป็นว่า obj1.equals(obj2) ต้องเป็นจริง

รายละเอียดยังมีอีกเยอะ เช่น

  • hashCode() ที่ดีควรจะไม่ทำให้เกิด collision บ่อย (ซึ่งจะทำให้ performance ของ hash table แย่ลง)
  • equals() ต้องเป็น reflexive, symmetric และ transitive (ถ้ามอง equals() เป็น binary relation แล้ว equals() ต้องเป็น equivalence relation)
  • obj.hashCode() ต้องคืนค่าเดิมตลอดการ run ครั้งหนึ่ง ถ้า state ของ obj ข้างในไม่มีอะไรเปลี่ยนแปลง
  • และอื่นๆอีก

มีเว็บดีๆอันหนึ่งที่ไปเจอมาพูดเรื่องนี้ละเอียดมาก อยู่ที่นี่ http://www.geocities.com/technofundo/tech/java/equalhash.html

Category: Uncategorized  | Tags:  | Leave a Comment
Sunday, March 22nd, 2009 | Author: admin

ช่วงนี้ในโปรเจคระบบคำถามคำตอบที่ทำอยู่ต้องมีการให้น้ำหนักความหายากของคำ ยิ่งหายากยิ่งให้น้ำหนักมาก จึงจำเป็นต้องมีการหาความถี่ของคำเสียก่อน แล้วนำมาหาส่วนกลับของความน่าจะเป็น (1/ความน่าจะเป็นของคำที่สนใจ) ก็จะได้ค่าประมาณความหายากของคำ

การหาความถี่ของคำที่ได้ทำไปนั้นมีขั้นตอนดังนี้

  1. เตรียมรายการหัวเรื่องของวิกิพีเดียภาษาไทยทั้งหมดก่อน (ประมาณ 40,000 กว่าคำ ณ เวลาที่เขียนบทความนี้)
  2. นำคำที่เป็นหัวเรื่องแต่ละคำส่งไปเป็นคำค้นของ Yahoo search engine ผ่าน Yahoo Search API
  3. เก็บเนื้อหาของหน้าผลลัพธ์ (ไม่ได้เก็บทั้งเว็บ เก็บเฉพาะหน้าที่ขึ้นมาเป็นผลลัพธ์) 300 อันดับแรก (อาจจะเก็บน้อยกว่า 300 ถ้าผลลัพธ์มีไม่ถึง) หลังจากที่ขจัดแท็ก HTML ทิ้งหมดแล้ว
  4. หาความถี่ของคำโดยการนับจำนวนครั้งการเกิดในคลังเอกสารที่เก็บมาได้ โดยจะนับเฉพาะคำที่มีในดิก Lexitron และคำที่เป็นหัวเรื่องของวิกิพีเดียภาษาไทย

ข้อมูลทั้งหมดน่าจะมีประมาณ 2 ล้านหน้า แน่นอนแต่ละหน้ามีความยาวไม่เท่ากัน การใช้ภาษาก็อาจจะไม่เหมือนกัน และในขั้นตอนขจัดแท็ก ไม่ได้มีการตัดข้อความที่เป็นโฆษณาหรือเมนูต่างๆออก (เพราะไม่รู้ว่าตรงไหนเป็นโฆษณา)

ใครอยากได้ข้อมูลความถี่ของคำเหล่านี้สามารถโหลดไปใช้ได้เลย ที่นี่

Category: Uncategorized  | Tags: ,  | One Comment